Jump to content

User:Ais523/editcount

From Wikipedia, the free encyclopedia

I have written an edit counter, because Kate's and Interiot's tools went down with the toolserver changes and Interiot's Tool2 (which is very similar to this one) apparently doesn't work in Internet Explorer.

To install it, follow this link and paste in this text at the end:

importScript('User:Ais523/editcount.js');

To use this tool, go onto a user's Contributions page and click on the 'count' tab the script adds there. Your browser should scan through the users contributions, counting them. If the tab does not appear, try bypassing your cache (on most browsers, hold down Shift and click on your browser's refresh/reload button on any Wikipedia page).

Features

[edit]
  • Ordinary counting mode; counts by paging through contribs. Counts up to 5000 edits per namespace, and can also attempt to classify edits based on their summaries. This can be very slow on a user with many edits.
  • Quick-count; a very fast (normally tens of milliseconds) count that queries the database for the user's cached contrib count. Note that this uses a different definition of 'edit' to most edit counters (including the other modes of this counter), so it may give a different result (normally slightly higher). This also only gives the total.
  • Diff generation. The last 1000 and 2000 links will generate random diffs by the user sampled from the pages / subpage groups / namespaces that the user has been editing heavily recently (in their last 1000 and 2000 edits respectively). This can be very slow or even crash some browsers; people who edit the same page or subpage group a lot (usually because they're involved with some Wikipedia process like AfD) run faster and are less likely to crash than vandalfighters (on whom running the diff-generator is inadvisable as the results won't be all that useful anyway). Up to 10 diffs are produced from each page / subpage group the user has edited at least 5 times, and up to 10 diffs from all less-frequently-edited pages in each namespace with at least 5 such edits; which diffs are shown is random (hopefully...) but the order in which they're given is neither completely deterministic nor completely random.
  • Day/time edit counter: visually shows how many edits were made in each quarter-hour period of each weekday, to get a sense of when a user is usually online.
  • Both the ordinary count and diff-generator output both in human-readable text and wikimarkup.