User:EpochFail/ArticleQuality-tester.js

$.getScript(	'//meta.wikimedia.org/w/index.php?title=User:EpochFail/ArticleQuality-experiment.js&action=raw&ctype=text/javascript',	function{		articleQuality = new ArticleQuality({ ores_host: "https://ores.wikimedia.org", weights: { Stub: 1, Start: 2, C: 3, B: 4, GA: 5, FA: 6 },			names: { Stub: "", Start: "", C: "", B: "", GA: "", FA: "" },			assessment_system: "ORES predicted quality", dbname: "enwiki" });		if(mw.config.get('wgAction') === "history" && (mw.config.get('wgNamespaceNumber') === 0 || mw.config.get('wgNamespaceNumber') === 118)){			articleQuality.getAndRenderHistoryScores;		}		if(mw.config.get('wgAction') === "view" && (mw.config.get('wgNamespaceNumber') === 0 || mw.config.get('wgNamespaceNumber') === 118)){			articleQuality.getAndRenderScoreHeader;		}		articleQuality.addScoresToArticleLinks;	} ); mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:EpochFail/ArticleQuality.css&action=raw&ctype=text/css", 'text/css');