User:Chtnnh/ArticleQuality.js

$.getScript(	'//meta.wikimedia.org/w/index.php?title=User:EpochFail/ArticleQuality-system.js&action=raw&ctype=text/javascript',	function{		articleQuality = new ArticleQuality({ ores_host: "https://ores.wikimedia.org", weights: { IV: 1, III: 2, II: 3, I: 4, ДС: 5, ВС: 6 },			names: { IV: "IV", III: "III", II: "II}", I: "I", ДС: "ДС", ВС: "ВС" },			assessment_system: "ORES predicted quality", dbname: "ukwiki" });		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;	} ); importStylesheetURI("//meta.wikimedia.org/w/index.php?title=User:Chtnnh/ArticleQuality.css&action=raw&ctype=text/css");