User talk:Interiot/Tool2/code.js
From Wikipedia, the free encyclopedia
[edit] Big Function
Uhh....dude.....its just a big function. brainybassist 22:49, 27 April 2006 (UTC)
[edit] IE Support
Why no IE support? Which function(s) aren't supported? haz (user talk) 18:52, 6 May 2006
- Why would you want IE support at all? If someone uses such a crappy browser they can except crappy functionality. IE users are inferior people anyway :-) !Salaskan 19:30, 17 March 2007 (UTC)
- I think that the Javascript does not load properly in IE. Apparently, when I tried with IE, the error message was showing about problems in the code. It may be due to the actual code, or the monobook.js.—G.He 19:12, 6 May 2006 (UTC)
- It's not a known problem that's blocking it from working. I don't anticipate that there's a major problem that can't be fixed or worked around, but nobody has tried to identiy or fix the issue yet. If the toolserver is down for significant periods of time, I may do it, though others can attempt to fix it as well (eg. it's easy to make your own copy of the script and hack at it). --Interiot 19:44, 6 May 2006 (UTC)
- Warning: when hacking at the script, do not be stupid enough to lock yourself out of Wikipedia. (Ahem, ahem, me.) During my testing, I isolated the problem to function add_stats_row. Well, after that, let's just say I was scared to investigate further. If you want, you can start where I left off. --M@thwiz2020 21:48, 9 May 2006 (UTC)
- No matter what you do, you should always be able to turn off javascript and reload the page, or hit Alt-E or something. I think the specific circumstances that led to Mathwiz2020 being locked out were somewhat long and unlikely. (eg. for what it's worth, I've created two different utilitarian sock-puppets, Interiot2 and InteriotAWB, and they weren't blocked by anyone else). --Interiot 22:01, 9 May 2006 (UTC)
- Warning: when hacking at the script, do not be stupid enough to lock yourself out of Wikipedia. (Ahem, ahem, me.) During my testing, I isolated the problem to function add_stats_row. Well, after that, let's just say I was scared to investigate further. If you want, you can start where I left off. --M@thwiz2020 21:48, 9 May 2006 (UTC)
- It's not a known problem that's blocking it from working. I don't anticipate that there's a major problem that can't be fixed or worked around, but nobody has tried to identiy or fix the issue yet. If the toolserver is down for significant periods of time, I may do it, though others can attempt to fix it as well (eg. it's easy to make your own copy of the script and hack at it). --Interiot 19:44, 6 May 2006 (UTC)
[edit] May I ask a JS question?
Just wondered if you have time; I didn't want to ask you because you seem always teribly busy. I have a function to write an input and be linked to a page http//.../INPUT, but it only worked in the preview, before editing, and when saved I only get the code (not the input box), here. Would you help me? —Argentino (talk/cont.) 22:07, 31 May 2006 (UTC)
[edit] So how do you make this work?
OK, the instructions for using this are:
- Open your user javascript file (most often monobook.js) via a link such as http://en.wikipedia.org/wiki/User:YourName/monobook.js.
- Edit the page and copy-and-paste the code below.
- Go to User:Interiot/Tool2/code.js.
- Press the "control" and "F5" buttons on your keyboard at the same time (the page will now refresh).
- Enter your username into the box and choose "submit".
Um, 1-4 OK... but 5? What box? I don't see any box. It's just some code. Refreshing the page doesn't make a box appear. Obviously I'm doing something wrong, but what? Herostratus 21:15, 12 June 2006 (UTC)
- The box you put your username in. (This box). But because I'm nice, below are your stats:
Username: Herostratus
Total edits: 4383
Distinct pages edited: 2029
Average edits/page: 2.160
First edit: 21:32, September 22, 2005
(main): 1306
Talk: 382
User: 534
User talk: 763
Image: 72
Image talk: 2
MediaWiki talk: 1
Template: 12
Template talk: 19
Category: 18
Category talk: 9
Wikipedia: 1015
Wikipedia talk: 249
Portal: 1
--Tuspm [Leave A Message] 22:37, 12 June 2006 (UTC)
-
- I'm with Herostratus - there is no box (Safari 2.0.4, MacOS X 10.4.7), not even at Tuspm's "this box" wikilink. 69.194.50.122 09:03, 11 July 2006 (UTC)
-
-
- Well, erm, I don't have a way to test it on Safari. But, make sure you're loading it from the en.wikipedia.org/wiki/User:Interiot/Tool2... URL and not the en.wikipedia.org/w/index.php URL. --Interiot 09:06, 11 July 2006 (UTC)
-
-
-
-
- I wasn't doing the latter. I did get it to work finally. Had to restart the browser, and only the shift-click method worked, not the keyboard-only one. — SMcCandlish [talk] [contrib] ツ 09:27, 11 July 2006 (UTC)
-
-
-
-
-
-
- I very much appreciate the efforts of anyone to make our edit counts available, but I have the same problem as Herostratus. I see no box. I'm using Netscape 8.1, which I believe, for all intents and purposes, uses the same code as Firefox. Is there anything special I should know? Unschool 18:11, 30 July 2006 (UTC)
-
-
-
-
-
-
-
-
- I too have followed the directions and am not seeing anything. I'm also using Firefox. :( The Filmaker 23:54, 8 September 2006 (UTC)
- I also have this problem. I followed the instructions but there is no box, just lots of code, even after refreshing the page - • The Giant Puffin • 16:39, 11 September 2006 (UTC)
- I too have followed the directions and am not seeing anything. I'm also using Firefox. :( The Filmaker 23:54, 8 September 2006 (UTC)
-
-
-
-
The instructions are wrong. I got the box by using "control" and "F5", but I'm using Firefox, not IE. I entered my username, pressed submit, and Presto! The script timed out.... TheMadBaron 01:25, 27 September 2006 (UTC)
[edit] auto entry submit box
How do you configure the script to submit your user name automatically? ...IMHO (Talk) 15:10, 1 July 2006 (UTC)
- Use the URL that you see after you enter your name... the one with ?username= in it.... eg. http://en.wikipedia.org/wiki/User:Interiot/Tool2/code.js?username=Apple --Interiot 01:13, 2 July 2006 (UTC)
[edit] Safari instructions are wrong
It's cmd- not ctrl- 69.194.50.122 09:01, 11 July 2006 (UTC)
- I question the worth of that comment.................. T.Moore
[edit] Internet Browser
Hi, could you enlighten me if Internet Explorer can use your code? Because I followed the exact instructions step-by-step and got "This counter does not currently work in Internet Explorer. Please get Firefox or use Flcelloguy's Tool instead." Your help is greatly appreciated. :D --Terrancommander 16:36, 14 July 2006 (UTC)
- This tool has no IE support. --Tuspm Talk | Contribs | E-Mail Me 17:06, 14 July 2006 (UTC)
- However, Essjay's does - please see http://tools.wikimedia.de/~essjay/edit_count/Count.php here]. —Xyrael / 14:37, 30 August 2006 (UTC)
[edit] No results?
I can't seem to get this to work - I get the input box as per normal, press the submit button and get the "Retrieving data..." message. But I don't get anything else except a message saying that the script has stopped responding. I've tried this a couple of times with the same results. Does anyone know what the problem is, and if the script works for you, could you possibly post my edit count? -- ChrisO 18:42, 18 July 2006 (UTC)
- I've posted it on your userpage. Regards, Alphachimp talk 05:17, 19 July 2006 (UTC)
[edit] Number of daily edits
Is there any way to count a number of edits per day? --Emx 07:26, 19 July 2006 (UTC)
- Division? It shouldn't be that hard, just take your join date, the current date, and work it out yourself. However, that would be a good feature to add, along with percentage of edits tagged minor, in any future versions. --tjstrf 23:50, 19 July 2006 (UTC)
-
- This one already has number of edits per day, maybe Interiot could give us a code or something (?) or add this feature to code.js because he already included it to toolserver. --Emx 07:42, 20 July 2006 (UTC)
- The toolserver code and this are almost completely different (toolserver = perl + data from SQL, Tool2 = javascript + data from HTML). --Interiot 08:52, 20 July 2006 (UTC)
- This one already has number of edits per day, maybe Interiot could give us a code or something (?) or add this feature to code.js because he already included it to toolserver. --Emx 07:42, 20 July 2006 (UTC)
[edit] distinct pages
What are those and how are they differen't than non distinct pages? Wizrdwarts (T|C|E) 20:41, 28 July 2006 (UTC)
- If one editor makes 10 edits to one page, and another editor makes one edit to 10 different pages, their edit count would be the same, but the first editor would have a "distinct pages" of 1 and the second would have 10 distinct pages edited. --Interiot 04:12, 29 July 2006 (UTC)
[edit] Timing out in firefox
Anyone else getting a firefox error saying the script has timed out? You can press continue, but it's still a little irritating. --Liface 17:05, 19 August 2006 (UTC)
- Yeah, I got that too... Pressing continue seems to load the results however.... -Mysekurity 22:39, 29 August 2006 (UTC)
- I get it as well; There may be a timeout setting in options. thanks/MatthewFenton (talk • contribs) 10:17, 31 August 2006 (UTC)
- Until the toolserver comes back up, it may be better to use Essjay's counter for users with lots of edits. It will still take a long time, but it won't make your browser unhappy. --Interiot 16:44, 31 August 2006 (UTC)
- This blog entry may provide a solution to the problem - the timeout appears to be related to the dom.max_script_run_time setting in Firefox, which is set to 5 seconds by default. I'll try changing it to see if it solves the problem. -- ChrisO 19:39, 31 August 2006 (UTC)
- Of course, 5 seconds may be an entirely reasonable and useful value for most websites... --Interiot 19:42, 31 August 2006 (UTC)
[edit] Inconsistent edit counts
Hi Interiot, the past few days my edit count, using tool2, keeps going up then down. Yesterday I was 3700. Today I did a few more edits so I expected to be over 3700, but I only got 3688. This has happened a few days back as well. Any ideas? Thanks. Dr.K. 16:55, 7 September 2006 (UTC)
- Most likely it was caused by pages being deleted that you'd contributed a lot to... Did you do a {{db-author}} or {{db-userreq}} recently? If an article was xfD'd, that'd do it to, but that's hard to track down. --Interiot 17:11, 7 September 2006 (UTC)
- Thanks for your fast response. I had some pictures deleted as they moved to Commons. That must have done it. Take care. Dr.K. 19:17, 7 September 2006 (UTC)
[edit] Thanks!
I like this toy. It's fun. I am resisting the temptation to make really big numbers just for the heck of it, but am enjoying it anyway. Sean Lotz talk 08:49, 9 September 2006 (UTC)
[edit] Driving me nuts!
I'm sorry but I really don't understand step 5 but I understand steps 1-4. A little help please? -chris 05:25, 10 November 2006 (UTC)^_^
[edit] AAH!
Your tool no longer works. :-(
Oh well. Back to the slow version of Kate's Tool.
Tyson Moore es 12:07, 14 November 2006 (UTC)
- Ehm, I used it about thirty seconds ago, and it worked correctly. agent ... aa:talk 19:21, 14 November 2006 (UTC)
[edit] A quick thank you
Just wanted to say thanks - i use your stats tool a lot to see what my meagre total of edits is.89.100.198.140 19:37, 29 December 2006 (UTC)
- 89.100.198.140 has 1 edit at this time. Must have an account but not logged in or something. --WikiSlasher 02:21, 30 December 2006 (UTC)
[edit] bug?
I just ran my editcount, and here is the output:
Username ST47 Total edits 11818 Distinct pages edited 9836 Average edits/page 1.202 First edit 17:43, April 17, 2006 (main) 11818
-
- I just ran mine and it came out O.K. Maybe try the wannabe kate? Cheers, Moreschi Request a recording? 21:10, 11 February 2007 (UTC)