User:Eejit43/scripts/afcrc-helper
{{User:Eejit43/script-documentation
| description-short = User script to help handle requests at WP:AFC/R and WP:AFC/C
| description = 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 {{code|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 {{code|preferences}} watchlist change method, following the {{myprefs|Watchlist|Watched pages|check={{int:tog-watchdefault}}}} configuration field. This can be changed through {{code|createdPageWatchMethod}} to either {{code|nochange}} (don't change watch settings for the created page), {{code|unwatch}} (unwatch the created page), or {{code|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',
};
| changelog =
- {{start date and age|2025|04|19}}: Support the modification of data for all titles in a redirect request via a new "sync requests with first" button.
- {{start date and age|2025|03|10}}: Support adding sort keys to parent categories in category requests.
- {{start date and age|2025|03|07}}: Show diff links in actions dialog following edit/creation.
- {{start date and age|2025|03|06}}: Add field for removing categories from new categorized pages in category requests.
- {{start date and age|2024|12|25}}: Support new "unrelated" autofill deny reason.
- {{start date and age|2024|11|11}}: Show confirmation when closing dialog.
- {{start date and age|2024|10|29}}: Support modification of page creation watch method via global parameter.
- {{start date and age|2024|08|29}}: Correctly handle unnamed template parameters without preceding parameters.
- {{start date and age|2024|07|15}}: Add very basic dark mode support.
- {{start date and age|2024|06|02}}: Support adding additional reasoning to denied requests by appending content following a comma.
- {{start date and age|2024|04|29}}:
- Support commenting on accepted requests.
- Support the editing of redirect targets.
- {{start date and age|2024|04|17}}: Support the addition of rcat redirects with possibilities.
- {{start date and age|2024|04|07}}: Support adding template parmaters to accepted redirects.
- {{start date and age|2024|04|01}}: Link to pages in changes UI.
- {{start date and age|2024|03|28}}: Improve requester detection logic.
- {{start date and age|2024|03|17}}:
- Support "notredirect" autofill closing reason.
- Better parse variations of category request data.
- {{start date and age|2024|03|14}}: Improve handling of invalid sections.
- {{start date and age|2024|03|12}}: Improve rate limit handling.
- {{start date and age|2024|02|22}}: Merge identical comments where applicable.
- {{start date and age|2024|02|21}}:
- Merge identical acceptance and denial messages where applicable.
- Improve section editing logic to handle sections with identical content.
- {{start date and age|2024|02|18}}: Use latest page content when finalizing request handling.
| skin-support = {{User:Eejit43/script-documentation/skin-support|vector-2022=yes|vector=yes|timeless=yes|monobook=yes|modern=yes|minerva=yes|cologne-blue=yes}}
| source-multiple = true
| released = {{start date and age|2024|02|15}}
| updated = {{start date and age|2025|04|20}}
}}