Difference between revisions of "MediaWiki:Common.js"

From Wikibase Personal data
Jump to navigation Jump to search
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
 +
/* 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]]

Revision as of 10:36, 28 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]]