Today we want to talk about
User:Animum/count.js, a topic that has gained great relevance in recent years.
User:Animum/count.js is an issue that impacts people of all ages, genders and nationalities, as it has been shown to have a significant effect on different aspects of daily life. Since its appearance,
User:Animum/count.js has generated numerous debates, research and changes in various areas, which leads us to reflect on its importance and impact on today's society. In this article, we will further explore the impact of
User:Animum/count.js and its implications for the future.
//<pre><nowiki>
importScript('User:Voice of All/Addtabs/monobook.js');
function retrieveData(user) {
var req = sajax_init_object();
req.open("GET", "http://en.wikipedia.org/w/api.php?format=json&action=query&list=users&usprop=editcount&ususers=" + user, false);
req.send(null);
var info = eval("(" + req.responseText + ")").query.users;
var editcount = info.editcount;
var name = info.name;
document.getElementById("contentSub").innerHTML += "<br /><b>" + name + " has " + editcount + " total edits.";
}
function editcount() {
var subpagename = mw.config.get('wgTitle').split('/');
if((mw.config.get('wgNamespaceNumber') == 2 || mw.config.get('wgNamespaceNumber') == 3) && !subpagename) {
var countuser = mw.config.get('wgTitle');
retrieveData(countuser);
}
if(mw.config.get('wgNamespaceNumber') == '-1' && mw.config.get('wgTitle') == 'Contributions') {
if(!document.getElementById('contentSub')) return;
countuser = document.title.split("for ").split(" - ");
retrieveData(countuser);
}
}
function addcountedit() {
var subpagename = mw.config.get('wgTitle').split( '/' );
if(((mw.config.get('wgNamespaceNumber') == 2 || mw.config.get('wgNamespaceNumber') == 3) && typeof(subpagename) == "undefined") || mw.config.get('wgCanonicalSpecialPageName') == "Contributions") {
mw.util.addPortletLink("p-cactions", "javascript:editcount()", String.fromCharCode(47), "ca-editcount");
}
}
$(addcountedit);
//</nowiki></pre>