Fandom Developers Wiki
Register
Advertisement

MassCategorization provides a link in the toolbar ("My Tools") that shows a modal that allows the user to list pages to update their categories.

Installation

Usage

Select whether you want to add, remove or replace a single or multiple categories with the dropdown menu (it is set at "Add" by default). In order to (de)categorize multiple pages, add the page names (not page URLs) each on a new line (including their namespace if necessary) and proceed to (de)categorize them. The script will stop when it reaches an empty line.

The script will not categorize pages that already contain the category that's being added.

It is strongly recommended that you are using an account that has a bot flag when using this script excessively, as excessive categorization can flood the recent changes.

By default, the script will edit one page every two seconds. For bot accounts, it will do one edit per second.

The option to use the MassCategorization script will appear under your "My Tools" list (the toolbar at the bottom of your screen).

Please note you must not have the toolbar at the bottom hidden or the script will not function. If you do not see the "My Tools" (or other language equivalent), try clicking Customize and then "reset defaults" to unhide the toolbar.

Configuration

Disclaimer

The default configuration is fine tuned to work tailored to who's running the program, based on their user groups. By changing the delay, you may run into increased errors and other kinds of problems we won't be able to help with.

MassCategorization is better used without these, these are only provided for completeness.

If your problems arise from the script being installed in a site-wide manner, remove it from ImportJS. It's a personal script, it should only be installed for individuals, even if the customization policy doesn't forbid its use.

JavaScript

The script can take some configuration options from the window.MassCategorization object.

delay
It's a number that represents how many milliseconds pass between each page from the list being processed.

Example

window.MassCategorization = {
    delay: 5000
};
Text above can be found here (edit)
Advertisement