User:Kjg53/common.js View history

(Tests scripts)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
importScript('MediaWiki:Tutorial-QuickRC.js');
importScript('//www.mediawiki.org/w/index.php?title=MediaWiki:Tutorial-QuickRC.js&action=raw&ctype=text/javascript');
 
alert( 'According to the preferences, your gender is ' + mw.user.options.get( 'gender' ) );

Latest revision as of 06:23, 24 January 2015

importScript('//www.mediawiki.org/w/index.php?title=MediaWiki:Tutorial-QuickRC.js&action=raw&ctype=text/javascript');

alert( 'According to the preferences, your gender is ' + mw.user.options.get( 'gender' ) );