User talk:Enterprisey
From Wikipedia, the free encyclopedia
| Time to finally touch some grass. May be back someday. You can consider my projects "unmaintained"; I would be happy to help anyone looking to take on maintenance of any of them.In particular, Legoktm and 0xDeadbeef are the two other maintainers of apersonbot on Toolforge and should thus be your first point of contact for any of those projects.Keep in touch! Messages are warmly appreciated, whether via email, Discord (where my username is doctor_worm), or IRC. What's next? Probably a lot more FRC. Thank you all so much for the many good memories over the years. <3Stay cool, Enterprisey (talk!) 03:30, 19 April 2024 (UTC) |
| What's Enterprisey working on? (As of 23:14, 1 January 2022 (UTC)) ()
Ah, arbcom. Also other stuff; was looking at the responder rfc recently, but the edit request overhaul ("making editing easier 2021") is probably bigger-impact. Older stuff I'll get to at some point
§~~.projects
|
cv-revdel
Hey, the revdel script is not allowing me to select diffs. This is happening across all articles. I have tried to bypass my cache. I have also tried Safari and Chrome and see no applicable errors in console. I have also turned all of my other scripts off to test for interactions. 19:03, 15 June 2019 (UTC)
- Snowycats, is this still happening for you? Enterprisey (talk!) 22:57, 1 January 2021 (UTC)
- Enterprisey, Yup. Snowycats (talk) 18:18, 5 January 2021 (UTC)
- @Snowycats, what exact steps do you take and what happens when you do them? Enterprisey (talk!) 07:50, 3 November 2021 (UTC)
- Enterprisey, Yup. Snowycats (talk) 18:18, 5 January 2021 (UTC)
Filter Pending AfC Submissions for untagged ones
Hi! Could you add a filter for Pending AfC Submissions to only show untagged ones (no WikiProjects), so one would have easier time going through the list specifically for tagging them for other to find later. — HELLKNOWZ ▎TALK 09:19, 6 July 2019 (UTC)
- Hellknowz, I think your idea is good, but I'm a bit worried (rationally or not :p) about cluttering up the interface. Would User:SD0001/draft-sort-burst possibly work as an alternative? Let me know if you still want this to be added, and I might make a toollabs:yabbr mode for this or something. (Or just add the checkbox.) Enterprisey (talk!) 21:11, 21 July 2019 (UTC)
- Oh cool, I didn't know burst-sort script existed. I tried it and it looks good. Unfortunately, it lacks the features of bigger scripts like Rater, such as task force tagging or special parameters like "living" for bios. Talk page is also not necessarily empty for untagged drafts. In short, I would prefer to use a different script for tagging. But it's totally on point otherwise. May be a link to the script could be added at the bottom?
- Anyway, my own reasoning for having a checkbox in the main list is that I can't find topics by name that I am interested in and know enough about to review after I ran out of tagged pages for relevant projects. The time it takes to find an AfC I can review is almost more than reviewing itself. I can see when something is yet another bio or village in India and skip it. But I can also guess that "Space Cadet 3000" is likely a video game. Random tagging isn't really appealing to me and often I have no idea what project(s) something belongs to.
- I think the UI can easily support more checkboxes and such. Editors who review AfCs are not new to Wikipedia. I imagine people using Labs tools for this are used to software tools. Given the number of AfCs, I think any filtering to accommodate more specific reviewing is good. Even if it's hidden by default behind a foldout or something.
- On a relevant note, I am planning to add AfCs to article alerts, and properly-tagged banners is a requirement to have the pages reported. — HELLKNOWZ ▎TALK 09:03, 22 July 2019 (UTC)
- "properly-tagged banners" here meaning "drafts properly tagged by banners" Headbomb {t · c · p · b} 21:20, 26 July 2019 (UTC)
- Alright, should be updated with the new checkbox next time the update script runs, which will be at about 10:20 UTC. Enterprisey (talk!) 09:39, 27 July 2019 (UTC)
- Hellknowz: small hiccup, but now we're in business! Check it out. Enterprisey (talk!) 11:09, 27 July 2019 (UTC)
- So I wasn't crazy then, there was an issue with the checkboxes earlier. Headbomb {t · c · p · b} 11:11, 27 July 2019 (UTC)
- Looks great! Now if only the detection was always correct :) A bunch of pages listed as untagged actually have project banners. For example, Draft talk:Agritask, Draft talk:UFC Now, Draft talk:Corey Arnold, Draft talk:Musa Arfakiana, etc. I couldn't find any pattern of why they aren't detected when I was looking through the list before. — HELLKNOWZ ▎TALK 12:52, 27 July 2019 (UTC)
- Hellknowz, the tool uses User:Enterprisey/ibx-wproj-map.js as the way to determine which banners and infoboxes are owned by which projects, so if a project isn't in there the tool won't know about it. Enterprisey (talk!) 23:04, 27 July 2019 (UTC)
- Why not just look for which templates are on the page, and follow any directs, and see if the string
WikiProjectappears in them? Wouldn't work for the non-standard ones like {{maths rating}}, but it would work for >99% of the rest. Your list could then be a backup/failsafe for the cornercases. Headbomb {t · c · p · b} 01:06, 28 July 2019 (UTC)- I know of five WikiProject banners that don't have the word WikiProject in their template names:
{{Alphabet Task Force}};{{Maths banner}};{{Wikipedia Help Project}};{{Women's Classical Committee}}; and{{WP1.0}}- there may be others. Whatever their publically-facing name, most WikiProject banners have{{WPBannerMeta}}as the second (or third, if it's a wrapper like{{WikiProject Mississippi}}) layer inward - I know of four that don't, these are listed at Template:WPBannerMeta/Conversion. Note that the maths people have two distinct banners, one for articles only and one for everything else. --Redrose64 🌹 (talk) 11:55, 28 July 2019 (UTC)
- I know of five WikiProject banners that don't have the word WikiProject in their template names:
- Why not just look for which templates are on the page, and follow any directs, and see if the string
- Hellknowz, the tool uses User:Enterprisey/ibx-wproj-map.js as the way to determine which banners and infoboxes are owned by which projects, so if a project isn't in there the tool won't know about it. Enterprisey (talk!) 23:04, 27 July 2019 (UTC)
- Hellknowz: small hiccup, but now we're in business! Check it out. Enterprisey (talk!) 11:09, 27 July 2019 (UTC)
- Alright, should be updated with the new checkbox next time the update script runs, which will be at about 10:20 UTC. Enterprisey (talk!) 09:39, 27 July 2019 (UTC)
- "properly-tagged banners" here meaning "drafts properly tagged by banners" Headbomb {t · c · p · b} 21:20, 26 July 2019 (UTC)
Query re Articles you contributed to have been nominated for Did You Know
Hi, re this edit - why were Whispyhistory (talk · contribs) and Philafrenzy (talk · contribs) not also informed? They were informed about other DYKs in the same bot run (Philafrenzy, Whispyhistory), and Template:Did you know nominations/Challacombe scale names both of them before myself. --Redrose64 🌹 (talk) 16:47, 27 July 2019 (UTC)
- Will investigate. Off the top of my head, if the bot thinks their talk pages already link to the article or nomination page, or if they were notified in the past, no notification will be sent. (Probably doesn't apply here, though.) Enterprisey (talk!) 23:06, 27 July 2019 (UTC)
RM Stats tool broken?
It seems like when I try to do any lookup at https://tools.wmflabs.org/rm-stats/ I get a 500 error (or sometimes a blank 200 response, then a 500 on subsequent refreshes). I poked around the logs at /data/project/rm-stats but didn't see any obvious explanation - actually I didn't see any log entries since May 2019, which is weird. Anyways, just thought I'd let you know.
Also, I noticed your tool because I was looking for my own tool (https://tools.wmflabs.org/rmstats/) in a directory, and realized I had accidentally semi-plagiarized another tool's name. If that's a problem for you, let me know, and I can look into renaming my tool to something that's less likely to get confused with yours. Colin M (talk) 17:39, 29 July 2019 (UTC)
Summary of AFC Helper Script things
- Allow for WikiProject tagging without doing a full review to help with WP:AALERTS when submissions go live and a reviewer doesn't feel qualified, but still wants to help in some way.
- Automatic reload fails
- Cleaning should add
|small=(e.g. ) - Deal with WikiProject banners (e.g. )
- Deal with duplicated categories / Make sure the categories are below the default sort (e.g. )
- Invite people to Wikiprojects upon successful submissions
- Cleanup more stuff, maybe making use of some of WP:JWB, when doing 'cleanup/accepting/whatever'
This should provide a decent worklist of what's been requested. Headbomb {t · c · p · b} 09:14, 1 August 2019 (UTC)
- Anything I've missed / any progress on this ? Headbomb {t · c · p · b} 14:08, 5 August 2019 (UTC)
- Ping? Headbomb {t · c · p · b} 15:06, 26 August 2019 (UTC)
- @Headbomb, it has been... an extremely long time (sorry), but the AfC helper script seems to be in the more than capable hands of @Novem Linguae and friends, so I would recommend reaching out to them and/or filing tickets in GitHub directly. Enterprisey (talk!) 16:53, 3 September 2023 (UTC)
- Yes, good idea to file github tickets. Any volunteer developer that gets a burst of energy to write patches will probably get their ideas from the list of tickets on github. Hope this helps. –Novem Linguae (talk) 19:33, 3 September 2023 (UTC)
- @Headbomb, it has been... an extremely long time (sorry), but the AfC helper script seems to be in the more than capable hands of @Novem Linguae and friends, so I would recommend reaching out to them and/or filing tickets in GitHub directly. Enterprisey (talk!) 16:53, 3 September 2023 (UTC)
- Ping? Headbomb {t · c · p · b} 15:06, 26 August 2019 (UTC)
About WP:DEFCON tagging
Heya Enterprisey! I've looked more into IFTTT's "New edit with hashtag" feature, and I'm under the impression that it looks for literal hashtags in the edit summary, as https://hashtags.wmflabs.org/ looks for edits with hashtags in the edit summary, and as WP:HASHTAG explains. It'd be a great help if you could add hashtags, like #DEFCON1, to Enterprisey's edit summary on WP:DEFCON, so I could make a notification using IFTTT. Thanks for taking time out of your day to help someone, and possibly several others out! andritolion (talk) 16:16, 5 August 2019 (UTC)
AFD stats
Right now the AFD stats page for me outputs "The remaining 133 pages had no discernible vote by this user." but does not indicate which pages those are. Could a list of pages be added which were processed but for which the bot said "nope, don't see anything cool here"? And/or a list of specific edits made in each. Could be a "see this other page for additional details" kind of thing, kind of like how xtools works. --Izno (talk) 18:43, 5 August 2019 (UTC)
- I'd second this. It would be a nice feature to have. --Ahecht (TALK
PAGE) 22:48, 5 November 2019 (UTC) - @Izno: You might want to try my fork of AFDstats at https://afdstats2.toolforge.org/afdstats.py?name=Izno. It detects votes in a few extra situations that the main version doesn't, but more importantly it will show "undetermined" votes in the list (these tended to be mostly "Move" votes in my case) and there is a "Show pages without detected votes" link to show all the AfD pages where no vote was detected. --Ahecht (TALK
PAGE) 18:33, 19 November 2019 (UTC)- @Ahecht: I get a 502 bad gateway with that link. Windows 10, Chrome 78.0.3904.97. --Izno (talk) 18:40, 19 November 2019 (UTC)
- @Izno: Try it again now. Looks like toolforge was rebooting. --Ahecht (TALK
PAGE) 18:47, 19 November 2019 (UTC)- Ahecht, lol, your recent URL change alerted me to this section. Mind if I copy/paste the code to the main afdstats? Enterprisey (talk!) 06:14, 30 June 2021 (UTC)
- @Enterprisey: Not at all. I had submitted a pull request a while back, which I just cancelled and resubmitted after applying the changes from pull request #4. --Ahecht (TALK
PAGE) 10:42, 30 June 2021 (UTC)
- @Enterprisey: Not at all. I had submitted a pull request a while back, which I just cancelled and resubmitted after applying the changes from pull request #4. --Ahecht (TALK
- Ahecht, lol, your recent URL change alerted me to this section. Mind if I copy/paste the code to the main afdstats? Enterprisey (talk!) 06:14, 30 June 2021 (UTC)
- @Izno: Try it again now. Looks like toolforge was rebooting. --Ahecht (TALK
- @Ahecht: I get a 502 bad gateway with that link. Windows 10, Chrome 78.0.3904.97. --Izno (talk) 18:40, 19 November 2019 (UTC)
Yet another backlog burninator
This tool is malfunctioning. In these diffs, it removed important information and edited parts of the articles, it wasn't supposed to. . Masum Reza📞 00:45, 7 August 2019 (UTC)
Add a few WikiProjects to AFCH field
Would you add a few active WikiProjects to the choices available in the AFCH acceptance field where reviewers add projects? Namely:
- American Open Wheel Racing
- Anime and manga
- Classical music
- Cryptocurrency
- Human–Computer Interaction
- Newspapers
- Translation studies
- Women writers
Thanks. --Worldbruce (talk) 16:32, 27 August 2019 (UTC)
- This should really be dynamically supporting every non-redirect Template:WikiProject ... banner, possibly excluding those from Category:Inactive WikiProjects. If a dynamic listing can't be had, then from a daily/weekly/monthly-updated list. Headbomb {t · c · p · b} 17:07, 27 August 2019 (UTC)
- +1 to some sort of automatic update. Maintaining this manually, while praiseworthy, is sub-optimal. -- RoySmith (talk) 01:45, 28 August 2019 (UTC)
- Done. And automatic updates do sound pretty good. Enterprisey (talk!) 02:33, 17 January 2021 (UTC)
- +1 to some sort of automatic update. Maintaining this manually, while praiseworthy, is sub-optimal. -- RoySmith (talk) 01:45, 28 August 2019 (UTC)
Welcome bot
Hello, Enterprisey! :)
I'm an admin at the Albanian Wikipedia and I tend to look after the technical side of the project. Recently I've been trying to find how to make a welcoming bot but instead I found many pages of past discussions about how that idea is kind of despised in the EnWiki community. I've read most of them and I know how the Welcoming Community here does the job better than bots and I really value you for that. Unfortunately we don't have that many of active users in our community and the advantages of having a welcoming bot far outweigh the disadvantages of it. We'd like a bot to be able to use the WikiLove extension to give out the welcoming template from it on new users' pages. As I mentioned early, we're a small community and I didn't have anyone to ask for advice on my homewiki about it so i tried asking at the EnWiki. I saw your username at the Bot Approvals Group and thought I'd give it a try. Can you help me with this situation? I should mention that I've never created or helped create a bot before so I'm not very informed on the subject but I'm willing to do what I can to help. - Klein Muçi (talk) 22:55, 10 September 2019 (UTC)
Suggestion https://tools.wmflabs.org/afdstats
Hey,
For https://tools.wmflabs.org/afdstats
I suggest that it use, or at least report, the current state of the article. Is the article currently: Deleted; Redirected; Live? --SmokeyJoe (talk) 05:37, 23 September 2019 (UTC)
Ticket was made
There is a ticket for your Meta:Community Wishlist Survey 2019/Citations/Dealing with unsourced additions - "citation needed" button suggestion, created by Huggle user User:Petrb who also had a interesting suggestion. I've added the Phab ticket to the "results" table. Thanks again for the suggestion. HLHJ (talk) 05:17, 28 September 2019 (UTC)
Thanks and a simple suggestion
Hi there. I thought I'd stop by and thank you for your useful scripts. It's hard to remember how I ever managed without things like User:Enterprisey/script-installer, User:Enterprisey/cv-revdel or User:Enterprisey/diff-permalink, so thanks for putting all that hard. While I'm at it, a simple suggestion. Much like User:Enterprisey/sync-template-sandbox, how about a script that merges the sandbox back into the main after testing is finished? I find that I do that quite often when responding to {{edit template-protected}}. Best regards. --Muhandes (talk) 09:25, 8 October 2019 (UTC)
- Muhandes, good idea! I'm wondering what sort of confirmation you'd want for this - I know that I certainly wouldn't want to accidentally overwrite a highly-used template this way. Maybe just the usual popup "confirm" box? Enterprisey (talk!) 16:13, 14 October 2019 (UTC)
AFD Stats
I've been going through and trying to clear up the UNDETERMINED lines from my AfD stats, and I have a couple of suggestions for afdstats.py that would've cleared up most of them (and undoubtably also clear up many more discussions I wasn't involved in):
- Change lines 325 and 364 from "speedy delete" to "speedy delet" to correctly parse the phrase "speedy deletion"
- Change the regex in line 348 to
"The result (?:of the debate )?was(?:.*?\n?.*?)(?:'{3}?)(.*?)(?:'{3}?)"(or something like that, regexes aren't my strong point) to catch the many pages where there is a carriage return before the bolded decision.
Possible issue with AFCH script
When I used AFCH to review Draft:Canary Connect Inc., it seems that the review notification went to DESiegel, who just helped the new editor submit the article by subst'ing the template, rather than the author of the draft. (). Is it possible the script could be improved so that the notification goes to the author, rather than just someone helping them submit to AfC? Seraphimblade Talk to me 21:43, 13 November 2019 (UTC)
About the AfD stats tool
Also ping User:Σ. I used (awesome, thanks), but there is one element I find problematic. I often nominate things for deletion, but I am totally fine with merge outcome. Yet the tool treats 'merge' just as 'keep', they are both colored red (for a deletion proposal). From my perspective, this is incorrect. Sometimes nominators, including myself, will even say that merge is one of the alternatives to consider in our nominations. The point is that the current stats suggest that for example AfDs I nominated closed as merge are 'failures' just as those closed as keeps. I'd argue that they should be considered successes, green, or at the very least get their own color and should not be counted together with other groups. --Piotr Konieczny aka Prokonsul Piotrus| reply here 02:46, 14 November 2019 (UTC)
Pet Scan and Cat-a-lot
Just to follow up from our brief discussion a couple of weeks ago in Boston, regarding interaction between Pet Scan and Cat-a-lot, or rather the lack thereof (in case you're interested in tinkering with it). The problem I'm having can be seen here. I just created the Wikiquote category for Guggenheim Fellows, and Pet Scan will tell me that there are 580 English Wikipedia articles in the same category, which also have corresponding Wikiquote articles. Problem is, to reconcile them, I've got to manually open all 580 Wikiquote articles and add Category:Guggenheim Fellows.
All told, there is probably easily upward of a million edits that need to be performed to reconcile the categorization of the English Wikipedia and the English Wikiquote, which obviously is just impossible to do manually. But if I could use Cat-a-lot, and just highlight all 580 articles in the Pet Scan output, and add categories with semi-automation, it could be done fairly easily. Been asking around for about a year now, and AFAIK, there is no current way to do this. GMGtalk 16:43, 19 November 2019 (UTC)
Poached!
Hey, Enterprisey. I was going over your dashboard and decided to poach one of your script ideas. You can cross this one off the list:
- A user script so that whenever you click on a "hist" link in a user contribs page, the resulting page history highlights all contributions by that user (also has form on history page to perform such highlighting)
Hope you don't mind. If you're interested, here's the source. Also I suck at names. Regards, GUYWAN ( t · c ) 21:17, 2 December 2019 (UTC)
AFCRHS.js (2)
Hello. When creating the talk pages for created redirects in non-article space, the script does not create the talk page as the script only appends "Talk:" before the requested title (e.g. this would mean "Talk:Template:" which is a bad title). Could you change the JavaScript to handle creating talk pages for non-article space redirects? Thanks for the great tool, Dreamy Jazz 🎷 talk to me | my contributions 20:06, 5 December 2019 (UTC)
AfD stats
please add support for mobile, CustomSummaryPresets
i am able to use if "request desktop site" on my mobile fennec browser. if possible add support for CustomSummaryPresetsLeela52452 (talk) 18:19, 20 December 2019 (UTC)
EnterpriseyBot 10
I think there's an issue with this task. There are redirects that I tagged with {{R from related topic}} in 2017 whose talk pages are still marked as stubs, e.g., Green syndicalism (edit | talk | history | links | watch | logs). Let me know what I can do to help? (Last discussion, for reference) czar 08:28, 1 January 2020 (UTC)
- Hi @Enterprisey, should I bring this task back to the bot requests board? Between this thread and the last one, it appears that this has been running with issues for a very long time. I just received a flurry of manual edits correcting some of the instances that were waiting for bot edits. If you don't have time to look into/maintain this task, please just let me know so I can find another way to address it. czar 15:04, 1 March 2020 (UTC)
- As a side note, I have found that this is too big a task for Python (or, at least, I'm not good enough at handling lots of data in Python). So, I'll be rewriting the bot in Rust shortly, after which it should be back to running regularly. Enterprisey (talk!) 08:26, 6 April 2020 (UTC)
- Lol, look at the excuses people have for switching to Rust these days! SD0001 (talk) 15:44, 7 April 2020 (UTC)
- A fellow can only get so many TypeErrors before he snaps and rewrites 2500 lines of Python in Rust :)
- I have rewritten the task in Rust, and it seems to be running fine on toolforge (using approximately infinity times less memory!). I'll have it do a few articles daily, and then ramp it up later. Enterprisey (talk!) 21:54, 14 April 2020 (UTC)
- Czar, the bot has been running for the past couple of days and everything looks fine. Enterprisey (talk!) 23:06, 17 April 2020 (UTC)
- Also, how should the bot behave when a project's banner isn't configured to auto-assess? Right now, I've been manually reverting the bot's edits. Enterprisey (talk!) 23:10, 17 April 2020 (UTC)
- Nice—looking forward to it ramping up! For context on that last question, is the idea that the task finds redirects and strips the WikiProject banner class as a courtesy but some banners are not equipped to auto-assess? In those cases, I've traditionally considered it better to have no class param than to leave "stub" or whatever was left behind (since the article is no longer a stub but a redirect). But most often those are cases of the WikiProject not handling the "Redirect" class in their banner, not that it has auto-assess off altogether. If indeed it's a matter of specific banners not supporting auto-assessment, I imagine the most complete way to handle is to hard-code "Redirect" as the banner class param, but that strikes me as overkill when simply removing the param is sufficient. czar 03:40, 18 April 2020 (UTC)
- Any WikiProject banner that is built around
{{WPBannerMeta}}(and there are only four that are not) will, if|class=is blank or absent, auto-assess the talk page of a redirect as Redirect-Class; and if the banner concerned isn't set up for that, will instead use NA-Class. The autodetection is built into{{Class mask}}, as is the conversion to NA where applicable. - Of the four WikiProject banners that aren't built around
{{WPBannerMeta}}, only{{WikiProject U.S. Roads}}will behave like a "normal" WikiProject banner (because it also uses{{class mask}}); the other three don't autodetect, and only treat the page as Redirect-Class if fed an explicit|class=redirect, not the shorter forms|class=rediror|class=redthat other banners allow. - In summary: for
{{WikiProject Anime and manga}},{{Maths rating}}and{{WikiProject Military history}}(and redirects to those three), set|class=redirect; for any other banner, leave|class=blank or omit it entirely. --Redrose64 🌹 (talk) 20:31, 18 April 2020 (UTC)- Redrose64, thank you for the information! What about {{WikiProject Ships}}, which doesn't autoassess despite using WPBannerMeta? Are there any other WPBannerMeta banners that won't auto-assess in this way? Enterprisey (talk!) 20:51, 18 April 2020 (UTC)
- Ooof, I missed that one. Ships uses WPBannerMeta but, for some reason, bypasses the standard
{{class mask}}template by using a very non-standard custom class mask,{{WikiProject Ships/class}}, which unlike other custom class masks (such as{{WikiProject Trains/class}}), is not built as a wrapper for{{class mask}}. So{{WikiProject Ships}}will require an explicit|class=red,|class=rediror|class=redirect. --Redrose64 🌹 (talk) 21:26, 18 April 2020 (UTC)- @Redrose64, reading Template:WPBannerMeta/Conversion, it looks like Maths rating and Anime and manga were converted, so that just leaves Milhist? Enterprisey (talk!) 07:53, 23 October 2021 (UTC)
- Yes, just Milhist and
{{WikiProject U.S. Roads}}now. I doubt that there'll be movement any year soon on either of them. --Redrose64 🌹 (talk) 18:26, 23 October 2021 (UTC)
- Yes, just Milhist and
- @Redrose64, reading Template:WPBannerMeta/Conversion, it looks like Maths rating and Anime and manga were converted, so that just leaves Milhist? Enterprisey (talk!) 07:53, 23 October 2021 (UTC)
- Ooof, I missed that one. Ships uses WPBannerMeta but, for some reason, bypasses the standard
- Redrose64, thank you for the information! What about {{WikiProject Ships}}, which doesn't autoassess despite using WPBannerMeta? Are there any other WPBannerMeta banners that won't auto-assess in this way? Enterprisey (talk!) 20:51, 18 April 2020 (UTC)
- Any WikiProject banner that is built around
- Nice—looking forward to it ramping up! For context on that last question, is the idea that the task finds redirects and strips the WikiProject banner class as a courtesy but some banners are not equipped to auto-assess? In those cases, I've traditionally considered it better to have no class param than to leave "stub" or whatever was left behind (since the article is no longer a stub but a redirect). But most often those are cases of the WikiProject not handling the "Redirect" class in their banner, not that it has auto-assess off altogether. If indeed it's a matter of specific banners not supporting auto-assessment, I imagine the most complete way to handle is to hard-code "Redirect" as the banner class param, but that strikes me as overkill when simply removing the param is sufficient. czar 03:40, 18 April 2020 (UTC)
- Lol, look at the excuses people have for switching to Rust these days! SD0001 (talk) 15:44, 7 April 2020 (UTC)
- As a side note, I have found that this is too big a task for Python (or, at least, I'm not good enough at handling lots of data in Python). So, I'll be rewriting the bot in Rust shortly, after which it should be back to running regularly. Enterprisey (talk!) 08:26, 6 April 2020 (UTC)
- How often should this bot be cycling through tagged redirects? Would once a month (or more often) be reasonable? I'm still monitoring redirects tagged in 2017 as {{R to list entry}} that have not been scanned by the bot. czar 17:45, 31 May 2020 (UTC)
- Hi @Enterprisey, do you know why some redirects from 2017 would still be unprocessed by this bot task? For instance Pacifism as Pathology was redirected in March 2017 with a {{R from related topic}} template and was still classified as "stub" until I processed it today. czar 01:07, 13 September 2021 (UTC)
Bot Question
Hi Enterprisey,
I saw your name listed at WP:BAG as being open to answering queries about bots.
I just made this edit to the carnitine article. The prefixes L- and d- are used as part of chemical naming for enantiomers of amino acids, sugars, and various other compounds. The convention in naming is that they appear as small caps rather than as full size letters, sometimes also in parentheses (ie as (l-proline or d-proline for the amino acid proline). We similarly have the convention of italicising E, Z, R, and S in names like (E)-stilbene or (Z)-Stilbene or for names like (R)-thalidomide and (S)-thalidomide in the thalidomide article. There are also name fragments like fac, mer, cis, and trans that are italicised when stand alone. The letters don't necessarily stand alone – for example, meso-tartaric acid is (2R,3S)-tartaric acid or (2R,3S)-2,3-dihydroxybutanedioic acid.
My questions (as a chemist who knows almost nothing about how to program a bot, although who did do programming 20+ years ago):
- Would it be possible and practical for a bot to go through article space and change all the L- and D- to {{sm|l}}- and {{sm|d}}- without changing the cases where it is not part of a name (like this mistaken change that I made to a file name), while handling names like acetyl-L-carnitine becoming acetyl-l-carnitine, recognising that a wikilink like [[Glycine propionyl-L-carnitine]] becomes [[Glycine propionyl-L-carnitine|Glycine propionyl-{{sm|L}}-carnitine]], recognising the change in case for the start of a sentence (L-proline ... should be l-Proline ...) and while changing names in references byt not producing the reference errors that I just did?
- Is there a bot that already does this sort of thing, to your knowledge?
- If it is practicable, could it be extended to other naming corrections like the ones mentioned above?
- Is there another editor who I would be advised to ask / speak with?
I can give a list of examples (in cooperation with the Chemistry and / or Chemicals WikiProjects) if that would help, but I thought a general question was best first.
Thanks for your time!
Fancy diffs
Spelling error
AfDStats doesn't count my votes
Hi, Enterprisey, I am WikiAviator. Today, I've voted for numerous AfD discussions such as . However, it didn't show up on AfD Stats. I checked the AfD pages and found no problem with spelling and all votes are bolded (i.e. Redirect and Delete) and refreshed the page several times. After about an hour, I force-stopped my browser and loaded the AfDStats webpage again. Nothing worked and only my old votes were shown. May I know what is the problem and would you kindly resolve it or give me some suggestions? This AfD Stats function is very important to me as an indicator of my understanding to deletion guidelines and to let me assess when should I apply for New Page Reviewer and Articles for Creation. Thanks for your help :) . WikiAviator (talk) 07:37, 20 February 2020 (UTC)
High-priority todo for myself
Diff-context is BACKWARDS, yet again: Special:Diff/950867459 Enterprisey (talk!) 08:34, 14 April 2020 (UTC)
Rename-reason-fixer
Hey Enterprisey,
On non-English wikis it is populating non-English version of site name (for eg. Per [[:ويكيبيديا:ar:Special:Permalink/46130020|وب:تام]] on arwiki). Because of this link breaks. If possible, can all of them have English version of site name or just hard code it to w as most of them are wikipedias. Thanks for your awesome work.‐‐1997kB (talk) 09:35, 17 April 2020 (UTC)
- 1997kB, should probably be fixed now? Enterprisey (talk!) 22:21, 17 April 2020 (UTC)
Hey again, sorry for not checking carefully. It now get everything in English but sequence is not right. For eg.
Per [[:en:wikipedia:Special:Permalink/951634818|request on enwiki]] (simple) => Per request on enwiki (simple)
but it should be
Per [[:wikipedia:en:Special:Permalink/951634818|request on enwiki]] (simple) => Per request on enwiki (simple)
Now sequence is right but having wikipedia in the link makes it not work correctly, only w works.
Per [[:w:en:Special:Permalink/951634818|request on enwiki]] (simple) => Per request on enwiki (simple)
Also on metawiki it is generating
per [[:meta:meta:Special:Permalink/19993099|request]] => per request
Meta one only needs one m :m:Spe.. but :w:m:Spe.. also works. ‐‐1997kB (talk) 09:14, 18 April 2020 (UTC)
- Thanks for letting me know; fixed. Enterprisey (talk!) 21:06, 18 April 2020 (UTC)
- On enwiki I'm getting
Per [[m:wikipedia:en:Special:Permalink/951751033|request on enwiki]] (simple)
and also you removed : from start, without it urls doesn't work on some wikis.‐‐1997kB (talk) 00:56, 19 April 2020 (UTC)- Colon added. Bouncing it through meta is intentional (technique from
m:H:IWWP:IW#Technical): even though it doesn't produce links that are as short as possible on enwp, the links will definitely work for every project. Enterprisey (talk!) 03:36, 19 April 2020 (UTC)- m:H:IW doesn't exist. --Redrose64 🌹 (talk) 12:46, 20 April 2020 (UTC)
- Ah, my bad. Fixed. Enterprisey (talk!) 21:57, 20 April 2020 (UTC)
- m:H:IW doesn't exist. --Redrose64 🌹 (talk) 12:46, 20 April 2020 (UTC)
- Colon added. Bouncing it through meta is intentional (technique from
- On enwiki I'm getting
Thanks again for the fix, it is working great. Also is it possible to make this script work on mobile site? ‐‐1997kB (talk) 07:04, 29 April 2020 (UTC)
Update: Script now works on the mobile site. Also, I am encountering a bug that when I use reply gadget or QuickEdit script on sections on WP:CHUS. After using both of these scripts, the rename-reason-fixer script does not load and I have to refresh the page. ‐‐1997kB (talk) 07:10, 20 September 2020 (UTC)
User:Enterprisey/unblock-review.js
Just tried to decline an unblock request and this happened. The script hasn't changed since 2019, but then again I don't know when the last time was I tried to decline an unblock request. Primefac (talk) 02:34, 25 April 2020 (UTC)
AfD stats
Hey Enterprisey, it seems like AfD Stats does not recognise my !vote at Wikipedia:Articles for deletion/Scott E. Langum. Do you know what the issue could be? --MrClog (talk) 15:54, 6 May 2020 (UTC)
AFCH buggerino :(
So while reviewing drafts in AFCH I discovered a bug that when there is a notice (e.g. There is a comment with 30 characters of more) then none of the buttons work (accept, decline, comment, and the preferences button).
The buttons to "clean up/tag article for review" still work though, and removing the reason for the notice or tagging it as under review get rid of the bug. dibbydib boop or snoop 05:26, 11 May 2020 (UTC)
AFD stats
I am getting this error. Is this something on my end or the tool? Traceback (most recent call last): File "/data/project/afdstats/public_html//afdstats.py", line 91, in main db = MySQLdb.connect(db='enwiki_p', host="enwiki.labsdb", read_default_file=os.path.expanduser("~/replica.my.cnf")) File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect return Connection(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 204, in __init__ super(Connection, self).__init__(*args, **kwargs2) OperationalError: (1226, "User 's51480' has exceeded the 'max_user_connections' resource (current value: 10)") None
Fatal error. MistyGraceWhite (talk) 12:07, 26 May 2020 (UTC)
Error "titleblacklist-forbidden-move" AFCH script
Trying to accept a Draft article with a really long title.
Any info on what the script expects would me much appreciated.
Tried cutting the title down a little bit.
Error moving Draft:Scientific Research Institute of Healthcare Organization and Medical Management of Moscow Department of Healthcare (NIIOZMM DZM) to Research Institute of Health Organization and Medical Management of the Moscow Department of Health (NIIOZMM DZM): "titleblacklist-forbidden-move"
Thanks RonaldDuncan (talk) 17:23, 31 May 2020 (UTC)
- @RonaldDuncan: Done. It's a title blacklist thing, so you need to be a template editor or admin. --Mdaniels5757 (talk) 17:31, 31 May 2020 (UTC)
- Actually, hold up. I were so preoccupied with whether or not I could, I didn’t stop to think if I should. Doesn't look like a good title to me. --Mdaniels5757 (talk) 17:33, 31 May 2020 (UTC)
- Yes @Mdaniels5757: looked up the forbidden titles and I think the (NIIOZMM DZM) should be removed from the end RonaldDuncan (talk) 17:36, 31 May 2020 (UTC)
- A better title would be much appreciated RonaldDuncan (talk) 17:41, 31 May 2020 (UTC)
- Actually, hold up. I were so preoccupied with whether or not I could, I didn’t stop to think if I should. Doesn't look like a good title to me. --Mdaniels5757 (talk) 17:33, 31 May 2020 (UTC)



























