User:Chlod/common.js: Difference between revisions

Content deleted Content added
No edit summary
switch cond
Line 27:
 
// mw.loader.load( '/w/index.php?title=User:Chlod/Scripts/Deputy.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Chlod/Scripts/Deputy.js]]
if ( window.___location.search.indexOf( '?deputy-isolation=1' ) =!== -1 ) {
mw.hook( 'infringementAssistant.preload' ).add( function() {
window.InfringementAssistant.wikiConfig.ia.rootPage.set(new mw.Title("User:Chlod/Scripts/Deputy/tests/Problems"));