User talk:Enterprisey
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
[edit]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
[edit]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
WikiProject
appears 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
[edit]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?
[edit]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
[edit]- 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. [1]) - Deal with WikiProject banners (e.g. [2])
- Deal with duplicated categories / Make sure the categories are below the default sort (e.g. [3])
- 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
[edit]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
[edit] 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
[edit]This tool is malfunctioning. In these diffs, it removed important information and edited parts of the articles, it wasn't supposed to. [4] [5] [6]. Masum Reza📞 00:45, 7 August 2019 (UTC)
Add a few WikiProjects to AFCH field
[edit]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
[edit]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
[edit]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
[edit]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
[edit]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)
- Yes, that should be enough. --Muhandes (talk) 20:51, 14 October 2019 (UTC)
AFD Stats
[edit]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.
--Ahecht (TALK
PAGE) 22:16, 5 November 2019 (UTC)
- I submitted a pull request on github. --Ahecht (TALK
PAGE) 18:33, 9 November 2019 (UTC)
Possible issue with AFCH script
[edit]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. ([7]). 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
[edit]Also ping User:Σ. I used [8] (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
[edit]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!
[edit]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)
[edit]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
[edit]Hi there! Looking at my own AfD stats I notice some recent AfDs in which I voted aren't being picked up, e.g.
Is there something odd about these AfDs (or my vote) which stops them being included? Alexbrn (talk) 10:19, 9 December 2019 (UTC)
please add support for mobile, CustomSummaryPresets
[edit]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
[edit]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=redir
or|class=red
that 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=redir
or|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)
- As another example, here's a categorized redirect from several years ago that the bot hasn't processed yet. Do you know why it isn't finding these? czar 00:01, 2 January 2021 (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
[edit]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!
EdChem (talk) 00:09, 12 January 2020 (UTC)
Fancy diffs
[edit]This is a phenomenal script. This should be made default / a gadget. Headbomb {t · c · p · b} 19:03, 15 February 2020 (UTC)
- One thing I note is that this doesn't load reliably. I believe (from an unrelated discussion) that's because
( function () {
- should really be
$( function () {
- Headbomb {t · c · p · b} 22:12, 15 February 2020 (UTC)
Spelling error
[edit]Hi Enterprisey. Notice that in your automated script for DYK co-noms, you have a spacing error - "y contributed,has been nominated". Very useful project however and best. Ceoil (talk) 19:43, 15 February 2020 (UTC)
AfDStats doesn't count my votes
[edit]Hi, Enterprisey, I am WikiAviator. Today, I've voted for numerous AfD discussions such as [9]. 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
[edit]Diff-context is BACKWARDS, yet again: Special:Diff/950867459 Enterprisey (talk!) 08:34, 14 April 2020 (UTC)
Rename-reason-fixer
[edit]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)
- Yes, working great. Thanks!‐‐1997kB (talk) 06:39, 18 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)
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
[edit]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 :(
[edit]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
[edit]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
[edit]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)
Fancy-diffs
[edit]Fancy-diffs will provide a bad link on bare references, eg. "<ref>https://example.com</ref>" will link to "https://example.com</ref>".
Test case:[1] Special:Diff/962109019
LittlePuppers (talk) 04:13, 12 June 2020 (UTC)
cleaning up my messes |
---|
References |
Removing the article class assessment
[edit]This bot edit broke a WikiProject banner. --Redrose64 🌹 (talk) 18:30, 15 June 2020 (UTC)
- Yikes! Working on a fix for the bot. Will look into AWB for the fix. Enterprisey (talk!) 23:19, 15 June 2020 (UTC)
- Bot patched. Time to see how many talk pages I have to fix. Enterprisey (talk!) 01:53, 16 June 2020 (UTC)
- It went on for some years, did you find them all? I guess not. --Redrose64 🌹 (talk) 11:32, 18 July 2020 (UTC)
- Bot patched. Time to see how many talk pages I have to fix. Enterprisey (talk!) 01:53, 16 June 2020 (UTC)
CustomSummaryPresets as a gadget
[edit]Hi Enterprisey,
I am trying to port your script to tr.wiki as a gadget (due credit to be added), but there is a small issue I would very much like to overcome. What I am trying to do is to add two separate gadgets, one for the actual script and one for a default list of preset summaries, which the user will be able to disable and use their own custom summaries instead on their own common.js file. The issue is, the summary dropdown does show up but without the summaries, unless you add them to your own common.js file. I was wondering if you could suggest a way of solving this.
Vito Genovese 23:33, 16 June 2020 (UTC)
Links-in-logs script design
[edit]Hey Enterprisey,
I hope you're doing well. First, I wanted to say that I love your Links-in-logs user script. It is curious to me that MediaWiki includes built-in permalinks to revisions of pages, but not to specific log entries. When trying to link to a specific log entry, and with Special:Redirect relying on the log ID, it makes it extremely difficult to try and ascertain what the log ID of a specific log action is. Your script does this beautifully and glitch-free. I daresay this might easily be your best user script.
That being said, I'm wondering if you might tweak the functionality a little bit to the way in which it handles the link address cross-wiki and, in particular, on other wikis which often have the Wikimedia projects linked in Special:Interwiki. For example, on the Miraheze wikis, looking at Special:Log for Public Test Wiki, I have the script installed in my global.js file calling your script located on English Wikipedia using the mw.loader.load function. However, when I click on the log entry link with your script installed, it appears as this URL (directly pasted from "copy link address"). I realize I could export and import your script locally there, but I'm trying to avoid that as this makes it simpler for when you push through any updates. I think the issue is with the script calling both wgServer and wgScriptPath when it's called cross-wiki and/or globally. It seems like there should be a fairly easy fix for this and, with only 27 transclusions of this script, little worry of breaking things for (too many) users. Alternatively, if you wanted to fork this script as a sandbox version, I could test it on other wikis and English Wikipedia and let you know.
Cheers,
Dmehus (talk) 19:06, 26 June 2020 (UTC)
- Dmehus, thanks for letting me know about this issue. I'm not immediately sure what change I need to make to the script - should I be using only one of those two variables, or should I be doing an additional check for the script being called cross-wiki? A sandbox version would probably help. Enterprisey (talk!) 07:13, 30 June 2020 (UTC)
- Enterprisey, Thanks for the reply. Yeah, I initially thought it might be a problem with both those variables being called for and if the solution might be to remove one of them. I know very little, or next to no, JavaScript, so am just going from what I know about HTML/CSS and very basic PHP, so will have to defer to your expertise and judgment. However, while my programming experience is quite limited, I have experience testing and troubleshooting. I have since tried a couple things, to rule out whether it was an issue with my CSS/JS file. First, I noticed my externally loaded scripts included the https:// protocol prefix, but I have seen other users' externally loaded scripts, and a MediaWiki help documentation somewhere, use only // as the prefix, so I first made that change. Second, having recently confirmed five of my user scripts worked in my global.js file on the Miraheze wiki farm, I wanted to test whether it was a local issue on Miraheze, so I migrated those user scripts that I had confirmed were error-free cross-wiki to my global.js file on Meta Wiki (Wikimedia). No problems there, and the logs-in-links worked across Wikimedia.
- I'm not sure what you had in mind after checking if the script is being called for cross-wiki, so can't really comment there, but seeing as it seems to work globally on Wikimedia, I tend to think it's a problem with (one of) those variables (I'm much less confident that it is a local Miraheze configuration issue, since I do have those English Wikipedia user scripts being called remotely using the same method). I think an additional check to determine if the script is being called for on a server other than Wikimedia or Wikipedia couldn't hurt. What would be interesting is to try testing this on the Beta Cluster servers, maybe, since that uses a different domain? That way, we could determine if an additional check is required (i.e., if the user is on Wikimedia's production servers and/or beta servers returns as true, then it could use the normal scripting; otherwise, an alternative would be used). Feel free to setup a sandbox version and {{ping}} me with the location to try it out. Dmehus (talk) 09:21, 30 June 2020 (UTC)
- Imported my Meta Wiki (Wikimedia) global.js file to my Meta Wiki (Beta Cluster) global.js file, and confirmed the same error as on Miraheze's wiki farm. Since there's no problem with both those variables on the production Wikimedia servers, there's probably no harm in leaving that code as is, but it seems to be a problem with the server name being called for twice, essentially, by (one of) those server configuration variables and by the full path name in the user's script file. So, perhaps a check if it's being called for by a non-Wikimedia production server is best, and then it's a matter of taking out one of those variables. My "hunch" says take out wgServer, but again, with my limited JavaScript knowledge, that's really all it is, though it does seem logical. Dmehus (talk) 09:41, 30 June 2020 (UTC)
- @Enterprisey: I'm just following up with you to see if you had a chance to test my hypothesis yet on the problem of your links-in-logs user script not working on the Beta Cluster and non-Wikimedia wikis. Look forward to hearing from you when you get a chance. Dmehus (talk) 01:19, 11 November 2020 (UTC)
- Imported my Meta Wiki (Wikimedia) global.js file to my Meta Wiki (Beta Cluster) global.js file, and confirmed the same error as on Miraheze's wiki farm. Since there's no problem with both those variables on the production Wikimedia servers, there's probably no harm in leaving that code as is, but it seems to be a problem with the server name being called for twice, essentially, by (one of) those server configuration variables and by the full path name in the user's script file. So, perhaps a check if it's being called for by a non-Wikimedia production server is best, and then it's a matter of taking out one of those variables. My "hunch" says take out wgServer, but again, with my limited JavaScript knowledge, that's really all it is, though it does seem logical. Dmehus (talk) 09:41, 30 June 2020 (UTC)
Spambots
[edit]Just FYI on spambots - Stale or not they should be blocked upon discovery. See User_talk:KillerChihuahua/Archive_23#Spambots on discussion of this issue.--Cahk (talk) 08:49, 3 July 2020 (UTC)
User:Enterprisey/diff-permalink with "Browse history interactively"
[edit]Thank you for maintaining this extremely useful script. Unfortunately, when the shown diff is updated using the widget "Browse history interactively", the permalink to diff is not updated. —andrybak (talk) 09:21, 3 July 2020 (UTC)
Possible (very) minor AfD Statistics bug
[edit]Hi, When looking at my own profile at least at https://afdstats.toolforge.org/afdstats.py?name=kj_cheetham most of the dates don't have leading zeroes, e.g. "February 9, 2020". However when I was the nominator, they do, e.g. "February 08, 2020". -Kj cheetham (talk) 14:36, 18 July 2020 (UTC)
Status of StatusChanger
[edit]Hey, Enterprisey. Firstly, thanks for serving the community with your user-scripts. I Wanted to know whether the StatusChanger script is still functional. It doesn't seem to do anything. Regards, Field Marshal (talk) 18:23, 18 July 2020 (UTC)
Hello, can you add a possibility to add other WikiProject banners to the talk pages besides the AFC banners and mark them as redirect? Just a suggestion, of course you don't have to do that. --TheImaCow (talk) 18:32, 23 July 2020 (UTC)
- Most WikiProject banners don't need an explicit
|class=redirect
, it's autodetected as either Redirect-Class (if the banner allows that) or NA-Class (if it doesn't). There are only a small number of WikiProject banners that won't autodetect a redir correctly (or at all):{{WikiProject Anime and manga}}
needs an explicit|class=redirect
{{Maths rating}}
needs an explicit|class=redirect
{{WikiProject Military history}}
needs either|class=red
or|class=redirect
- note that|class=redir
doesn't work{{WikiProject Ships}}
needs either|class=red
,|class=redir
or|class=redirect
{{WikiProject U.S. Roads}}
needs either|class=redir
or|class=redirect
. This one will autodetect, and also recognises|class=red
, but for those two situations it gets the importance wrong (as well as a a few other things) so it's best to use an explicit|class=redirect
for this one too.
- I recently fixed
{{WikiProject Aviation}}
so that it autodetects - it already allowed the three variations on|class=redirect
. At this stage I don't know of any others with non-standard behaviour. --Redrose64 🌹 (talk) 23:22, 23 July 2020 (UTC)
RfA graph error / bug
[edit]Hi, I logged this on GitHub but I suspect here is a better place to notify you - https://apersonbot.toolforge.org/vote-history/?page=Wikipedia:Requests_for_adminship/Valereee does not parse the oppose !vote from Sachinthonakkara correctly. Ritchie333 (talk) (cont) 10:35, 28 July 2020 (UTC)
Blank old AFCH pages???
[edit]Am I right that there's no real reason not to blank the pages for the old version of AFCH, before your rewrite? That'd be the pages listed at Special:PrefixIndex/MediaWiki:Gadget-afchelper.js/, yeah? There's a baseurl
thing in your gadget that I've not looked into that seems to reference at least some of them? Maybe it'd be good to move the newer gadget out of your userspace first? ~ Amory (u • t • c) 18:44, 29 July 2020 (UTC)
unblock-review.js doesn't work well with autoblocks
[edit]When User:Enterprisey/unblock-review.js is used on an {{unblock-auto}} request, it doesn't work well. See Special:Diff/973555329 for an example. Three problems are apparent:
- It used {{unblock reviewed}} instead of {{unblock-auto reviewed}}
- It showed the blocking admin's name as the request reason, and threw away the rest of the original information
- It caused the page to end up in Category:Pages using duplicate arguments in template calls (cleaning out this category is what led me to notice this problem)
It should have done Special:Diff/973555207/973556032 instead of what it did. Jackmcbarn (talk) 22:00, 17 August 2020 (UTC)
Bot question
[edit]Hello, I created a bot to take a look at Huggle, but decided it wasn't something I wanted to use. I believe I disabled the bot, but I wanted to make sure. I don't want it doing something I didn't intend it to do and was hoping you could check that everything was disabled and secure. Not sure if I should post the name of the bot here. Hope all is well, thank you for your time. // Timothy :: talk 10:00, 8 September 2020 (UTC)
Unblock script filling in different sections
[edit]I've had a few issues lately where the unblock script has tried to enter my decline in another unblock template. I had it happen just now where it added to the unblock template in the block notice. Here it added it to an already declined template; same here. Any idea what's going on? only (talk) 19:59, 23 September 2020 (UTC)
AFCRHS.js and R from abbreviation
[edit]I don't see {{R from abbreviation}} on the category list for the Wikipedia:Articles for creation/Redirects and categories helper script under "From abbreviation ...". Is it somewhere else or is it not there? power~enwiki (π, ν) 04:44, 25 September 2020 (UTC)
User:Enterprisey/abusefilter-mass-test.js, when combined with User:Suffusion of Yellow/batchtest-plus, results in 2 different extra mass-test inputs. Suggest changing
$( "#wpFilterForm fieldset" ).append(
to only select the first fieldset.
Thanks, --DannyS712 (talk) 05:03, 26 September 2020 (UTC)
StatusChanger
[edit]Hi Enterprisey. I installed the script in my vector.js but its not working. When I click online/busy/sleep it just redirects me to my status page, where I have to edit it manually. Please help... ❯❯❯ S A H A 07:45, 30 September 2020 (UTC)
- @ArnabSaha, probably fixed. Enterprisey (talk!) 04:00, 2 October 2021 (UTC)
Hello, Enterprisey. I have a question along similar lines. I'm concerned that manually editing my status page (TBD) will artificially boost my edit count. Does your .js or another user's .js status changer alter the status directly in a way that doesn't get recorded as a user edit, as far as my account is concerned?
I would also like to share some ideas. Rather than having online, offline, and sleeping cluttering the top row, to instead just have a Status link to the user's /status subpage. There on the subpage, they can have a table of individual buttons for all of the status options available between <noinclude>
tags. Clicking a button will update their status to the button they clicked, preferably without recording it as a user edit... but if they have to edit the page anyway, they might as well have the status table transcluded without it being detectable by {{UserStatus}} or {{UserStatusShort}}.
Finally, have I read correctly that a user can manually change their status directly from the template, or the prefix to the status? What I mean is, it might be fun to allure to A Charlie Brown Christmas using something like {{UserStatusShort|name=REAL}}, and the User:{{ROOTPAGENAME}}/status page being IN
.
— CJDOS, Sheridan, OR (talk) 03:53, 4 August 2021 (UTC)
- @CJDOS, you would need to make a new account and run the script from there to make the edits show up on that account. For making the buttons only show up on your status page, you can write
if(mw.config.get("wgPageName") === "the_title_of_your_status_page_with_underscores")
in front of the line that mentions StatusChanger.js. And from the template documentation, it seems that you may set the demo parameter, like {{UserStatusShort|demo=sleeping}}, to change your status directly from the template, if I understand the question correctly. Enterprisey (talk!) 04:04, 2 October 2021 (UTC)
- An alternative account, cross-linked and labeled for the purpose per WP:ALTACCN. The alternative account taking the edit count from changing the status of my primary account. That's not a bad idea; I might just do that. Thank you for the suggestion, Enterprisey. How does it work regarding signing in? Would I have to sign into each account separately, i.e. if I wanted to edit using my primary account and have the status show that I'm online, would I also have to manually sign into my alternative account as well to edit my primary account's status? I suppose I could do it without signing in an alternative account, but IP addresses may be shared, and I'd rather not edit with an IP address. — CJDOS, Sheridan, OR (talk) 08:09, 2 October 2021 (UTC)
- Yes, you would have to sign in to the alternative account. You could also look into setting up a script that runs on your computer, so you wouldn't have to keep signing in. Enterprisey (talk!) 23:13, 2 October 2021 (UTC)
- If I've understood you correctly about my previous 3rd question, {{UserStatusShort|demo=REAL IN}} →
REAL IN
. I don't know if the demo= parameter exists for {{UserStatus}}, or the name= parameter exists for {{UserStatusShort}}. I mean, I assume that the demo= parameter will default to File:Symbol neutral vote.svg and gray text when given a status it's not setup for. This is why I was asking about the name= parameter of Template:UserStatus (misattributed to UserStatusShort). I will develop my own template, so I can use File:Face-smile-christmas.svg instead of File:Medic template.svg for the "REAL IN" status icon. — CJDOS, Sheridan, OR (talk) 18:22, 4 October 2021 (UTC)
- An alternative account, cross-linked and labeled for the purpose per WP:ALTACCN. The alternative account taking the edit count from changing the status of my primary account. That's not a bad idea; I might just do that. Thank you for the suggestion, Enterprisey. How does it work regarding signing in? Would I have to sign into each account separately, i.e. if I wanted to edit using my primary account and have the status show that I'm online, would I also have to manually sign into my alternative account as well to edit my primary account's status? I suppose I could do it without signing in an alternative account, but IP addresses may be shared, and I'd rather not edit with an IP address. — CJDOS, Sheridan, OR (talk) 08:09, 2 October 2021 (UTC)
AfC Helper Script Bug
[edit]Hello! I received a message on my talk page about a message I left for a user using the AFCH script, saying that I left them a message about a draft that they did not contribute to at all. After looking it over, this seems to be the case... The message on my talk page is at User talk:AviationFreak#Mayu Sagara (September 18), the message I left on that user's talk page is at User talk:Tlvernon#Your submission at Articles for creation: Mayu Sagara (September 18). The draft in question is Draft:Mayu Sagara, which Tlvernon has not edited at all. Not sure what's going on here, but it looks like a bug that needs fixing. Please ping me in any replies. Thanks! AviationFreak💬 13:51, 8 October 2020 (UTC)
Unblock review script
[edit]Would you be able to add a button (maybe with an alert verifying people want to press it) that allows the placement of idletimestamp in the unblock template? -- Amanda (aka DQ) 09:52, 17 October 2020 (UTC)
Links in logs on non-English wikis
[edit]Tried to use links-in-logs on other wikis, but mw.config.get( "wgPageName" )
doesn't return anything with "Special:Log" in it - perhaps use wgCanonicalSpecialPageName
instead? Thanks, --DannyS712 (talk) 21:34, 8 November 2020 (UTC)
JFYI, at the moment, there are four unanswered queries at the page User talk:Enterprisey/script-installer. —andrybak (talk) 11:42, 9 November 2020 (UTC)
- Got to three of them. I obviously need to get more free time from somewhere! Asked VPT for help. Enterprisey (talk!) 10:08, 10 November 2020 (UTC)
Vote history
[edit]Vote history hasn't been working so well for me when I've tried to use it recently. Is it me or the tool? Best, Barkeep49 (talk) 20:00, 13 November 2020 (UTC)
A cheeseburger for you!
[edit]writing javascript is supererogatory and appreciated jp×g 08:32, 30 November 2020 (UTC) |
User script helper options
[edit]Hey Enterprisey, is there any way to customize your user script helper? Currently it does not detect my redwarn dev script correctly, see this diff. Perhaps a way to signify which script to disable in the comments? For example:
mw.loader.load( '/w/index.php?title=User:Sportshead/rw17dev.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Sportshead/rw17dev.js]] @user-script-helper:http://localhost:45991/redwarn.js
Also, since importScript
is deprecated, will there be support for {{subst:lusc}} in the future on both script-installer and user-script-helper? Thanks! ―sportzpikachu my talkcontribs 04:33, 17 December 2020 (UTC)
A barnstar for you!
[edit]The Technical Barnstar | |
For your superb and speedy work in creating MediaWiki:Get-my-ip.js just two days after request! KevinL (aka L235 · t · c) 09:10, 21 December 2020 (UTC) |
A barnstar for you!
[edit]The da Vinci Barnstar | ||
For creating section-watchlist, especially the "view new text" feature. Really amazing! – SD0001 (talk) 11:12, 28 December 2020 (UTC) |
Installation Instructions
[edit]Hi Enterprisey, Currently the installation instructions for your userscripts say: Hint: It's much easier if you get ScriptInstaller, then navigate to User:Enterprisey/cv-revdel.js and click "Install" at the top.
. However script-installer also allows you to install scripts by simply clicking install in the script infobox. Wouldn't it be much easier to direct users to use that? Asartea Talk | Contribs 13:13, 5 January 2021 (UTC)
A barnstar for you!
[edit]The Technical Barnstar | |
Thank you for creating so many useful scripts for others to use! They're really great! PS. I'm officially stealing that Wernher von Braun quote on your user page as man does that ring true... DocFreeman24 (talk) 22:54, 18 January 2021 (UTC) |
AfD stats not registering properly?
[edit]Hi! Out of curiosity, I ran the AfD Stats tool on myself, and it only identified my !vote in 1 out of 200 discussions. Should I run it with different options somehow? XOR'easter (talk) 01:32, 10 February 2021 (UTC)
User status script
[edit]Hi Enterprisey, I have searched for guidance but can’t find how to get your user status script working? I’m probably missing something obvious but I would greatly appreciate it if you could point me in the right direction? Thanks, Skingo12 (talk) 00:30, 18 February 2021 (UTC)
Delsort
[edit]Hello! Does delsort update the categories it uses automatically or manually? I created some new delsorts (all under "Geographic/Americas/Canada": New Brunswick, Newfoundland and Labrador, Nunavut and Saskatchewan) but they did not show up, so I am imagining it is manual... By the way, thanks VERY much for all your excellent coding work here. --- Possibly (talk) 18:26, 11 March 2021 (UTC)
AfD stats tool suggestion
[edit]Hi Enterprisey! I noticed the AfD stats tool has been including April Fools nominations. Would it be possible to ask it to ignore !votes on any page that transcludes {{humor}}? {{u|Sdkb}} talk 22:30, 17 April 2021 (UTC)
warning and success classes
[edit]One or more or your scripts uses the warning
or success
classes. Be aware that the styling for these classes may be removed in the near future. See WP:VPT#Tech News: 2021-18 for a list of scripts. --Izno (talk) 18:12, 3 May 2021 (UTC)
Pending AfC Submissions
[edit]Hey! I was looking at https://apersonbot.toolforge.org/pending-subs/ as you recently posted the link over at AfC and thought it would be good to make sure all/most submissions had projects tagged. However it appear to have a bug as 2 out of 3 I just checked did have projects added! Anyway not a biggy, just thought I'd let you know. Cheers KylieTastic (talk) 17:11, 6 June 2021 (UTC)
scriptInstaller (or, stylesheetInstaller ;) )
[edit]Hey Enterprisey, I'm a big fan of scriptInstaller, but I would love if it (or another script) could support stylesheets :) Just a small low-priority feature request. 🐶 EpicPupper (he/him | talk, FAQ, contribs) 00:31, 22 June 2021 (UTC)
Feedback for template
[edit]Hi, I created two templates in my namespace: User:Schrauber5/Marstime and User:Schrauber5/Mars2020time. I plan to put them in the template namespace and it would be kind if you to give me some feedback. These are my first templates. Schrauber5 (talk) 20:11, 10 July 2021 (UTC)
A barnstar for you!
[edit]The Technical Barnstar | |
For all your work during the AfC July 2021 backlog drive ... and which helped me personally towards contributing much more than I expected (ie tracking my progress). Goldsztajn (talk) 00:08, 12 August 2021 (UTC) |
Wikimania 2021
[edit]Wikimania Barnstar | |
Thank you for being one of the panelists for Wikimania:2021:Submissions/Editing the Wiki Way: software and the future of editing. I loved seeing how your ideas developed, and I'm looking forward to seeing what you do with them. You may want to keep an eye on the Editing team's plans for next year. They're looking at how to make it easier to plug tools into mw:Extension:VisualEditor. Again, thank you. Whatamidoing (WMF) (talk) 19:41, 19 August 2021 (UTC) |
AfD stats and redirects
[edit]Forgive me if we discussed this before - but https://afdstats.toolforge.org/ still lists 'redirect' verdict in 'green' as kept. I think this is wrong - redirects should be counted as deletion. On the other hand, 'merge' is counted as 'deletion', despite being more inclusive. I'd suggest counting 'merge' with 'no consensus' or in its own, separate section. PS. I see #About the AfD stats tool to which you never replied? :( Piotr Konieczny aka Prokonsul Piotrus| reply here 03:10, 6 September 2021 (UTC)
- I suppose that sounds reasonable. It takes a bit of time to dig around in that old code, but I'll see if I can get to it this weekend. Enterprisey (talk!) 07:13, 17 September 2021 (UTC)
Congratulations from WikiProject Articles for Creation!
[edit]The Gold Wiki Award | |
On behalf of WikiProject Articles for Creation, I award you the Gold Wiki Award for organizing the technical side of the July 2021 Backlog Drive. Thank you for your work to improve Wikipedia! Pahunkat (talk) 10:46, 12 September 2021 (UTC) |
- Seconded. The drive was an incredible success and we couldn't have done it without you. — Bilorv (talk) 10:50, 12 September 2021 (UTC)
- +1 The above is literally true. Thank you for your enterprising, Enterprisey. Usedtobecool ☎️ 11:01, 12 September 2021 (UTC)
- +1 Thank you, Enterprisey. ― Qwerfjkltalk 17:27, 12 September 2021 (UTC)
- Thanks everyone! I appreciate it a lot. Enterprisey (talk!) 07:14, 17 September 2021 (UTC)