User talk:Dumelow/generatestats.js

See User:Dumelow/generatestats.js for the script.

Taken from User talk:Dr pda/generatestats.js but with the query limit increased to 5000 from the default 500

Once you have installed the script, go to http://en.wikipedia.org/w/index.php?title=User:Dumelow/generatestats&action=edit. A dialog box will pop up, asking you to enter the name of the template, without the word "Template:", i.e. featured article, instead of Template:featured article. The script will then retrieve the necessary information, 500 pages at a time, showing the progress within the edit window on that page. You can stop this at any time by navigating away from the page (e.g. clicking the back button in your browser). Once it is done the script will copy the output into the edit window and preview the page. If you desire you can then copy the wiki-text and save it somewhere else.

If you want to have the full list of articles sorted by size, as well as just the top and bottom ten, go to http://en.wikipedia.org/w/index.php?title=User:Dumelow/generatestats&action=edit&list

To get statistics for articles whose talk pages belong to a certain category (e.g. WikiProjects) use the URL http://en.wikipedia.org/w/index.php?title=User:Dumelow/generatestats&action=edit&usetalkcategory, or http://en.wikipedia.org/w/index.php?title=User:Dumelow/generatestats&action=edit&usetalkcategory&list for the version with a list.

To get statistics for articles which transclude any template within a given category (e.g. Category:Television episode infobox templates), use the URL http://en.wikipedia.org/w/index.php?title=User:Dumelow/generatestats&action=edit&usetemplatecategory, or http://en.wikipedia.org/w/index.php?title=User:Dumelow/generatestats&action=edit&usetemplatecategory&list for the version with a list.