User:Ahecht/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
(Might as well wrap these in a using block, if for no other reason than to indicate that they came from my global.js)
mNo edit summary
 
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.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/UTCLiveClock.js&action=raw&ctype=text/javascript" ); // Linkback: [[wp: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/CVD.js&action=raw&ctype=text/javascript" ); //[[wp: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( "//en.wikipedia.org/w/index.php?title=User:SiBr4/TemplateSearch.js&action=raw&ctype=text/javascript" ); // Linkback: [[wp:User:SiBr4/TemplateSearch.js]]
mw.loader.load( '//testwiki.wiki/index.php?title=User:Ahecht/useridentifier.js&action=raw&ctype=text/javascript' );
mw.loader.load( '//testwiki.wiki/index.php?title=User:Ahecht/useridentifier.js&action=raw&ctype=text/javascript' );
} );
} );

Latest revision as of 20:31, 4 November 2023

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: [[wp: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" ); //[[wp: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: [[wp:User:SiBr4/TemplateSearch.js]]
	mw.loader.load( '//testwiki.wiki/index.php?title=User:Ahecht/useridentifier.js&action=raw&ctype=text/javascript' );
} );