TopEditors

This script creates customizable lists based on the RecentChanges API. It can be used for a variety of purposes.

Installation
Add the following to your wiki's Common.js (when used on Project pages) or your /wikia.js (when used on personal pages):

Usage
The basic usage, which will list the top 25 contributors to all namespaces in the last week, looks like this: You can put anything inside the div; it will be replaced with the list. Please note that the list can take a while to load, especially for longer periods of time.

Options
Various options can be set for the script; they are added to the div code. Here is a skeleton, using the default values (adding these attributes is not necessary to use the defaults): Option descriptions: More details may be found here.
 * namespace determines which namespace(s) are counted. Namespace numbers must be used. A list of built-in namespaces can be found here; you can find the namespace number for any page in its  variable. Specify multiple namespaces like so: "0|6".
 * type determines which types of entry to count: page edits, creation of new pages, and/or log entries. Possible values are,  , and  ; separate multiple parameters with a pipe (|).
 * show determines other properties for shown edits. Possible values are,  ,  ,  , and  . Add an exclamation point (!) before a value for its opposite; separate multiple values with pipes (|). For example, to show only non-minor edits by anonymous users, this property should be set to "!minor|anon".
 * user specifies a single user for whom to count entries. Value is the username without User: prefix.
 * limit is the number of users to show in the list.
 * offset is the number of days (backward from the current time) to search through.

Comments
As always, I'd love to hear any feedback. I can look into adding support for date increments other than days if people need it. Default appearance customizations are also a possibility. Thanks!