MediaWiki:Common.js: Difference between revisions
Google Analytics: count only reading views, and only after a real user action (filters most bots) |
Load the "Read in Hebrew" button |
||
| Line 174: | Line 174: | ||
/* Related Articles box at the bottom of articles: see [[MediaWiki:RelatedArticles.js]] */ | /* Related Articles box at the bottom of articles: see [[MediaWiki:RelatedArticles.js]] */ | ||
mw.loader.load( mw.config.get( 'wgScript' ) + '?title=MediaWiki:RelatedArticles.js&action=raw&ctype=text/javascript' ); | mw.loader.load( mw.config.get( 'wgScript' ) + '?title=MediaWiki:RelatedArticles.js&action=raw&ctype=text/javascript' ); | ||
/* "Read in Hebrew" button at the top of articles: see [[MediaWiki:ReadInHebrew.js]] */ | |||
mw.loader.load( mw.config.get( 'wgScript' ) + '?title=MediaWiki:ReadInHebrew.js&action=raw&ctype=text/javascript' ); | |||