User:Ghosts of Europa/common.js

importScript('User:Phlsph7/ListUnreferencedParagraphs.js'); // Backlink: User:Phlsph7/ListUnreferencedParagraphs.js importScript('User:Phlsph7/Readability.js'); // Backlink: User:Phlsph7/Readability.js importScript('User:Phlsph7/HighlightUnreferencedPassages.js'); // Backlink: User:Phlsph7/HighlightUnreferencedPassages.js mw.loader.load( '/w/index.php?title=User:Trappist_the_monk/HarvErrors.js&action=raw&ctype=text/javascript' ); // Backlink: User:Trappist the monk/HarvErrors.js

if(mw.config.get('wgAction') != 'edit' && mw.config.get('wgCanonicalNamespace') != 'Special'){ var highlightRedirects = { tab_redirects : null, addStylesheetRule : function(tag, style){ var ss = document.styleSheets[0]; if(ss.insertRule){ ss.insertRule(tag + '{' + style + '}', ss.cssRules.length); } else if(ss.addRule){ ss.addRule(tag, style); }   },    run : function{ highlightRedirects.addStylesheetRule('a.mw-redirect', 'color:green'); },   install : function{ with(highlightRedirects) {     tab_redirects = addPortletLink ('p-cactions', 'javascript:highlightRedirects.run;', 'redirects'); if(document.getElementById('ca-history')) document.getElementById('ca-history').parentNode.appendChild(tab_redirects); }   }  }; addOnloadHook(highlightRedirects.install); }

//Fork of user:EpochFail/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: { 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'); importScript('User:Novem_Linguae/Scripts/GANReviewTool.js'); // Backlink: User:Novem_Linguae/Scripts/GANReviewTool.js