User:Flcelloguy/Tool

After Kate's Tool suffered more technical issues (relating to server and disk failures), I decided to create a backup to the now famous tool. Instead of relying on SQL queries or anything dependent on the server, however, Flcelloguy's Tool is extremely crude and rudimentary. In fact, the basic algorithm is simply copying and pasting one's contributions and parsing through them. This is not intended to compete with Kate's Tool but merely be a back-up; in fact, Kate's Tool is (by far) superior to this crude code. In addition, there are many limitations to the code I have developed.

Warning
As I have stated above, this is not supposed to compete with Kate's Tool, but merely serve as a backup. In no way am I promoting editcountitis; instead, I merely offer another tool for when Kate's Tool is down.

Requirements
You must have a Java IDE and JDK (freeware available; see below). Thus, you must make two downloads - one from Sun Microsystems, which developed Java, and another from a Java run-time developement program. I recommend JCreator and BlueJ.

Links

 * Java 2 Platform Standard Edition 5.0
 * Java(TM) 2 SDK, Standard Edition 1.4.2_10
 * JCreator
 * BlueJ

Current Capabilities

 * Count the number of edits
 * Break down count by project namespace
 * Count percentage and number of "minor" flag usage

Future developments

 * Merge the two pages (this page and User:Titoxd/Flcelloguy's Tool), perhaps under a WP:TOOLS subfile; rename to reflect that it's not "my" tool, but both my and Titoxd's tool
 * Test and release Titoxd's contributions, which parses from the source code, instead of copying and pasting contributions
 * Add more buttons to that, make more user friendly
 * Add more detailed statistics with the parsing of timestamps, etc. available in Titoxd's code
 * Better and more detailed instructions on how to download and use (perhaps a JAR?)
 * Output to  file for debugging (already done) and also to make copying results to the project easier
 * Add "First edit" date
 * Count percentage of edit summary usage
 * Attempt to make counting less crude by using a query

Known bugs

 * Right now, any edits to the article "Wikipedia" will fall under the Project talk namespace. I'll work this out later. (Any edits to the articles "Project", "Image", or any of the namespaces that have articles will also be placed in the wrong section.)
 * Category talk has not been implemented for some unknown reason; right now, the edits are counted as mainspace edits.

Versions

 * Version 1.0 &mdash; count edits
 * Version 2.0 (current) &mdash; count edits, breakdown by namespace, count and percent of minor edits
 * Versions 3.0 and updates &mdash; GUI and more user friendly; parses from HTML file of contributions source code and can merge several files

Instructions
After you have downloaded all the appropriate files, copy and paste the code below into a file named. Copy and paste the person's contributions into a text file called. For people with over 5000 edits, you will need to copy and paste more than once. The txt file should look something like this (the numbers should be asterisks after you copy and paste the contributions):


 * 15:37, November 12, 2005 (hist) (diff) User talk:Ral315 (→Drudge page - Newsroom) (top) [rollback]
 * 15:36, November 12, 2005 (hist) (diff) Wikipedia:Wikipedia Signpost/Newsroom/Other (→Next issue (November 14) - I'll do CheckUser, can someone else do the Jaraxle story?) (top) [rollback]
 * 15:24, November 12, 2005 (hist) (diff) User talk:Jnothman (→Re: Links - Thanks!) (top) [rollback]
 * 15:21, November 12, 2005 (hist) (diff) User:Flcelloguy/monobook.js (Add stuff) (top) [rollback]
 * 15:13, November 12, 2005 (hist) (diff) User talk:Jnothman (→Re: Links - Thnaks, review?)
 * 15:11, November 12, 2005 (hist) (diff) User:Flcelloguy/monobook.js (Add LI link)
 * 15:06, November 12, 2005 (hist) (diff) User:Flcelloguy/monobook.js (Adding links)
 * 15:01, November 12, 2005 (hist) (diff) User talk:Jnothman (→Re: Links - Thnaks!)
 * 14:56, November 12, 2005 (hist) (diff) User talk:Jnothman (→Re: Links - D'oh!)
 * 14:53, November 12, 2005 (hist) (diff) User talk:Jnothman (→Re: Links - Thnaks!)
 * 14:46, November 12, 2005 (hist) (diff) Talk:Main Page (→Today's featured article - Fixed)
 * 14:41, November 12, 2005 (hist) (diff) User:Flcelloguy/Sandbox (Testing...) (top) [rollback]
 * 14:36, November 12, 2005 (hist) (diff) User:Flcelloguy/monobook.js (Remove newly added stuff; seems to be hindering the popups and other monobook functions)
 * 14:30, November 12, 2005 (hist) (diff) Wikipedia talk:Esperanza (→John Kerry - Reply) (top) [rollback]
 * 14:26, November 12, 2005 (hist) (diff) Wikipedia talk:Requests for adminship (→RFBs - My 2 cents)
 * 14:24, November 12, 2005 (hist) (diff) Wikipedia:Requests for bureaucratship/Jtkiefer (→Jtkiefer - Re: TIme?)
 * 14:09, November 12, 2005 (hist) (diff) User talk:Jnothman (→Re: Links - P.S Can't get it to work...)
 * 14:07, November 12, 2005 (hist) (diff) User:Flcelloguy/monobook.js (Not working...)
 * 14:06, November 12, 2005 (hist) (diff) User:Flcelloguy/monobook.js (Add to monobook)
 * 14:03, November 12, 2005 (hist) (diff) User talk:Jnothman (Thanks!)
 * 01:55, November 12, 2005 (hist) (diff) Wikipedia talk:Arbitration Committee Elections December 2005/Straw poll (See Mobocracy)
 * 01:48, November 12, 2005 (hist) (diff) User:Flcelloguy (Add link to meta page) (top) [rollback]
 * 01:42, November 12, 2005 (hist) (diff) User talk:202.177.148.100 (test3) (top) [rollback]
 * 01:41, November 12, 2005 (hist) (diff) m Glen Jacobs (Reverted edits by 202.177.148.100 to last version by 12.191.214.243)
 * 01:39, November 12, 2005 (hist) (diff) Wikipedia:Miscellaneous deletion/Wikipedia:Personal attack intervention noticeboard (Response)
 * 00:46, November 12, 2005 (hist) (diff) m Lopez (Reverted edits by Flcelloguy to last version by Canderson7) (top) [rollback]
 * 00:46, November 12, 2005 (hist) (diff) m Lopez (Reverted edits by Canderson7 to last version by 202.75.205.59)

After you save the file, compile your program and then execute. It will tell you how many edits are there (in this case, 27).

Requests, comments
If you don't feel like downloading all this, Flcelloguy will do edit counts on request when Kate's Tool is down. Simply notify him. Please also direct all questions, comments, and concerns to him. Thanks!

Special thanks
Special thanks to Titoxd for helping me design this; he has been a great help and has already written a lot of code (specifically, breaking up the code into classes, methods, and parsing the source code, which will all be released in 3.0). Thanks a lot!