User:VulcanSphere/WikidataQuality.js

$.getScript(	'//meta.wikimedia.org/w/index.php?title=User:Arybolab/WikidataQuality-system.js&action=raw&ctype=text/javascript',	function{		wikidataQuality = new WikidataQuality({ ores_host: "https://ores.wikimedia.org", weights: { E: 1, D: 2, C: 3, B: 4, A: 5 },			names: { E: "", D: "", C: "", B: "", A: "" },			assessment_system: "ORES predicted quality", dbname: "wikidatawiki" });		if(mw.config.get('wgAction') === "history" && (mw.config.get('wgNamespaceNumber') === 0 || mw.config.get('wgNamespaceNumber') === 118)){			wikidataQuality.getAndRenderHistoryScores;		}		if(mw.config.get('wgAction') === "view" && (mw.config.get('wgNamespaceNumber') === 0 || mw.config.get('wgNamespaceNumber') === 118)){			wikidataQuality.getAndRenderScoreHeader;		}		wikidataQuality.addScoresToArticleLinks;	} ); importStylesheetURI("//meta.wikimedia.org/w/index.php?title=User:EpochFail/ArticleQuality.css&action=raw&ctype=text/css");