User:Inductiveload/Gadget-sandbox.js

console.warn("Loaded User:Inductiveload/Gadget-sandbox.js") $( function ( $ ) {   var nsOptionMenu = [ 0, 114 ];    if ( $.inArray( mw.config.get( 'wgNamespaceNumber' ), nsOptionMenu ) !== -1 && $( 'table.pr_quality' ).length ) {        console.log("Loading local pagenumbers-core.js");

mw.loader.using('mediawiki.cookie', function {           mw.loader.load('https://localhost:5555/wsjs/pagenumbers-core.js' );            mw.loader.load('https://localhost:5555/wsjs/pagenumbers-core.css', 'text/css');        }); } } );