Jump to content

User:Harej/common.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
halfak script
Requested by Harej. Executing request before I lose access.
Line 14: Line 14:
importStylesheet("User:EpochFail/ArticleQuality.css");
importStylesheet("User:EpochFail/ArticleQuality.css");
}
}

mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/commonHistory.js&action=raw&ctype=text/javascript");

Revision as of 23:33, 28 February 2022

if(mw.config.get('wgAction') === "history"){
	mw.loader.using(
		[],
		function(){
			$.getScript(
				'//en.wikipedia.org/w/index.php?title=User:EpochFail/ArticleQuality.js&action=raw&ctype=text/javascript',
				function(){
					console.log("getAndRenderArticleQuality")
					articleQuality.getAndRenderArticleQuality()
				}
			);
		}
	);
	importStylesheet("User:EpochFail/ArticleQuality.css");
}

mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/commonHistory.js&action=raw&ctype=text/javascript");