Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
mw.notify( 'Welcome!' ); | mw.notify( 'Welcome!' ); | ||
− | mw.notify( $('<a href="/wiki/Help | + | mw.notify( $('<a href="/wiki/Help:Contributing">Know basic Javascript or PHP?</a>' ) ); |
mw.notify( $('<a href="/wiki/Help/data_input">Got ecosystem data?</a>' ) ); | mw.notify( $('<a href="/wiki/Help/data_input">Got ecosystem data?</a>' ) ); | ||
mw.loader.load( '//wiki.personaldata.io/w/index.php?title=MediaWiki:Gadget-EasyQuery.js&action=raw&ctype=text/javascript' ); // [[EasyQuery]] | mw.loader.load( '//wiki.personaldata.io/w/index.php?title=MediaWiki:Gadget-EasyQuery.js&action=raw&ctype=text/javascript' ); // [[EasyQuery]] |
Revision as of 12:57, 22 March 2019
/* Any JavaScript here will be loaded for all users on every page load. */
mw.notify( 'Welcome!' );
mw.notify( $('<a href="/wiki/Help:Contributing">Know basic Javascript or PHP?</a>' ) );
mw.notify( $('<a href="/wiki/Help/data_input">Got ecosystem data?</a>' ) );
mw.loader.load( '//wiki.personaldata.io/w/index.php?title=MediaWiki:Gadget-EasyQuery.js&action=raw&ctype=text/javascript' ); // [[EasyQuery]]