Utensa:Fierodelveneto/ArticleQuality.js
Ocio: Daspò ver salvà, podaria esare neçesario snetare ła cache dal propio navegadore web par vedare i canbiamenti.
- Firefox / Safari: tegner strucà el boton de łe letare grande Shift e schiciare sora Ricarga, o se nò struca Ctrl-F5 o Ctrl-R (⌘-R so Mac)
- Google Chrome: strucare Ctrl-Shift-R (⌘-Shift-R so on Mac)
- Internet Explorer / Edge: tegner strucà el boton Ctrl e schiciare so Ajorna, o sinò Ctrl-F5
- Opera: Va in tel Menu → Inpostasion (Opera → Prefarense so on Mac) e pò in Privacy & sicuresa → Sneta dati del navegadore → Imajini e file in te ła cache.
$.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: {
Stub: 1,
Start: 2,
C: 3,
B: 4,
GA: 5,
FA: 6
},
names: {
Stub: "{{1000 voxe icona|e}}",
Start: "{{1000 voxe icona|i}}",
C: "{{1000 voxe icona|c}}",
B: "{{1000 voxe icona|b}}",
GA: "{{1000 voxe icona|bo}}",
FA: "{{1000 voxe icona|ca}}"
},
assessment_system: "[[Wikipedia:Vałidasion de na voxe|Stimasion de cuałità (1-6)]]",
dbname: "glwiki"
});
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');