User:Novem Linguae/Scripts/GANReviewTool
Description | Quickly and easily close good article nominations and good article reassessments. Takes care of {{atop}}ing the discussion, changing talk page templates, changing article templates, and adding/removing the article from one of the WP:GA subpages. |
---|---|
Author(s) | Novem Linguae |
Updated | April 25, 2024 (6 months ago) |
Source | User:Novem Linguae/Scripts/GANReviewTool.js |
Quickly and easily close good article nominations and good article reassessments. Takes care of {{atop}}ing the discussion, changing talk page templates, changing article templates, and adding/removing the article from one of the WP:GA subpages.
Installation
[edit]Go install User:Enterprisey/script-installer, then come back to this page and click the giant blue "Install" button in the infobox on the right.
Or install it manually by adding the below code to your Special:MyPage/common.js file.
{{subst:iusc|User:Novem Linguae/Scripts/GANReviewTool.js}}
Bugs and feature requests
[edit]Your feedback is essential. Please report all bugs and feature requests on the talk page.
This user script keeps a log that I monitor. I silently catch and fix a lot of bugs by looking at diffs in the log. I no longer check every diff, but if the script shows you a red "error" message, I will get a ping and I will investigate.
To-do list
[edit]- Features
- select2 smart combo box for picking the GA subpage
- Should merge additional templates into {{Article history}}
- Rearrange {{Article history}} to group parameters like this
- Always place {{Article history}} instead of the {{GA}} or {{Failed GA}} templates?
- Bugs
- Should change {{WikiProject}} template with importance parameters but no class parameters to include |class=GA
- When the MOS:TALKORDER of the page is wrong, err on the side of placing {{GA}} higher
- Should handle nested templates, e.g.
{{GA nominee|nominator=Name{{color|black}}|page=1|topic=Music}}
. Look into MediaWiki:Gadget-libExtraUtil.js or Parsoid API for parsing. - Should template parameter escape the {{GAR/result}} reason parameter
GAN
[edit]How to use
[edit]Visit a GAN review page. Page title must be in the format "Talk:Page/GA##". There must be no {{atop}} template currently on the GAN review page. Associated talk page must have the {{GA nominee}} template. If these conditions are met, the script will display.
You choose whether it passes or fails, then click submit.
Algorithm
[edit]Displaying the user script uses the following algorithm:
- Page must end in /GA#
- No {{Atop}} (in other words, not already closed)
- Talk page must have {{GA nominee}}
Passes use the following algorithm:
- Add {{atopg}} to the nomination page
- Delete {{GA nominee}}
- Add {{GA}} or add an entry to {{Article history}}
- Change WikiProject template class parameters to GA
- Add the article to the appropriate WP:GA subpage
- Create a log entry
Fails use the following algorithm:
- Add {{atopr}} to the nomination page
- Delete {{GA nominee}}
- Add {{FailedGA}} or add an entry to {{Article history}}
- Create a log entry
http errors
[edit]If you get an "http" error while submitting, it means there was a problem with the internet connection during the multi-step submission process, and some of the steps did not get completed. In this situation, you should double check GANReviewTool's work, and fix any missing steps.
If you don't do this, the folks over at Wikipedia:Good articles/mismatches will probably catch and fix it in about a week. But it's good to not create a mess.
GAR
[edit]How to use
[edit]Visit a GAR reassessment page. GANReviewTool needs the following to detect the page as a valid GAR and to show the GARCloser panel:
- GAR reassessment page title must be in the format "Talk:Page/GA##" or "Wikipedia:Good article reassessment/ABC".
- There must be no {{atop}} template currently on the GAR reassessment page.
- Individual reassessments (not community reassessments) must contain
==GA Reassessment==
- Article talk page must have the {{GAR/link}} template.
If these conditions are met, the script will display the GARCloser panel. If you can't get GARCloser to run on the page, please make sure all the above criteria are met.
For "Wikipedia:Good article reassessment/ABC" style pages, you must visit the subpage. The GARCloser panel does not appear on the index page Wikipedia:Good article reassessment.
# of users | Name | Description | S++ | US/L |
---|---|---|---|---|
440 | CiteHighlighter | Highlights 1,800 sources green, yellow, or red depending on reliability. Mainly pulls its data from WP:RSP, WP:NPPSG and WikiProject reliable sources lists. | x | x |
346 | GANReviewTool | Quickly and easily close good article nominations. Takes care of {{atop}}ing the discussion and changing the talk page templates. | x | x |
94 | DraftCleaner.js | Fix formatting of new articles. | x | x |
73 | UserHighlighterSimple | Highlights usernames based on permissions and edit count. User data updated daily by NovemBot. Highlights former admins. | x | x |
70 | VisualEditorEverywhere | Displays the Visual Editor "Edit" tab and "Edit" section link on pages that don't normally have them: templates, talk pages, Wikipedia namespace. | x | x |
64 | NPPLinks | Adds WP:BEFORE, copyvio check, duplicate article check, and other useful New Page Patrol links to the left menu. I like to mouse wheel click these links, which opens them in new tabs without losing focus on the current tab. Includes a professor h-index search. | x | x |
54 | VoteCounter.js | Display keep and delete counts in XFD discussions. Also display counts in talk page discussions. | x | |
52 | ReviewStatus | Displays whether or not a mainspace page is marked as reviewed | x | x |
48 | DetectSNG | Scans a list of 1,600 SNG keywords such as "National Football League" and, if found, displays them at the top of the article page, to help with determining SNG eligibility. | x | |
42 | SpeciesHelper | For species articles, tries to add the correct speciesbox, category, taxonbar, and stub template. | x | x |
40 | DetectPromo.js | If promotional words are detected, displays them in orange at the top of the article. | ||
39 | UserRightsDiff.js | When viewing Special:UserRights, easily see what perm was added or removed. | x | |
34 | DetectG4G5.js | If an unreviewed article was created by a blocked user, or has had an AFD, displays a warning, so you can investigate if it needs CSD G4 or G5. | ||
32 | WatchlistAFD.js | Automatically watchlist the AFD pages of your AFC accepts and NPP curations for 6 months, so you can see when stuff is AFD'd and you can calibrate your reviewing. By default, the patroller is not notified of AFD nominations, so this helps fix that. For user profiles, can also "Watchlist SPI" and "Watchlist RFA". | x | |
28 | anrfc-lister.js | Effortlessly submit RFCs to the RFC closing noticeboard, WP:ANRFC. | x | |
25 | UserTalkErasedSectionsDetector.js | Detect if a user is whitewashing their User Talk by deleting warnings | ||
24 | DontForgetG12.js | Puts a big orange "Copyvio check" button at the top of unreviewed drafts and articles | ||
15 | Links.js | Adds links to the left menu, including a user's common.js/global.js/vector.js, central auth, subpages, rename log, global lock log. Also adds pending changes. | ||
9 | CWWEditSummary.js | When copying within Wikipedia, makes it easier to leave an edit summary mentioning attribution | ||
9 | MarkFreeUseRationale.js | Add |image_has_rationale=yes to enwiki-hosted image files containing non-free licenses | ||
8 | TemplateTaxonomyAddCite | Create subpages of Template:Taxonomy more easily by clicking a button to add citation wikicode. | ||
6 | ShowAdminMessages.js | Reveal and highlight hidden messages for admins and other user groups. | ||
3 | BlockedUserHistory.js | In Special:History, when clicked, show only edits by blocked users | ||
1 | OldDiffColors.js | In Special:Diff, make additions light blue, not purple. In DiscussionTools, highlight new comments light blue, not teal. |
Less popular: CopyTitle.js, EditRequestReadFAQ.js, RequestedArticleSifter.js, SpecialNewPagesFeedBetaTestLink.js, User:Novem Linguae/Scripts/TopicSubscriptionsTab.js, User:Novem Linguae/Scripts/Vector2022NoWhitespace.js, User:Novem Linguae/Scripts/Vector2022NoFloatingTopBar.js
Deprecated (built into MediaWiki now): NotSoFast
Comfortable with GitHub? Submit bug reports and feature requests here