MediaWiki:Citizen.js

/* All JavaScript here will be loaded for users of the Citizen skin */ mw.loader.using( [ 'mediawiki.util' ] ).done( function {	/* HotCat fixer */	x = document.getElementById("p-views").getElementsByTagName("ul")[0];	for(i=0; i<x.length; i++) {		if(x[i].innerText == "Edit" || x[i].innerText == "Edit source") x[i].classList.add("ca-edit");	} } );