Jump to content

User talk:Novem Linguae/Scripts/GANReviewTool/Archive 1

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 1

Missing from subtopics list

Hi! Great script. Promoted my first one today - looks pretty dynamite. Did see on the subtopic list that the stage three header for "professional wrestling" was missing, so the wrestling articles currently sit under motorsport. Won't effect any functionality, but could do with a check. Lee Vilenski (talkcontribs) 12:20, 13 June 2022 (UTC)

 Fixed. Was a typo. Thanks for reporting. [1]Novem Linguae (talk) 12:27, 13 June 2022 (UTC)

underscore for the entry

For whatever reason, the code to display shows an underscore, but not for the first word. Talk:Norman C. Deno/GA1 shows "Norman C._Deno", Talk:2021 French Grand Prix/GA1 showed "2021 French_Grand_Prix", but Talk:30 Rockefeller Plaza/GA1 shows "30 Rockefeller Plaza". Not really sure what the reason why it's only certain ones. Lee Vilenski (talkcontribs) 12:24, 13 June 2022 (UTC)

 Fixed. I forgot a /g in my regex, so it only replaced one underscore instead of multiple underscores. Thanks for reporting. –Novem Linguae (talk) 12:28, 13 June 2022 (UTC)

Wrong script linked

Hello. User:Novem Linguae/Scripts/GANReviewTool is linking to the wrong script. This is the GAN Review tool, not taxonomy ;) Used it at Talk:The Return of Depression Economics and the Crisis of 2008/GA1 to fail the article. No issues so far. --MrLinkinPark333 (talk) 19:45, 14 June 2022 (UTC)

 Fixed. Thanks for reporting :) –Novem Linguae (talk) 20:08, 14 June 2022 (UTC)

Pop-up if user is not the reviewer

Would it be possible to say something like “Are you sure you want to do this?” if you are not the reviewer, but attempt to use the script? I embarrassingly had a case of the butter fingers on an ipad and promoted someone else’s GAN by mistake (I immediately reverted myself on all pages, so that’s fixed.) Wasn’t expecting to see it load on a GAN I wasn’t reviewing, but I suppose it’s a valid use-case if the original reviewer is no longer available. Olivaw-Daneel (talk) 23:17, 14 June 2022 (UTC)

 Fixed. I added a warning message. Example at Talk:Booth Theatre/GA2. –Novem Linguae (talk) 23:54, 14 June 2022 (UTC)
Was going to say this - and this is a fantastic way to handle it. Big ol' red message, but still allowed to continue. I know I would end up accidentally promoting my own GAs by accident and go to the WP:STOCKS Lee Vilenski (talkcontribs) 08:37, 15 June 2022 (UTC)

Looking forward to using it

Thanks for creating the tool! :D — Ixtal ( T / C ) Join WP:FINANCE! 12:11, 15 June 2022 (UTC)

Article history

The script works brilliantly! It's no trouble either way, but it may be useful to have failed GAs update the article history too; see this diff. Has already saved me time, thanks for creating it :) Urve (talk) 06:27, 16 June 2022 (UTC)

 Fixed. The bot was handling for passes, but not for fails, so I added code for that. Example. Thanks for reporting. –Novem Linguae (talk) 17:51, 16 June 2022 (UTC)

Accented characters, species, toggle for ATOP

Hi Novem, didn't see an open section for your GAN Review Tool script. Just tried it out. I've never atoped a GAN before, as sometimes there scope for a bit more conversation, but I understand the purpose if it can't be optional. Other than that, it seems to have worked well, except that the addition to the GA list was out of alpha order. I have a sneaking suspicion that it is being thrown off by the "É" special character. Best, CMD (talk) 09:35, 24 June 2022 (UTC)

I would also suggest adding scientific names as an example of a title that should be italicized. CMD (talk) 10:28, 24 June 2022 (UTC)

Chipmunkdavis. Great feedback. I will release a patch for all 3 of those things when I get a minute. Thanks for reporting. –Novem Linguae (talk) 17:38, 24 June 2022 (UTC)
Chipmunkdavis.  Fixed all three issues. Thanks for reporting. –Novem Linguae (talk) 08:18, 26 June 2022 (UTC)

GAR and ability to leave closing statement

Thanks for adding the ability to rapidly close GARs! Just closed two discussions, which were both sufficiently clear that no closing statement was really needed, but many discussions do require a summary of the discussion. Could that be added? That may also build in a second click, as a one-click delist/keep isn't great in combination with fat fingers. Femke (talk) 16:07, 13 July 2022 (UTC)

 Fixed. Feature added :) –Novem Linguae (talk) 07:53, 14 July 2022 (UTC)

Closed discussions not disappearing from the GAR page

I've closed three discussions now, and they don't seem to disappear from the GAR page. I think it's because the category needs to be replaced by the archive category? AnomieBOT seems to use the category of active GARs: Category:Wikipedia good article reassessment. For instance, Wikipedia:Good article reassessment/Insect/1 is placed in the Category:GAR/66. Femke (talk) 16:35, 14 July 2022 (UTC)

Looks like I forgot to code community reassessment step 8. I'll code that up and that'll probably fix the error. –Novem Linguae (talk) 22:38, 14 July 2022 (UTC)
 FixedNovem Linguae (talk) 00:03, 15 July 2022 (UTC)

Seems to be putting incorrect topic for some articles

When I closed the reviews of James Holshouser and Jack Reed (Mississippi politician), I selected the topic "Political figures". The script correctly linked those pages at Wikipedia:Good articles/Social sciences and society, but put the incorrect topic on the subject's talk pages, as you can see here and here. The script linked those talk pages to Wikipedia:Good articles/History instead. Seems to be a problem with the political figures topic in particular. Steelkamp (talk) 08:10, 19 July 2022 (UTC)

Hey there. Thanks for reporting. So the script currently gets the topic from the {{GA nominee}} template. In this case the nominator picked a different topic than you for both articles. I think you're right though, it's better to have the reviewer pick the topic. I'll go ahead and change the code. –Novem Linguae (talk) 08:18, 19 July 2022 (UTC)
Oh, that makes sense. Yeah, it would be better to avoid a situation where the talk page links to the wrong topic page and the reviewer doesn't realise. Steelkamp (talk) 08:22, 19 July 2022 (UTC)
 FixedNovem Linguae (talk) 04:05, 21 July 2022 (UTC)

Issue with installing

Hi there! I'm sure this is due to my error in some way but I cannot get the script to display for reviews I'm doing. I installed it a week ago and can't seem to get it to work. I cleared my cache a number of times in a number of different ways afterwards, and I'm sure there's something I'm missing or something that's wrong on my end. Do you have any advice on how to get the script to display? For what it's worth, Talk:Logan Sapphire/GA1 is the review I'm currently about to close, which seems to meet all the criteria for the script displaying. Thanks! PCN02WPS (talk | contribs) 21:33, 21 July 2022 (UTC)

Hello friend. It works for me on that page with your common.js loaded in place of mine. So the script is installed correctly on your end. Can you post a screenshot of that page? What skin are you using? Are you on desktop or mobile? Are you using any javascript-disabling browser plugins such as NoScript? Thank you. –Novem Linguae (talk) 22:06, 21 July 2022 (UTC)
I think I figured out what it could be - I'm on desktop using MonoBook, I switched to both versions of the Vector skin and it worked on both of those. Is there any way to get the script to work for MonoBook or is this problem not readily fixable? PCN02WPS (talk | contribs) 22:32, 21 July 2022 (UTC)
 Fixed. I think I fixed it. Give it a try now :) –Novem Linguae (talk) 22:50, 21 July 2022 (UTC)
Works like a charm, thank you so much! You are awesome. PCN02WPS (talk | contribs) 00:43, 22 July 2022 (UTC)

You are invited to try out GANReviewTool

@I'ma editor2022, Sturmvogel 66, Usernameunique, PresN, Premeditated Chaos, Etriusus, Kaleeb18, Realmaxxver, No Great Shaker, AirshipJungleman29, EN-Jungwon, Rublov, The Most Comfortable Chair, NSNW, Djgothforever, Casliber, Serial Number 54129, Trainsandotherthings, Asilvering, ArcticSeeress, Unexpectedlydian, Tayi Arajakate, Your Power, Sportsfan77777, Djmaschek, Mover of molehills, Olivaw-Daneel, Whiteguru, Kpddg, and SNUGGUMS: Hello friends. You are receiving this ping because you've made several edits to the WP:GA subpages, which probably means that you've been doing GAN reviews. I just want to make sure you're aware of a new user script I made, called GANReviewTool, which automates most of the steps of passing or failing a GAN review. I invite you to check it out and hopefully save you time and improve your GAN review workflow. Please let me know if you have any questions or concerns. Thanks so much. –Novem Linguae (talk) 20:21, 19 August 2022 (UTC)

I have indeed conducted many reviews. We'll see how effective that tool is. SNUGGUMS (talk / edits) 21:40, 19 August 2022 (UTC)
@Novem Linguae: interesting. I've recently started a GAN review, so I might as well try this out and see if it works. Will make sure to post about my feedback here soon. Thanks for the suggestion! ‍ ‍ Your Power 🐍 ‍ 💬 "What did I tell you?"
📝 "Don't get complacent..."
05:58, 20 August 2022 (UTC)
@Novem Linguae: status update. I finished the aforementioned GAN review above, and the tool did what I expected it to do. Quite smooth! Will continue using this in the future, and if I encounter any bugs on the way... well we both already know where I'm dropping 'em ‍ ‍ Your Power 🐍 ‍ 💬 "What did I tell you?"
📝 "Don't get complacent..."
14:49, 26 August 2022 (UTC)
Awesome :) –Novem Linguae (talk) 20:42, 26 August 2022 (UTC)
Hey @Novem Linguae, thanks for sharing! I will try it out for my next GAN review. Unexpectedlydian♯4talk 09:33, 20 August 2022 (UTC)
Looks good for now. Vacant0 (talk) 20:37, 21 August 2022 (UTC)
Great, thanks for this! -- asilvering (talk) 02:09, 22 August 2022 (UTC)

Two possible functionality options

Hey Novem Linguae,

I had two minor requests (to me anyway, I know very little of coding). Firstly, could there be a selectable option to choose if one wishes to archive top and bottom the GAN page? I personally will usually pass a GAN when it is clear all issues are cleared/no issues are present, while some minor prose suggestions (that do not impact the status of the page itself) may still be pending. In this case, it would be helpful to have an box we might click to tell the script not to archive the page automatically. Secondly, a two-tier dropdown list, where you would select topic first in a drop-down list, and then a second box would contain a dropdown list of all of the sub-topics of the selected topic; again a very minor thing, but helpful. Thanks again for your tool, it's been very helpful! Iazyges Consermonor Opus meum 18:22, 20 September 2022 (UTC)

Hey there. Thanks for the suggestions. #1 is already in the tool, you can uncheck the "Apply atop template to GA review" check box, which inspired by your comment I just renamed to "Place Archive top and Archive bottom templates on GA review page" for clarity. #2, which basically boils down to making it easier to pick the subtopic, is a good idea. I was thinking of implementing this by changing the subtopic dropdown box to a fancy dropdown box that also lets you start typing the name of the subtopic and then it filters the dropdown list by stuff matching what you typed. Twinkle uses this fancy kind of dropdown box for maintenance tagging, for example. I am busy with my day job right now, but if you ping me in a month I will be sure to work on this. –Novem Linguae (talk) 20:04, 20 September 2022 (UTC)
Ah, thank you very much for the clarification; I was reading the "Apply atop template to GA review" as the button to automatically drop the GA box on the talk page; I appreciate the idiotproofing, and I will make sure to get back to you when you're freer. Thanks again! Iazyges Consermonor Opus meum 03:01, 21 September 2022 (UTC)

Error: http

Hey Lee Vilenski. Great job with all the GAN reviews you're doing. I noticed in my log that four days ago there was some kind of problem with GANReviewTool reviewing Talk:James S. Rains/GA1. The error log entry is ERROR: http. Lee Vilenski passed Talk:James S. Rains/GA1 at 12:22 pm, 18 October 2022, last Tuesday (4 days ago) (UTC−7). [Atop][Talk]. First off, the script is supposed to pause and say error. Do you recall it doing this? Also, any idea what might have caused the error? The only description it gave me is "http", which might be a bad connection issue with your Internet, but is pretty vague so could be a lot of things. Finally, judging by the log, it probably wasn't able to write to WP:GA/Warfare, so we should probably add James S. Rains to the list manually. –Novem Linguae (talk) 01:14, 23 October 2022 (UTC)

First I've heard of this, could be a poor internet connection, but I don't remember seeing an error. Lee Vilenski (talkcontribs) 07:52, 23 October 2022 (UTC)

Feature request

Hi! I know I ask for a lot - would it be possible to add a "On hold" button, which changes the text on the talk page from "|status=onreview" to "|status=onhold"? Lee Vilenski (talkcontribs) 10:35, 25 August 2022 (UTC)

Sure, good idea. I'll try to get to it soon. –Novem Linguae (talk) 12:28, 26 August 2022 (UTC)
Hi! Any ideas if this is something possible? I'm sure you are busy, but would be a very helpful tool when doing GANs on mass. Lee Vilenski (talkcontribs) 07:53, 23 October 2022 (UTC)
@Lee Vilenski.  Fixed. Feel free to try it out and let me know if it needs any tweaks :) –Novem Linguae (talk) 11:01, 31 October 2022 (UTC)

Reviewed version

A feature request. The script is now not filling out the optional oldid. I find it very convenient to have that when I'm updating old GAs. Often article text deteriorates over time, and it's nice to have a reviewed version one can easily access. Could that be added? Thanks :). —Femke 🐦 (talk) 16:24, 27 October 2022 (UTC)

Hey @Femke. Thanks for the idea. Legobot appears to come by and add |oldid= within 24 hours for successful GAs. [2][3]. Not unsuccessful ones though. Still want the feature? Want it for both successful and unsuccessful? Happy to code it up if it's wanted. –Novem Linguae (talk) 22:47, 27 October 2022 (UTC)
 Fixed. I decided to add it anyway. Might as well do it in one edit and not wait for a bot :) –Novem Linguae (talk) 09:54, 31 October 2022 (UTC)
Thanks! The script can now do all the steps humans do at GAN and GAR, right? I'm thinking about how to advertise the script more prominently in the GAN and GAR instructions. It's easy to overlook at the moment. —Femke 🐦 (talk) 17:17, 31 October 2022 (UTC)
Can the script ask for and answer second opinion requests already? —Femke 🐦 (talk) 17:21, 31 October 2022 (UTC)
Yes. I added 2nd opinion last night. A few months ago I added a link to the script into a couple spots at WP:GANI. Feel free to add to more spots, make it more prominent, etc –Novem Linguae (talk) 19:00, 31 October 2022 (UTC)

The script didn't work initially, possibly because I didn't have GARlink on the talk page. However I have now added the GARlink template and cache purged and it still doesn't show up. ♠PMC(talk) 22:42, 31 October 2022 (UTC)

@Premeditated Chaos. Hey there. For GARs, the script also looks for {{GAR/current}} on the GAR page. I think this is normally placed during step 2. Hope this helps. –Novem Linguae (talk) 15:19, 1 November 2022 (UTC)
Ahh thanks. ♠PMC(talk) 20:04, 1 November 2022 (UTC)

GAR and multiple listings

Hi Novem. I closed this GAR the other day—apparently the article was listed in two different sections of Wikipedia:Good articles/Social sciences and society (don't know how common that is), but the script only removed one of the entries. Hopefully there's an easy fix. (Oh, and many thanks for the script!) Extraordinary Writ (talk) 07:20, 2 November 2022 (UTC)

Hey @Extraordinary Writ. People really shouldn't be listing stuff twice. Hopefully this doesn't come up too often. But it is very easy to program the tool to delete both, so  Fixed. Thanks for the idea. –Novem Linguae (talk) 08:10, 2 November 2022 (UTC)

Italicised title?

Add an option for this when adding to the list of GA articles to save from it having to be done manually? Regards, Goldsztajn (talk) 07:20, 4 November 2022 (UTC)

Decent idea. Might be tricky because the {{Italic title}} template likes to hide in other templates though, such as {{Infobox court case}}. Maybe it's in the templatelinks table though, detectable by the API. I'll look into it when I have time. Thanks for the idea. –Novem Linguae (talk) 08:04, 4 November 2022 (UTC)

User:Example

I used the tool to place Talk:Cary, North Carolina/GA1 on hold, and Legobot replaced my username with Example on the nominator's talk page and the GA nomination pages. SL93 (talk) 13:31, 7 November 2022 (UTC)

It's not the script, it's the bot. I think it's something to do with the formatting on the review page that makes it do that. Two ticks, Imma do some investigating. This isn't tied to the script. Hopefully when we replace it, things like this won't happen. Lee Vilenski (talkcontribs) 14:25, 7 November 2022 (UTC)
I fixed this - the bot looks for a date stamp on the review page after the reviewer tag - so without this it won't know who did the review. Lee Vilenski (talkcontribs) 16:18, 7 November 2022 (UTC)
Yeap, upstream issue with Legobot. It appears to use "Example" as its default username, and if a proper username can't be found due to a missing timestamp, then Example is never overwritten with the proper username. Code.Novem Linguae (talk) 19:28, 7 November 2022 (UTC)

GAN button

Hi! I saw that you put Button on all talk pages to nominate for GAN (WP:GANI -> Nominations -> step 2). Needs a subtopic picker. As a to-do list item. Just a note that User:SD0001/GAN-helper.js exists. Lee Vilenski (talkcontribs) 08:26, 8 November 2022 (UTC)

Good catch. Thanks for saving me from duplicate work :) –Novem Linguae (talk) 09:12, 8 November 2022 (UTC)

Rail transport bug

There seems to be a bug where the tool is putting articles in the wrong section when they are passed. I fixed four here where articles that were meant to go in the rail transport section went in the Computer-related organizations and people section instead. I'm fairly certain that I selected the correct topic when reviewing Level Crossing Removal Project and the fact that the same problem happened with three other articles and three other reviewers makes me think this is a bug. Steelkamp (talk) 13:21, 17 December 2022 (UTC)

 Fixed. Thanks for reporting, and for cleaning up. –Novem Linguae (talk) 15:22, 17 December 2022 (UTC)

Slash in title bug

Script doesn't activate at Talk:Forge Park/495 station/GA1, probably because of the double slashes? Sammi Brie (she/her • tc) 02:42, 24 December 2022 (UTC)

 Fixed. Well spotted. Thanks for reporting. Happy holidays. –Novem Linguae (talk) 04:42, 24 December 2022 (UTC)

Undefined date and time

Just saw this diff by Femke, which for some reason did not read the |date parameter in the GA template when creating the Article history template. Everything else seemed to transfer over. CMD (talk) 08:53, 5 February 2023 (UTC)

 Fixed. Thanks for reporting. –Novem Linguae (talk) 23:00, 6 February 2023 (UTC)

Placing GA template in Wikiproject banner shell bug

Hi Novem, please see this edit where the GA template was placed in the Wikiproject banner shell template. Not sure what the cause might be. Best, CMD (talk) 15:49, 19 February 2023 (UTC)

Hey @Chipmunkdavis. Thanks for the bug report. The problem is that the {{Vital article}} template is incorrectly inside the {{WikiProject banner shell}}. According to WP:TALKORDER, the order should be vital article, then GA template, then banner shell. Looks like the user script User:Evad37/rater is causing this mistake to become common. This might be a hard bug to fix. I'll give it some thought. –Novem Linguae (talk) 21:47, 19 February 2023 (UTC)
My feeling is that community consensus leans towards the Vital article template being now seen as mostly another Wikiproject. Perhaps bug fixing can be delayed until a wider discussion on this is held. CMD (talk) 01:22, 20 February 2023 (UTC)
Looks like there are discussions on the matter at Wikipedia talk:Talk page layout, which I was unaware of! CMD (talk) 01:25, 20 February 2023 (UTC)
Good find. Thanks for bringing that discussion to my attention. –Novem Linguae (talk) 02:10, 20 February 2023 (UTC)
They changed WP:TALKORDER today, making the fix for this easier.  FixedNovem Linguae (talk) 00:04, 21 February 2023 (UTC)

Changing order of steps to delist?

I sometimes get the error "An error occurred :( Details: Error: Unable to determine WP:GA subpage. Is the |topic= on the article's talk page correct?" If that occurs I have to manually do the feared article history. Would it be possible to do the article history and removing the GA icon before removing the article from the GA list? —Femke 🐦 (talk) 20:30, 24 February 2023 (UTC)

Sure, good idea.  Fixed. The script should now throw |topic= errors after the talk page changes are done. By the way, that latest |topic= error you got was because there was an unexpected space after the topic. That is now  Fixed too. Thanks for reporting. –Novem Linguae (talk) 02:45, 25 February 2023 (UTC)

GAR Error confusion

Hi Novem, no clue what the latest GAR error means. Can you have a look? ~~ AirshipJungleman29 (talk) 15:57, 26 February 2023 (UTC)

Sure, will take a look. I set it up to ping me whenever there's an error, so that should help me see these :) –Novem Linguae (talk) 16:10, 26 February 2023 (UTC)
It was related to some code changes I had made for NovemBot6. I made a mistake in some of the code.  Fixed. You can go edit the close text for Wikipedia:Good article reassessment/Australia and the American Civil War/1 if you want. –Novem Linguae (talk) 16:24, 26 February 2023 (UTC)

Nested templates bug

Ran into an issue where placing a review on hold doesn't work when the nominator has a template in their signature (diff), admittedly a rare issue but I figured you'd want to know. PCN02WPS (talk | contribs) 17:17, 27 December 2022 (UTC)

This one is hard to fix. However it is on my radar. Thanks for reporting. –Novem Linguae (talk) 23:32, 10 March 2023 (UTC)

Collapse box?

Thank you for writing this great tool! I have a small feature request: the "GAN Review Tool" box takes up a lot of space on the review page, and I always have to scroll past it while I'm in the middle of reviewing, and I only need it once at the very end of my review (or twice if putting on hold). Have you thought about putting it into a collapsed box so it isn't in the way so much? —Kusma (talk) 15:34, 9 March 2023 (UTC)

Thanks for the idea. Could do a collapse box, or could move it to the end of the page, or could keep it as is. Talk page watchers, got any preferences? –Novem Linguae (talk) 23:31, 10 March 2023 (UTC)
Collapsed box would be quite nice. Iazyges Consermonor Opus meum 07:30, 11 March 2023 (UTC)
 Fixed. I collapsed it by default. Is the new size OK or should I make it even smaller? –Novem Linguae (talk) 18:00, 11 March 2023 (UTC)
It's great; thank you! Iazyges Consermonor Opus meum 19:08, 11 March 2023 (UTC)