Wikipedia:WikiProject Articles for creation/Helper script/Rewrite


afch-rewrite running on enwiki

For multiple reasons, the Articles for creation helper script has been rewritten from the ground up. We're excited to hear your thoughts, feedback, and suggested improvements. The goal of the rewrite to create a sustainable infrastructure for reviewing article submissions that uses clear, high-quality code. Complete source code can be viewed on GitHub.

Running AFCH on enwiki edit

To install the script, navigate to Special:Preferences#mw-prefsection-gadgets, click on the check box next to "Yet Another AfC Helper Script", and hit "Save". Then you must clear your browser's cache. After that, you should be ready to go!

Please provide feedback about your experience at WT:AFCHRW – thank you!

Documentation edit

Updated documentation is available on the AFCH wiki.

Why are you rewriting the script?

The old Articles for creation helper script had become unmaintainable, due to spaghetti code written by numerous developers with varied skillsets over a long period of time. Additionally, the script suffered from severe feature bloat, features which slowed the script down but weren't used by many reviewers.

What's going to change?

The new script includes a number of changes which benefit reviewers, some of which are more obvious than others. Here are just a few:

  • an improved template parsing engine using Wikipedia's own parsing engine
  • a redesigned interface with bolder design that's easier on the eyes and simpler to use
  • "notify submitter" option not just for accept/decline, but also for comment and other actions
  • new features when accepting submissions like dynamic category addition, flexible WikiProjects, title blacklist checking, and more
  • a personal "frequently used" decline rationale section that learns from you as you use the script
  • many more not yet listed here (TODO: finish list)
Is the old script still going to be maintained?

Not in the long-term. Since we're a small team of volunteers (in fact, there is only one active code-writing developer), it's difficult to maintain even one script as complex as AFCH, let alone two! However, the old script will continue to be maintained until the transition to the new script has been completed, which won't be for several months.

I have a feature suggestion, bug report, another question, or just want to say hi.

Awesome: that's what Wikipedia talk:WikiProject Articles for creation/Helper script/Rewrite is for. :)

What are you working on right now?

I maintain a Trello board at [1] that lists current, planned, and completed tasks for the helper script. Feel free to comment there!

Team edit

Currently, Theopolisme (github) is developing the rewrite script. APerson (github) is helping. If you're interested in contributing as well, see this page for more details.