User:Eejit43/scripts/afcrc-helper
| afcrc-helper | |
|---|---|
| Description | User script to help handle requests at WP:AFC/R and WP:AFC/C |
| Author | Eejit43 |
| First released | February 15, 2024; 20 months ago (2024年02月15日) |
| Updated | November 5, 2025; 0 days ago (2025年11月05日) |
| Browsers | Tested on Chromium and Firefox |
| Skins |
|
| Source | User:Eejit43/scripts/afcrc-helper.js |
| GitHub repository | afcrc-helper |
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.
Configuration
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 → Tick 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', };
Recent notable changes
For a more detailed changelog, see the script's GitHub commit history.
- November 5, 2025; 0 days ago (2025年11月05日): Update request colors to match new colors utilized by {{AfC-c }}.
- May 7, 2025; 5 months ago (2025年05月07日): Prompt before tab closure when modal is open.
- April 19, 2025; 6 months ago (2025年04月19日): Support the modification of data for all titles in a redirect request via a new "sync requests with first" button.
- March 10, 2025; 7 months ago (2025年03月10日): Support adding sort keys to parent categories in category requests.
- March 7, 2025; 7 months ago (2025年03月07日): Show diff links in actions dialog following edit/creation.
- March 6, 2025; 7 months ago (2025年03月06日): Add field for removing categories from new categorized pages in category requests.
- December 25, 2024; 10 months ago (2024年12月25日): Support new "unrelated" autofill deny reason.
- November 11, 2024; 11 months ago (2024年11月11日): Show confirmation when closing dialog.
- October 29, 2024; 12 months ago (2024年10月29日): Support modification of page creation watch method via global parameter.
- August 29, 2024; 14 months ago (2024年08月29日): Correctly handle unnamed template parameters without preceding parameters.
- July 15, 2024; 15 months ago (2024年07月15日): Add very basic dark mode support.
- June 2, 2024; 17 months ago (2024年06月02日): Support adding additional reasoning to denied requests by appending content following a comma.
- April 29, 2024; 18 months ago (2024年04月29日):
- Support commenting on accepted requests.
- Support the editing of redirect targets.
- April 17, 2024; 18 months ago (2024年04月17日): Support the addition of rcat redirects with possibilities.
- April 7, 2024; 18 months ago (2024年04月07日): Support adding template parmaters to accepted redirects.
- April 1, 2024; 19 months ago (2024年04月01日): Link to pages in changes UI.
- March 28, 2024; 19 months ago (2024年03月28日): Improve requester detection logic.
- March 17, 2024; 19 months ago (2024年03月17日):
- Support "notredirect" autofill closing reason.
- Better parse variations of category request data.
- March 14, 2024; 19 months ago (2024年03月14日): Improve handling of invalid sections.
- March 12, 2024; 19 months ago (2024年03月12日): Improve rate limit handling.
- February 22, 2024; 20 months ago (2024年02月22日): Merge identical comments where applicable.
- February 21, 2024; 20 months ago (2024年02月21日):
- Merge identical acceptance and denial messages where applicable.
- Improve section editing logic to handle sections with identical content.
- February 18, 2024; 20 months ago (2024年02月18日): Use latest page content when finalizing request handling.
Installation
Simple
Install Enterprisey's "script-installer" (at Preferences → Gadgets → Advanced → Tick 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.
Manual
Add the following to your common.js (or a skin specific JavaScript page):
{{subst:install user script|User:Eejit43/scripts/afcrc-helper.js}}
Comments/bug reports
Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.