Difference between revisions of "User:KamranMackey/common.js"
Jump to navigation
Jump to search
KamranMackey (talk | contribs) (Added some new JS which makes the infoboxes collapsible.) |
KamranMackey (talk | contribs) (Deleted the tooltip code from my common JS since it's been moved over to the main JS.) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | /* 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) { | |||
/* begin options */ | |||
/* | /* end options */ | ||
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript'); | |||
} | |||
Latest revision as of 06:03, 23 February 2015
/* 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) { /* begin options */ /* end options */ mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript'); }