afcrc-helper | |
---|---|
Description | User script to help handle requests at WP:AFC/R and WP:AFC/C |
Author(s) | Eejit43 |
First released | February 15, 2024 |
Updated | November 23, 2024 |
Browsers | Tested on Chromium |
Skins |
|
Source | User:Eejit43/scripts/afcrc-helper.js |
GitHub repository | afcrc-helper.ts |
This user script was inspired by Enterprisey's "AFCRHS" script, and helps to handle requests at WP:AFC/R and WP:AFC/C (redirects and categories creation requests). This script features an easier to use interface with improved functionality and new features. It can be run using the link in the "More"/"Tools" menu.
This script can be configured via a window.afcrcConfig
object to your common.js. This takes the following form:
window.afcrcConfiguration = {
createdPageWatchMethod: 'nochange' | 'preferences' | 'unwatch' | 'watch',
};
By default, pages that are created will use the preferences
watchlist change method, following the Preferences → Watchlist → Watched pages → Add pages and files I edit to my watchlist configuration field. This can be changed through createdPageWatchMethod
to either nochange
(don't change watch settings for the created page), unwatch
(unwatch the created page), or watch
(watch the created page).
For example, to not change watch settings for created pages, add the following to your common.js:
window.afcrcConfiguration = {
createdPageWatchMethod: 'nochange',
};
For a more detailed changelog, see the script's GitHub commit history.
Install Enterprisey's "script-installer" (at Preferences → Gadgets → Advanced → Install scripts without having to manually edit JavaScript files (documentation)), then come back to this page and click the "Install" button in the infobox on the right.
Add the following to your common.js (or a skin specific JavaScript page):
{{subst:install user script|User:Eejit43/scripts/afcrc-helper.js}}
Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.