User:ForzaGreen/hello-world.js

/*mw.hook( 'wikipage.categories' ).add( function ( $content ) {	if ( mw.config.get( 'wgCategories' ).length === 0 ) {		alert( 'Please add categories to this page' );	} } );*/

/*$('#bodyContent').prepend(' Hello world! (test user script) ');

// Make sure the utilities module is loaded (will only load if not already) mw.loader.using( 'mediawiki.util', function {    // Wait for the page to be parsed    $( document ).ready( function  { //see below "Portlets" subsection var link = mw.util.addPortletLink( 'p-cactions', '#', 'Wikify', 'ca-wikify', 'Mark for wikification'); $( link ).click( function ( event ) {           event.preventDefault;            //doQwikify;        } ); } ); } );