MediaWiki:Common.js: Difference between revisions

Load the "Read in Hebrew" button
Load the short description under the title
Line 176: Line 176:
/* "Read in Hebrew" button at the top of articles: see [[MediaWiki:ReadInHebrew.js]] */
/* "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' );
mw.loader.load( mw.config.get( 'wgScript' ) + '?title=MediaWiki:ReadInHebrew.js&action=raw&ctype=text/javascript' );
/* Short description under the article title: see [[MediaWiki:ShortDescription.js]] */
mw.loader.load( mw.config.get( 'wgScript' ) + '?title=MediaWiki:ShortDescription.js&action=raw&ctype=text/javascript' );