User:Swatjester/Adjutant
| Description | WP:MILHIST clerking assistant |
|---|---|
| Author | Swatjester |
| Status | Beta |
| First released | 2026 |
| Version | 0.1.19 |
| Updated | July 4, 2026 |
| Browsers | Any modern browser |
| Skins | Tested on Monobook but should work on all |
| Source | User:Swatjester/Adjutant.js |
Adjutant is a standalone English Wikipedia userscript that accelerates routine WP:MILHIST assessment-queue clerking by adding one-click controls to the pages where coordinators already work. This is ASSISTED EDITING, not a bot: every edit is made through the logged-in coordinator's own account, with a human in the loop through diff preview and confirmation before every save.
What it does
[edit]- Wikipedia:WikiProject Military history/Assessment: Assess B/C/Start and Decline buttons on each signed request. Opens a B1-B5 checklist popup so you can customize, and option to manually add explanation. (TBD: Add cleanup clerking for completed assessments)
- Status: (Tested and confirmed working).
- Wikipedia talk:WikiProject Military history/Coordinators: AutoCheck report Confirm / Downgrade buttons per listed article. (TBD: add a "not in scope" button).
- Status: (Tested and confirmed working).
- Wikipedia talk:WikiProject Military history I call this the "Dumelow special": per-thread "Move" control for cross-page cut-and-paste to a configurable venue.
- Status: (Tested and confirmed working, though not tested for all locations yet -- some may have quirks.).
- Wikipedia talk:WikiProject Military_history/Requests for project input: one-click Archive functionality that respects the third-level subheader.
- Status: (Tested and confirmed working, but only on the RFPI page directly, not extended elsewhere).
- A-Class review reminder one-click button to post the stale-review boilerplate.
- Status: (I have not tested this functionality yet).
Installation
[edit]Add the following to your common.js (English Wikipedia only; the script refuses to run anywhere else):
importScript('User:Swatjester/Adjutant.js'); // Backlink: [[User:Swatjester/Adjutant.js]]
Or alternatively; add to Special:MyPage/common.js:
mw.loader.load('https://en.wikipedia.org/wiki/User:Swatjester/Adjutant.js?action=raw&ctype=text/javascript');
Config
[edit]Two portlet links are added: "Adjutant settings" for the OOUI settings dialog and action log with per-edit undo, and "Adjutant: dry-run ON/OFF" for the dry-run toggle. If you have the dry run turned it will not save your edits, even if you hit "Confirm/save." So do that when you want to test the basic functionality/UI/UX, and then turn it off when ready to actually use.
Here's what the settings do:
- Edit Summary Suffix: lets you customize what Adjutant appends to your edit summaries. The default message references coordinator clerking, since that's the intended main audience of this tool; if you're not a coordinator or former coordinator, you should probably just delete that word or customize your own message.
- Missing Banner Behavior: What to do if there isn't a WP banner on the talk page. There's no real reason you should change this from the default except for debugging purposes or special cases.
- Move Tool Destinations: Lets you customize potential destinations to move a conversation thread to. Note, this may not result in proper formatting for all destinations. If you have a frequent target for this that requires custom formatting, make a request to have the tool handle that case specially. (For instance, the Requests for Project Input subpage pastes moved conversations in at one sublevel deeper, i.e. from == to === to prevent a format bug).
- Throttle Delay: How quickly the tool makes requests. Don't change this without knowing what you're doing.
- Dry Run: As mentioned above, must be off to save edits.
- Phase 5 passive sanity checks: debugging tool; leave this on unless you specifically know what you're doing.
There's also an Action Log, which allows you to track Adjutant actions from the current session and undo them if desired.
What else
[edit]Send me bug reports and feature requests so I can make this more useful to coordinators, coordinators emeritus, and prospective coordinators/clerks. ⇒SWATJester Shoot Blues, Tell VileRat! 22:49, 20 June 2026 (UTC)
Known issues
[edit]- Nothing currently identified from the features that have been tested.
- Technically not a "known" issue, but the A-class clerking functionality hasn't been tested yet as we haven't had appropriate subject matter of that type come up since the functionality came online. So these could have unknown issues.⇒SWATJester Shoot Blues, Tell VileRat! 19:45, 27 June 2026 (UTC)