Jump to content

User:Eejit43/scripts/AFCRHS

From Wikipedia, the free encyclopedia
User script
AFCRHS
DescriptionUser script to help handle requests at WP:AFC/R and WP:AFC/C
Author(s)Eejit43, Enterprisey
First releasedFebruary 27, 2023; 21 months ago (2023-02-27)
UpdatedAugust 26, 2024; 3 months ago (2024-08-26) (see GitHub commit history)
BrowsersTested on Chromium
Skins
SourceUser:Eejit43/scripts/AFCRHS.js
GitHub repositoryAFCRHS.ts

This user script is a fork of Enterprisey's script, and helps handle requests at WP:AFC/R and WP:AFC/C (redirect and category creation requests).


This fork fixes many bugs, and makes some changes from the original script, such as:

  • Automatically uses {{Redirect category shell}} in created redirects
  • Correctly handles partially accepted requests (instead of just using the accepted or declined headers)

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/AFCRHS.js}}

Comments/bug reports

Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.