User:Ahecht/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Ahecht (talk | contribs)
Don't load my global.js to avoid loading non-working user-identifier script
Ahecht (talk | contribs)
Might as well wrap these in a using block, if for no other reason than to indicate that they came from my global.js
Line 1: Line 1:
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Ahecht/common.js&action=raw&ctype=text/javascript' );
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Ahecht/common.js&action=raw&ctype=text/javascript' );
mw.loader.using( ['mediawiki.util'] ).then( function () { // from https://meta.wikimedia.org/wiki/User:Ahecht/global.js
mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/UTCLiveClock.js&action=raw&ctype=text/javascript" ); // Linkback: [[:en:User:Ahecht/Scripts/UTCLiveClock.js]]
mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/CVD.js&action=raw&ctype=text/javascript" ); //[[User:Ahecht/Scripts/CVD.js]]
mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/UTCLiveClock.js&action=raw&ctype=text/javascript" ); // Linkback: [[:en:User:Ahecht/Scripts/UTCLiveClock.js]]
mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:SiBr4/TemplateSearch.js&action=raw&ctype=text/javascript" ); // Linkback: [[:en:User:SiBr4/TemplateSearch.js]]
mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/CVD.js&action=raw&ctype=text/javascript" ); //[[User:Ahecht/Scripts/CVD.js]]
mw.loader.load( '//testwiki.wiki/index.php?title=User:Ahecht/useridentifier.js&action=raw&ctype=text/javascript' );
mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:SiBr4/TemplateSearch.js&action=raw&ctype=text/javascript" ); // Linkback: [[:en:User:SiBr4/TemplateSearch.js]]
mw.loader.load( '//testwiki.wiki/index.php?title=User:Ahecht/useridentifier.js&action=raw&ctype=text/javascript' );
} );

Revision as of 14:13, 12 May 2022

mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Ahecht/common.js&action=raw&ctype=text/javascript' );
mw.loader.using( ['mediawiki.util'] ).then( function () { // from https://meta.wikimedia.org/wiki/User:Ahecht/global.js
	mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/UTCLiveClock.js&action=raw&ctype=text/javascript" ); // Linkback: [[:en:User:Ahecht/Scripts/UTCLiveClock.js]]
	mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/CVD.js&action=raw&ctype=text/javascript" ); //[[User:Ahecht/Scripts/CVD.js]]
	mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:SiBr4/TemplateSearch.js&action=raw&ctype=text/javascript" ); // Linkback: [[:en:User:SiBr4/TemplateSearch.js]]
	mw.loader.load( '//testwiki.wiki/index.php?title=User:Ahecht/useridentifier.js&action=raw&ctype=text/javascript' );
} );