Minecraft Wiki
Advertisement

This is an archived discussion page. DO NOT POST NEW TOPICS HERE. To add a new discussion, go to my talk page.

Edit counter

I saw your post on the Strategy wiki. I have Najzere's talk page watched lol. Anyways, her script doesn't work on the Minecraft Wiki mainly due to the API calls on their wiki using MediaWiki's default /w/ server url, which is what the script calls, while this wiki's install does not have that set, causing an API error every time the counter tries to access our API. The reason I mentioned ultradude25 on her talk page is because he found this out a while ago and tinkered with her script so that it would work here. This is why I gave him credit when I made my version of the script.

You can either follow the directions to the page I just linked, or use ultradude25's script. Either way, copying the script to your own space is not required. Both his script and mine require you to go to your common.js or vector.js page (doesn't matter on this wiki) and put code into it to load the script. To use ultradude25's script, you can find the required lines here. Kanegasi C 10:34, 2 March 2013 (UTC)

Something doesn't make sense. When I copied the code from your Wikipedia user page, as per the link earlier, it just a appears as a bunch of code. There's no real edit counter there at all. Is it because I was checking though my iPad or was the code just not working for me?
Numbermaniac 11:37, 2 March 2013 (UTC)
There should now be a link on your userpage, in the left menu, under "User contributions" in the Toolbox, that says "Edit counter v67". Click it. Kanegasi C 11:39, 2 March 2013 (UTC)
There is a v67 counter link on my user page, however, when I click it. It says "Success!" after a while. Where do I actually view the number edits I've done? Numbermaniac 11:45, 2 March 2013 (UTC)
Its alright, I just found the page. Yay!! Thanks so much! Numbermaniac 11:47, 2 March 2013 (UTC)
I'm glad I could help, but I also noticed that having those vars blank made the table all weird and empty. Go ahead and delete the following lines in your common.js page to get a "normal" table, if you want:
    var mainDivAttrib = '';
    var mainTableAttrib = '';
    var topRowAttrib = '';
    var bottomRowAttrib = '';
Oh, and make sure you clear your cache. Follow the directions at the top of your common.js page on your userpage. This will refresh your scripts. Kanegasi C 11:58, 2 March 2013 (UTC)
Everything seems to be working. Thanks!!!! Numbermaniac 12:00, 2 March 2013 (UTC)

You're using this script way too frequently. At most it should be updated once a week, preferably less often like maybe once a month. ultradude25Talk
Contribs
07:30, 7 March 2013 (UTC)

Good point. Sorry about that. Numbermaniac 07:33, 7 March 2013 (UTC)
As I have mentioned on my talk page, I made the same suggestion in the usage section of Najzere's altered documentation for my script, and you did say you read it. I suggest you read through WP:HIGHSCORE. It was one of the things I stumbled across when I began my overhaul of that script. Kanegasi C 07:38, 7 March 2013 (UTC)
Sorry. Numbermaniac 07:46, 7 March 2013 (UTC)

Double redirects

Please fix the following redirects:
Page 1: User:Numbermaniac/dolphin.js | Direct link
New redirect to: User:Numbermaniac/edit counter.js

Page 2: User:Numbermaniac/editcounter.js | Direct link
New redirect to: User:Numbermaniac/Edit Count

Thanks! iLeon 15:38, 17 March 2013 (UTC)

Done! — Numbermaniac (C) 21:11, 17 March 2013 (UTC)
One of them not. Look here: Double redirects. iLeon 06:28, 18 March 2013 (UTC)
I think it is fixed now. Sorry about that. Is there a way to get the ones I don't need deleted? — Numbermaniac (C) 07:55, 18 March 2013 (UTC)
I can delete them for you if you want. — Hower64 08:11, 18 March 2013 (UTC)
Thanks! VSig iLeon (Talk) 20:32, 18 March 2013 (UTC)
User:Numbermaniac/edit counter.js
User:Numbermaniac/editcounter.js
User:Numbermaniac/dolphin.js
User:Numbermaniac/Edit Count
If you don't mind deleting these, that would be brilliant. Thanks for your trouble :)
Numbermaniac (C) 21:14, 18 March 2013 (UTC)
Thank you Hower64! And thank you ILeon for pointing them out! — Numbermaniac (C) 04:46, 19 March 2013 (UTC)
Advertisement