User:Elim01/common.js

/* Counts all your edits and saves them to a page ( http://en.wikipedia.org/wiki/User:Kanegasi/editcounter ) */ if (mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) { var pagename= 'Edit count'; var subpages= 'true'; var datePageName= 'Date'; var totalPageName= 'Total'; var tableCaption= 'Elim01's Edits'; var nameSpaces= new Array; nameSpaces[0]= 'Main'; nameSpaces[1]= 'Talk'; nameSpaces[2]= 'User'; nameSpaces[3]= 'UserTalk'; nameSpaces[4]= 'Wiki'; nameSpaces[5]= 'WikiTalk'; nameSpaces[6]= 'File'; nameSpaces[7]= 'FileTalk'; nameSpaces[10]= 'Template'; nameSpaces[11]= 'TemplateTalk'; nameSpaces[12]= 'Help'; var mainTableAttrib = 'class="wikitable" style="margin: 0 auto 1em; text-align: center"'; var bottomRowAttrib = 'style="background-color: white; font-size: large"'; var dateFormat= 'F j, Y'; mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript'); }