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)[reply]
What's Enterprisey working on? (As of 23:14, 1 January 2022 (UTC)) (edit)
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.
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)
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.
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)[reply]
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)[reply]
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)[reply]
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.
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)[reply]
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)[reply]
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)[reply]
@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)[reply]
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)[reply]
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)[reply]
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.
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? SeraphimbladeTalk to me21:43, 13 November 2019 (UTC)[reply]
About the AfD stats tool
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 here02:46, 14 November 2019 (UTC)[reply]
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. GMGtalk16:43, 19 November 2019 (UTC)[reply]
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)
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 contributions20:06, 5 December 2019 (UTC)[reply]
AfD stats
Hi there! Looking at my own AfD stats I notice some recent AfDs in which I voted aren't being picked up, e.g.
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. czar15:04, 1 March 2020 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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. czar03:40, 18 April 2020 (UTC)[reply]
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.
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. czar17:45, 31 May 2020 (UTC)[reply]
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? czar00:01, 2 January 2021 (UTC)[reply]
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.
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)[reply]
AfDStats doesn't count my votes
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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. dibbydibboop or snoop05:26, 11 May 2020 (UTC)[reply]
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
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"
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.
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.
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)[reply]
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)[reply]
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)[reply]
@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)[reply]
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)[reply]
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)[reply]
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):
{{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.
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)[reply]
unblock-review.js doesn't work well with autoblocks
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 :: talk10:00, 8 September 2020 (UTC)[reply]
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 A07:45, 30 September 2020 (UTC)[reply]
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)[reply]
@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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
Links in logs on non-English wikis
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)[reply]
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! ―sportzpikachumy talkcontribs04:33, 17 December 2020 (UTC)[reply]
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? AsarteaTalk|Contribs13:13, 5 January 2021 (UTC)[reply]
A barnstar for you!
The Technical Barnstar
Thank you for creating so many useful scripts for others to use! They're really great!
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)[reply]
Delsort
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)[reply]
AfD stats tool suggestion
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}}talk22:30, 17 April 2021 (UTC)[reply]
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)[reply]
scriptInstaller (or, stylesheetInstaller ;) )
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)[reply]
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)[reply]
Hey! It seems like cv-revdel is causing some visual issues on new Vector - there's an extra "search" button and a lot of the padding is broken, causing the search bar to move up. I've confimed that this occurs on Firefox and Chrome, and have attached an example screenshot. Thanks! Remagoxer(talk)18:45, 7 October 2021 (UTC)[reply]
Hi Enterprisey! Following up from our WCNA discussion, this thread is a good example of how WP:PRESERVE isn't always followed. I'm increasingly coming around to the view that we ought to get rid of the PROD system entirely. I don't know when the last big discussion on PRODding was, but it might be time for another. Coupling the deprecation with some way to make it easier for obviously deletable articles to go through AfD might help with getting consensus.
(Sidenote: I like your time editnotice! Hope you don't mind if I copy it into a template so other users can take advantage. The only reason I won't be using it myself is that I don't want to start getting "why are you awake?!" messages haha) {{u|Sdkb}}talk18:15, 11 October 2021 (UTC)[reply]
Sounds like it has potential. I'd have more to say but I haven't the free time, sorry! And yeah absolutely feel free to copy it into a template or do whatever you want with it. Enterprisey (talk!) 09:57, 14 October 2021 (UTC)[reply]
Section link JS userscript
Hi. Thanks for the script. Would you consider updating the script with autoClose: true in the PopupWidget params? Also, the current version doesn't update the text-to-copy if a second popup is enabled and will still have the first text in the copy span. It's probably because it's var instead of let and is thus popup === null is only valid for the first popup. I've removed the entire if-else for popup and it seems to work fine. This also removes the need for var popup = null and you can put let popup = new OO.ui.PopupWidget. Here's my diffs: Special:Diff/1050085717 with autoClose set to true. — DaxServer (talk to me) 18:18, 15 October 2021 (UTC)[reply]
This one is a much better version. I've moved the function outside of the loop and updated the navigator id as "copy-section-wikilink-{normal/permalink/oldid}+{hash without #}" to better identify. Diff: Special:Diff/1050086726/1050525234. The CSS change is just my preference and you can set it to your existing version. I'd override it in my commonjs. — DaxServer (talk) 10:48, 18 October 2021 (UTC)[reply]
easy-brfa
Hello Enterprisey! I enjoy using easy-brfa, but I use a global user page for TolBot, which easy-brfa does not detect, and does not let me file the BRFA. Could you please fix this? Thank you! Tol (talk | contribs) @ 17:55, 16 October 2021 (UTC)[reply]
Hi Enterprisey. I'm one of the heretics people who use the new vector skin and a big fan of your scripts; I noticed that two of them have incompatibilities with NV:
On high zoom levels (~140%), User:Enterprisey/superjump.js draws the leftmost part of the pop-up box "under" the left sidebar. My laptop has a pretty small screen though, so I suspect I'm one of very few people to ever run into this issue
I thought I'd drop a note here in case it's an easy fix (though the easiest one would probably be for me to just move back to old vector ). Best, --Blablubbs (talk) 11:29, 31 October 2021 (UTC)[reply]
Hello Enterprisey! I had a quick question about this bot, specifically related to task 10. It removes the class parameter for redirects, but it also leaves in the importance parameter. I was wondering if there was a particular reason for this decision or if it could be changed to remove both parameters. I have never seen a project that commonly assigns importance ratings to redirects and was curious if there was a reason for keeping them in. Thanks! Jay eyem (talk) 06:15, 20 December 2021 (UTC)[reply]
Are you still maintaining the old XfD Stats tool? If so, it seems to be having trouble excluding relists from the !vote count: see my stats, for instance. The problem seems to have emerged just after this change to the relist template, so that's probably what's causing it. I don't have nearly the technical know-how needed to put in a request in GitHub myself, so any help would be appreciated (if you still have any free time left after ArbCom etc.). Hope all is well with you and yours. Best regards, Extraordinary Writ (talk) 07:44, 15 January 2022 (UTC)[reply]
Bug with Recently Active Admins
There is a bug with Recently Active Admins involving apostrophes in usernames. Clicking on someone like User:R'n'B (who is an admin and has apostrophes in their username)'s username, talk page or contributions page from the tool will take you to User:R'n, who doesn't exist (and is not an admin). There are probably more examples of this out there, but I haven't found any others yet. —GMX(on the go!)17:40, 19 January 2022 (UTC)[reply]
easy-brfa suggestion: watchlist the BRFA automatcally
Would you consider changing line no. 105, to read suppressor, so that it shortens after the change to the groupname? Happy Editing--IAmChaos08:43, 4 May 2022 (UTC)[reply]
Feature request–discussion analyzer
Hi there, Enterprisey! Over the course of using your discussion analyzer tool for RfAs, I noticed that struck votes are simply treated as if there were never cast in the first place. I know it'd take longer to load, so is there a way to toggle an option where the votes-over-time graph is constructed by analyzing each revision separately? Many thanks :) theleekycauldron (talk • contribs) (she/they) 23:57, 10 May 2022 (UTC)[reply]
Can you make the posts collapsible so the talk page is less long
Hello Enterprisey! I hope you are well and know that you are busy. But the matter seems serious. I exported and localized your script installer on Bengali Wikipedia. Now I have proposed to transfer it to gadget.
One Wikipedian commented that, the script installs with importScript, which is not smooth on mobile and desktop. While reading the script I saw case 0 using importscript and case 1/2 using mw.loader.load. Does it have a special cause or rationale? Or if I use Case 1 by default in the script, will there be a problem? Because, our template installs Case 1.
I had tried that. Weirdly while it can report the number of AfD's, the tool is not providing the stats, it reports to me as "No votes found". HighKing++ 18:17, 7 June 2022 (UTC)[reply]
I suspect that the bot is able to work out which AfD pages link to a given user page, but is not able to identify the individual !votes. This may be because it is unable to parse the signature. Here's a sample: 7&6=thirteen (☎) - this contains the invalid attribute style="text-shadow:#396 0.2em 0.2em 0.5em; class=texhtml" which should be two attributes, either style="text-shadow:#396 0.2em 0.2em 0.5em;" class=texhtml or style="text-shadow:#396 0.2em 0.2em 0.5em;" class="texhtml". Notice also the three instances of a character entity for the ampersand in 7&6=thirteen, this may also cause problems for the bot. --Redrose64 🌹 (talk) 22:54, 7 June 2022 (UTC)[reply]
Wikipedia:WikiProject Deletion sorting/Schools
I note that this page has many items in the history flagged as "assisted", linking to one of your scripts. Is there any reason why these are linked in the edit comment with underscores rather than spaces in the titles, which, apart from being able to cause problems with sideways scrolling, is simply unsightly? Phil Bridger (talk) 19:14, 8 June 2022 (UTC)[reply]
AfC Stats low priority question
While it is doing the incremental loading of the users AfC stats, is it time based? that is loading older edits each cycle? Just idle curiosity. 15:32, 16 June 2022 (UTC)
AfC script problem
Hello Enterprisey, I accepted The Apparition Phase to mainspace using the AfC helper script and noticed that the script didn't add an AfC banner to the talk page. Why didn't it get the standard AfC banner? I also entered some WikiProjects when accepting the draft and they weren't automatically added, I had to manually add them after the fact. Do you know why this happened and how I can avoid it in the future? Also, is there a way to retrospectively add the AfC banner to the draft's talk page? TipsyElephant (talk) 17:24, 1 July 2022 (UTC)[reply]
Here you can see it -- AfDs that the user nominated have zero-padded days (July 04, 2022), whereas others don't (July 5, 2022). I bet it's not that big of a deal. I'll probably submit a pull request if I have time and remember to. jp×g15:08, 8 July 2022 (UTC)[reply]
The {{cv-revdel}} template has a |comment= parameter, which allows you to specific additional information for deleting administrators. However, in your script, there isn't an option to use this parameter. Is it possible you could add a field to fill this parameter as well? Many thanks, – Berrely • T∕C09:50, 14 August 2022 (UTC)[reply]
Hi Enterprisey. I was wondering if your AFD stats has, or could have, an API that my bot could tap into of all the data collected. It doesn't have to be anything fancy, but just array style information that would normally load on the page. I am thinking of writing a new script, and the information compiled there would be very useful for it. Please ping on reply. -- Amanda (she/her)15:22, 30 September 2022 (UTC)[reply]
It doesn't have one right now. The code is messy but it wouldn't be too tough. It would be really easy for me to add HTML classes and IDs to the elements for easier scraping, if you're ok with that. Enterprisey (talk!) 18:29, 4 October 2022 (UTC)[reply]
Howdy Enterprisey, what do you think of this idea to honor cool wiki projects: Awesome wiki ?
We don't have a lot of things like this outside of the coolest tool awards; I thought it might be nice to have a lightweight continuous channel for this. – SJ +18:54, 24 November 2022 (UTC)[reply]
Adding rcatshell with AFCR Script
Hello! Hope you are well this holiday season.
I am just inquiring to see if it would be possible/easy to include the rcatshell template when adding redirect categories with the AFCR script (so they don't look like this). It's a small thing, but it would be quite helpful when accepting redirects.
If this isn't easy to implement, please don't prioritise it. It's not important at all. However, if you have any spare time and it's easy to add, it would be great! Thanks, echidnaLives - talk - edits06:40, 20 December 2022 (UTC)[reply]
Looks like you need to do something like change L649 to
Commenting out Redirect class in {{WikiProject U.S. Roads}} has the side effect of adding NA-Class importance ratings. That banner template is designed to always have article assessments explicitly stated, so removing them by bot breaks things a bit. Imzadi 1979→12:37, 23 December 2022 (UTC)[reply]
On this revision, the banner doesn't know that it's a redirect, so it flags the page as needed a KML file, needing a map, etc. and reverts to NA-Class for importance, but when the class assessment is explicitly noted, as in this revision, the banner correctly handles everything. Imzadi 1979→12:41, 23 December 2022 (UTC)[reply]
@Enterprisey, Redrose64: If |class=redirect is not specified on a redirect, as on this revision, it will detect the redirect and apply Redirect-Class, as I already noted above.
The trouble is that the banner is built to track compliance with various project standards in articles. To that end, on an article, we need to note a value for |needs-map= and |needs-jctint=. There is also |needs-KML=, but that is optional because the banner can check to see if the KML file exists at the correct name based on thee article title.
Files, redirects, dabs and the like don't need these items, so when |class=redirect is specified, the banner bypasses the requirement for it. If you look at the referenced revision produced when the bot removed the class assessment, now the banner has "This article has been identified as having the following issues:", and the collapsed section says that it doesn't know the article eras a hard-coded junction list, that it doesn't know if the article has a map, and that the article has is missing a KML. The banner also defaults to NA-importance.
When I reinstated the explicit assessment in this revision, the unneeded importance and the article issues disappear.
which will force any page where the |class= param is either blank or omitted, and the |importance= param is entirely omitted, to be treated as Mid-Importance. I don't think that's a desirable default. --Redrose64 🦌 (talk) 00:06, 28 December 2022 (UTC)[reply]
Restating from archive here, from several years ago:
"Hi, I am a fan of the wp:AFDSTATS tool (i understand it was developed by User:Scottywong and maintained by you and User:Σ), however I have a potentially easy-to-implement suggestion about ordering the outcomes for visual clarity about an editor's conformance with prevailing views. Ordering the matrix rows and columns as SK, K, M, U, NC, T, R, D, SD, instead of the current random-like order, would make perfectly conforming performance appear on the diagonal, and it will be visually more clear when a voter's tallies are far off (off-diagonal). Merge is closer to Keep because it agrees there is some material worth keeping somewhere, and similarly for Userfy/Draftify. No consensus is properly in the middle. Redirect is closer to Delete as it asserts there's nothing worth merging. T for Transwiki is rare but is useful to keep as an option to remind us of the possibility, but I put it to the right of middle because it conveys the material is inappropriate for wikipedia, unlike M and U."
Reordering display from SK to SD that way would [still] be a good improvement, methinks.
I don't necessarily disagree with your idea, it would be interesting to see how a reordered matrix changes the visualization. Although, I'm not sure if your proposed change would make as much of a difference as you think. As long as the vertical axis and the horizontal axis list the options in the same order, then you'll see the diagonal light up green for any user whose votes tend to match the eventual consensus. To get that diagonal effect, it doesn't really matter what order things are in as long as they're in the same order vertically and horizontally. However, ordering things in the way that you suggested (essentially on a continuous spectrum from keep to delete) might allow the user to understand deviations from the diagonal more easily. For instance, if an editor tends to be more of an inclusionist, then their matrix might show the green diagonal on the "keep" side of the spectrum, but then gradually veer off the diagonal as you get closer to the delete side. Either way, I haven't touched the original code for this tool in probably a decade, and I don't even know where it's hosted these days, so I probably can't be much help. —ScottyWong— 22:17, 14 March 2023 (UTC)[reply]
Just to note that this edit is sub-optimal because the bot missed the WPUSA project and so the bot will need to run by this page again some day — Martin (MSGJ · talk) 07:41, 15 May 2023 (UTC)[reply]
The ol' bot tasks haven't been doing too well lately in general and need a serious once-over. I don't currently have too much daily access to a computer, but once I'm back, I'll put the bot tasks higher on my to-do list. Enterprisey (talk!) 14:59, 5 July 2023 (UTC)[reply]
Minor thing with afdstats.toolforge.org
I've noticed that if I nominate an article for afd [10], and then, during the discussion, !vote for something else (keep, redirect), I will not be "(Nom)" in the stat page Vote-column, like with my latest afd, Wikipedia:Articles for deletion/Fatma Hatun. It doesn't happen very often, but it happens.
I see nobody has responded to you. I have a similar question, about whether there is a browser-specific function enablement. I use FireFox and do not see the 'More' element as suggested by the documentation. User:Ceyockey (talk to me) 01:15, 27 October 2023 (UTC)[reply]
@Enterprisey I also added a pull request to migrate the code to Python 3.9 so that afdstats can be run on Kubernetes once Grid Engine shuts down next week. I merged Pppery's changes into mine as well. If you need any help getting it running on Kubernetes let me know, as I was able to get my afdstats2 instance moved over after a bit of trial and error. --Ahecht (TALK PAGE) 02:59, 8 December 2023 (UTC)[reply]
EnterpriseyBot: Notify users of DYK nominations failure
EnterpriseyBot's task "Notify users of DYK nominations" failed to run per the configuration specified at Wikipedia:Bot activity monitor/Configurations. Detected only 0 edits in the last 2 weeks, whereas at least 1 was expected. If/when the issue is fixed, please change the section title (e.g. append " - Fixed") or remove this section completely. When that is done, this notice will be reposted if the bot task is still broken or is re-broken. If your bot is behaving as expected, then you may want to modify the task configuration instead. Or to unsubscribe from bot failure notifications, remove the |notify= parameter from the {{/task}} template. Thanks! – SDZeroBot (talk) 17:20, 13 November 2023 (UTC)[reply]
EnterpriseyBot's task "Update WiR CSD report" failed to run per the configuration specified at Wikipedia:Bot activity monitor/Configurations. Detected only 0 edits in the last 1 week, whereas at least 1 was expected. If/when the issue is fixed, please change the section title (e.g. append " - Fixed") or remove this section completely. When that is done, this notice will be reposted if the bot task is still broken or is re-broken. If your bot is behaving as expected, then you may want to modify the task configuration instead. Or to unsubscribe from bot failure notifications, remove the |notify= parameter from the {{/task}} template. Thanks! – SDZeroBot (talk) 17:20, 13 November 2023 (UTC)[reply]
ArbCom 2023 Elections voter message
Hello! Voting in the 2023 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 11 December 2023. All eligible users are allowed to vote. Users with alternate accounts may only vote once.
The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.
Following a talk page discussion, the Administrators' accountability policy has been updated to note that while it is considered best practice for administrators to have notifications (pings) enabled, this is not mandatory. Administrators who do not use notifications are now strongly encouraged to indicate this on their user page.
Arbitration
Following a motion, the Extended Confirmed Restriction has been amended, removing the allowance for non-extended-confirmed editors to post constructive comments on the "Talk:" namespace. Now, non-extended-confirmed editors may use the "Talk:" namespace solely to make edit requests related to articles within the topic area, provided that their actions are not disruptive.
The Arbitration Committee has announced a call for Checkusers and Oversighters, stating that it will currently be accepting applications for CheckUser and/or Oversight permissions at any point in the year.
Hi Enterprisey! I'd like to wish you a splendid solstice season as we wrap up the year. Here is an artwork, made individually for you, to celebrate. It was great meeting you in Toronto, and I look forward to trying out whatever cool gadget you come up with next :) Take care, and thanks for all you do to make Wikipedia better!Cheers, {{u|Sdkb}}talk
Solstice Celebration for Enterprisey, 2023, DALL·E 3.
New year, new scripts. Welcome to the 23rd issue of the Wikipedia Scripts++ Newsletter, covering around 39% of our favorite new and updated user scripts since 24 December 2021. That’s right, we haven’t published in two years! Can you believe it? Did you miss us?
Got anything good? Tell us about your new, improved, old, or messed-up script here!
User:Alexander Davronov/HistoryHelper has now become stable with some bugfixes and features such as automatically highlighting potentially uncivil edit summaries and automatically pinging all the users selected.
To a lesser extent, the same goes for User:PrimeHunter/Search sort.js. I wish someone would integrate the sorts into the sort menu instead of adding 11 portlet links.
Aaron Liu: Watchlyst Greybar Unsin is a rewrite of Ais's Watchlist Notifier with modern APIs and several new features such as not displaying watchlist items marked as seen (hence the name), not bolding diffs of unseen watchlist elements which doesn’t work properly anyways, displaying the rendered edit summary, proper display of log and creation actions and more links.
Alexis Jazz: Factotum is a spiritual successor to reply-link with a host of extra features like section adding, link rewriting, regular expressions and more.
User:Aveaoz/AutoMobileRedirect: This script will automatically redirect MobileFrontend (en.m.wikipedia) to normal Wikipedia. Unlike existing scripts, this one will actually check if your browser is mobile or not through its secret agent string, so you can stay logged in on mobile! Hooray screen estate!
Deputy is a first-of-its-kind copyright cleanup toolkit. It overrides the interface for Wikipedia:Contributor copyright investigations for easy case processing. It also includes the functionality of the following (also new) scripts:
User:Elominius/gadget/diff arrow keys allows navigation between diffs with the arrow keys. It also has a version that requires holding Ctrl with the arrow key.
Frequently link to Wikipedia on your websites yet find generating CC-BY credits to be such a hassle? Say no more! User:Luke10.27/attribute will automatically do it for ya and copy the credit to yer clipboard.
User:MPGuy2824/MoveToDraft, a spiritual successor (i.e. fork) to Evad37's script, with a few bugs solved, and a host of extra features like check-boxes for choosing draftification reasons, multi-contributor notification, and appropriate warnings based on last edit time.
/CopyCodeBlock: one of the most important operations for any scripter and script-user is to copy and paste. This script adds a copy button in the top right of every code block (not to be confused with <code>) that will, well, copy it to your clipboard!
m:User:NguoiDungKhongDinhDanh/AceForLuaDebugConsole.js adds the Ace editor (a.k.a. the editor you see when editing JS, CSS and Lua on Wikimedia wikis) to the Lua debug console. "In my opinion, whoever designed it to be a plain <textarea> needs to seriously reconsider their decision."
GANReviewTool quickly and easily closes good article nominations.
ReviewStatus displays whether or not a mainspace page is marked as reviewed.
SpeciesHelper tries to add the correct speciesbox, category, taxonbar, and stub template to species articles.
User:Opencooper/svgReplace and Tol's fork replaces all rasterized SVGs with their original SVG codes for your loading pleasures. Tell us which one is better!
ArticleInfo displays page information at the top of the page, directly below the title.
/HeaderIcons takes away the Vector 2022 user dropdown and replaces it with all of the icons within, top level, right next to the Watchlist. One less click away! There's also an alternate version that uses text links instead of icons.
Following a motion, the Arbitration Committee rescinded the restrictions on the page name move discussions for the two Ireland pages that were enacted in June 2009.
@Enterprisey, thanks for organizing the "Lightning Talks" for Wikipedia day. I just put in a talk to share my experiences (good and bad) with using LLMs to summarize RS for Wikipedia content. While on the page, I noticed that Eventbrite tickets are required. When I went to get one, I was waitlisted. I sent a note to the organizer explaining that when I "signed up" back in December, I didn't realize I also needed an Eventbrite ticket. I also explained that I will be giving a lightning talk. Hopefully, that will get me to the top of the waitlist.
In the event I do get in, should I bring a PowerPoint showing some examples? How should I send it to you?
If I don't get in, I would still be happy to give my talk remotely through Zoom.
@Nowa, I will raise your waitlist question with the other organizers and I'll get back to you on that if there's any news. Regarding your presentation, you can upload a PDF of it to Wikimedia Commons and I can present it from there. Thank you for offering to do it through Zoom as well. I think that should be perfectly fine. Enterprisey (talk!) 14:09, 8 January 2024 (UTC)[reply]
Hi Enterprisey. As you have been inactive in int-admin matters this flag has been removed from your account per the policy. Should you need this again, you may request at WP:BN. This change has no impact on your standard administrator access. Best regards, — xaosfluxTalk16:39, 29 January 2024 (UTC)[reply]
An RfC about increasing the inactivity requirement for Interface administrators is open for feedback.
Technical news
Pages that use the JSON contentmodel will now use tabs instead of spaces for auto-indentation. This will significantly reduce the page size. (T326065)
Arbitration
Following a motion, the Arbitration Committee adopted a new enforcement restriction on January 4, 2024, wherein the Committee may apply the 'Reliable source consensus-required restriction' to specified topic areas.
Community feedback is requested for a draft to replace the "Information for administrators processing requests" section at WP:AE.
A vote to ratify the charter for the Universal Code of Conduct Coordinating Committee (U4C) is open till 2 February 2024, 23:59:59 (UTC) via Secure Poll. All eligible voters within the Wikimedia community have the opportunity to either support or oppose the adoption of the U4C Charter and share their reasons. The details of the voting process and voter eligibility can be found here.
Community Tech has made some preliminary decisions about the future of the Community Wishlist Survey. In summary, they aim to develop a new, continuous intake system for community technical requests that improves prioritization, resource allocation, and communication regarding wishes. Read more
That should be correct (and is quite straightforward). Setting the edit request to active again. I also tried the change in a .js sandbox, and it did enable this to work at both pages. (If the IPER reviewer sees a need for further testing, at least undo this edit so that it can again be used at /Redirects if not also at /Categories.) SilverLocust💬07:58, 18 February 2024 (UTC)[reply]
EnterpriseyBot: Update WikiProject banners for redirects failure
EnterpriseyBot's task "Update WikiProject banners for redirects" failed to run per the configuration specified at Wikipedia:Bot activity monitor/Configurations. Detected only 0 edits in the last 1 day, whereas at least 1 was expected. If/when the issue is fixed, please change the section title (e.g. append " - Fixed") or remove this section completely. When that is done, this notice will be reposted if the bot task is still broken or is re-broken. If your bot is behaving as expected, then you may want to modify the task configuration instead. Or to unsubscribe from bot failure notifications, remove the |notify= parameter from the {{/task}} template. Thanks! – SDZeroBot (talk) 00:20, 17 February 2024 (UTC)[reply]
Scripts++ Newsletter – Issue 24
Hello everyone, and welcome to the 24th issue of the Wikipedia Scripts++ Newsletter, covering all our favorite new and updated user scripts since 24 December 2021. Uh-huh, we're finally covering the good ones among the rest! Aren't you excited? Remember to include a link in double brackets to the script's .js page when you install the script, so that we can see who uses the script in WhatLinksHere! The ScriptInstaller gadget automatically does this. Aaron Liu (talk) 01:00, 1 March 2024 (UTC)[reply]
Got anything good? Tell us about your new, improved, old, or messed-up script here!
Featured script
Making user scripts load faster by SD0001 is this month's featured script, which caches userscripts every day to eliminate the overhead caused by force-downloading the newest version of scripts every time you open a Wikipedia page. Despite being released in April 2021, our best script scouters have failed to locate it due to its omission from the US of L. For security reasons, the script only supports loading JavaScript pages.
Newly maintained scripts
After earthly attempts at improving the original have failed...
Ahecht has created a fork of SiBr4/TemplateSearch, which adds the "TP:" shortcut for "Template:" in the search box, and updated it to be compatible with Vector 2022.
AquilaFasciata/goToTopFast is a much faster fork of the classic goToTop script that also adds compatibility for Minerva and Vector 2022.
Without caching. Each script takes 400–500ms. A particularly large script takes 1.11 s! Internet download speed is 50 Mbps.With caching enabled. Each script takes just 1-2 ms to load.
Improve a script
Unfortunately, this section has remained nearly identical. Help us out here!
To a lesser extent, the same goes for PrimeHunter/Search sort. I wish someone would integrate the sorts into the sort menu instead of adding 11 portlet links.
Dragoniez/SuppressEnterInForm stops you from accidentally submitting anything due to pressing enter while in the smaller box, and works on almost anything... except the InputBox element itself, used in subscription lists and the Signpost Crossword! Oh, the humanity!
Doǵu/Adiutor(pictured) provides a nice, integrated interface to do some twinkley tasks such as copyvio detection, CSD tagging, and viewing the most recent diff.
Eejit43 has quite the aesthetically pleasing scripts, all made in TypeScript.
/afcrc-helper is a replacement for the unmaintained Enterprisey/AFCRHS and processes Redirects for Creation and Categories for Creation requests.
/ajax-undo stops the "undo" button from taking you to another page while providing a text box to provide a reason for the revert.
/redirect-helper(pictured) adds a much better interface for editing and redirects, including categorization, for which valid categories are dictated by /redirect-helper.json.
/rmtr-helper helps process technical requested moves without being able to actually move them.
Guycn2/UserInfoPopup(pictured) adds a flyout after the watchlist star on userspace pages that displays the common information you might use about a user.
Jeeputer/editCounter, under userspace, adds a portlet link to count your edits by namespace, put them in a table, and put that table in a hardcoded subpage, all in the background.
Hilst/Scripts/sectionLinks converts all section links to use the § sign, which are known to be preferred over the ugly # by 99% of the devils I've met.
PrimeHunter/Category source.js adds portlet links to tell you where a category for an article comes from and supports those from template transclusions.
Sophivorus's MiniEdit adds some nice, li'l buttons next to paragraphs to edit their wikitext with a minimal interface.
Edit-listings
Dragoniez/ToollinkTweaks adds more and customizable links next to users in page history, logs, watchlist, recent changes, etc.
Firefly/more-block-info optimizes the display of rangeblocks in contribution pages. Doesn't work outside the English locale of any wiki, unfortunately.
NguoiDungKhongDinhDanh/AjaxLoader makes paging links (e.g. older 50, 500, newest) load without refreshing and makes you realize how slow your internet actually is.
Appearance-ricing
Ahecht/RedirectID adds the redirect target to all redirects. For all the WP:NAVPOPS haters. (Do these exist?)
Dragoniez/MarkBLockedGlobal: Remember the "strike blocked usernames" gadget? Now you can use a red, dotted line to highlight rangeblocks and global locks!
Jonesey/common(pictured) has some styles to overhaul your Vector 2022 experience. It reduces padding everywhere, and makes the top bar animation faster.
Aaron Liu/V22 is a fork that narrows the sidebars instead of upheaving them, reverts the January 2024 dropdown changes, and restores the old page-link color for links that don't go outside the current wiki.
Nardog: SmartDiff is a spiritual successor to Enterprisey/fancy-diffs. It makes the page title part of links in diffs clickable, along with template and parser function calls. Unnamed parameters can be configured per template to also be linked. All links are styled based on the normal CSS classes of rendered links.
For the paranoid: Rublov/anonymize replaces your username at the top of the screen with the generic "User page" text. Remember, it is your duty to persuade everyone that editing is an honor.
/AjaxBlock provides a dialog box for easy input of reasons while blocking users.
/Selective Rollback(pictured) provides a dialog box to customize rollback edit summaries and does them without reloading the page. Seriously, why doesn't MediaWiki already do this?
/flickrsearch adds a portlet link to search for uploadable flickr images about the subject.
/randomincategory adds a portlet link when on Category pages to go to a random page in the current category.
Vghfr/EasyTemplates adds a portlet link to automatically insert some of the most common inline {{fix}} templates.
Yes, we're just doing 'em as we go now. Thanks for reading through this looong issue, if you did! I'm sure this'll send a record for the longest issue ev-ah. You may need to wait even longer for the last issue, as our reserve of old-y and goodie scripts have ran out... We encourage you to try and do some of the requests or improvement tasks. See you in Summer, hopefully!
EnterpriseyBot's task "Archive WP:GO" failed to run per the configuration specified at Wikipedia:Bot activity monitor/Configurations. Detected only 0 edits in the last 1 week, whereas at least 1 was expected. If/when the issue is fixed, please change the section title (e.g. append " - Fixed") or remove this section completely. When that is done, this notice will be reposted if the bot task is still broken or is re-broken. If your bot is behaving as expected, then you may want to modify the task configuration instead. Or to unsubscribe from bot failure notifications, remove the |notify= parameter from the {{/task}} template. Thanks! – SDZeroBot (talk) 00:20, 10 March 2024 (UTC)[reply]
The Toolforge Grid Engine services have been shut down after the final migration process from Grid Engine to Kubernetes. (T313405)
Arbitration
An arbitration case has been opened to look into "the intersection of managing conflict of interest editing with the harassment (outing) policy".
Miscellaneous
Editors are invited to sign up for The Core Contest, an initiative running from April 15 to May 31, which aims to improve vital and other core articles on Wikipedia.
EnterpriseyBot's task "Update {{Defcon}}" failed to run per the configuration specified at Wikipedia:Bot activity monitor/Configurations. Detected only 0 edits in the last 1 day, whereas at least 1 was expected. If/when the issue is fixed, please change the section title (e.g. append " - Fixed") or remove this section completely. When that is done, this notice will be reposted if the bot task is still broken or is re-broken. If your bot is behaving as expected, then you may want to modify the task configuration instead. Or to unsubscribe from bot failure notifications, remove the |notify= parameter from the {{/task}} template. Thanks! – SDZeroBot (talk) 13:53, 8 April 2024 (UTC)[reply]
AFC History Tool
Hello friend. Thanks for maintaining the AFC History tool. I submitted some pull requests tonight, and I have plans for more. If you like them, feel free to approve those 3 pull requests. Would be nice to base my future patches off those 3, so I think I'll pause here until those are approved. No need to deploy yet though, we can do that later. Thanks. I hope you are well! –Novem Linguae (talk) 08:46, 11 April 2024 (UTC)[reply]
Doing well, thank you! I'll do one better - I've added you as a collaborator on the repo and as a maintainer on apersonbot. Let me know if there's more I need to do. Enterprisey (talk!) 18:45, 21 April 2024 (UTC)[reply]
Partial action blocks are now in effect on the English Wikipedia. This means that administrators have the ability to restrict users from certain actions, including uploading files, moving pages and files, creating new pages, and sending thanks. T280531
I'm no js expert, or even a js beginner, so I can't quite suggest an exact fix that I know would work, but I think its at line 887, I have a small QOL request, if you will. For each succesful page creation if the &redirect=no were added to the url, you would be able to visit the page that was created, as opposed to following it through to a different page. Happy Editing--IAmChaos23:26, 5 June 2024 (UTC)[reply]
Local administrators can now add new links to the bottom of the site Tools menu without using JavaScript. Documentation is available on MediaWiki. (T6086)
hi hopefully you are fine. I am having some issure to parse this logic mw.config.get( "wgPageName" ).includes( "/খেলাঘর" ) ) even if the title includes the /খেলাঘর ig it's returning false or an error R1F4T (talk) 11:03, 25 July 2024 (UTC)[reply]
Scripts++ Newsletter – Issue 25
Hey there, welcome to the 25th issue of the Wikipedia Scripts++ Newsletter, covering all our favorite new and updated user scripts since 1 March 2024. We've got a ton of wonderful editors taking back their pitchforks today. Don't worry, for they come in peace, to forcibly fix and extend existing scripts you use with sheer passion. There's so many, them forks have got what's basically their own column now! gift us with some rows before it's too late Aaron Liu (talk) 04:01, 1 August 2024 (UTC)[reply]
Got anything good? Tell us about your new, improved, old, or messed-up script here!
To a lesser extent, the same goes for PrimeHunter/Search sort. I wish someone would integrate the sorts into the sort menu instead of adding 11 portlet links.
An easily configurable script to add a link to the #p-vector-user-menu-overflow portlet with a name, target, and icon. This one should be a relatively easier one. I would do it myself, but I'm too busy rotting away on Celeste (video game).
After the RIIJ update, Aaron Liu: Watchlyst Greybar Unsin has a dismiss button that allows you to mark an item as read in one click and cycle to the next Watchlist item.
Lordseriouspig/StatusChangerImproved is just like Enterprisey's script, except you select your status from a dropdown instead of cycling through them with a button. The WMF operates out of car-centric infrastructure anyway. Shame!
Newly maintained scripts
Aaron Liu has created Duplinks from Evad37/duplinks-alt; his fork adds a config variable to automatically highlight duplicate links on the loading of any page where the portlet link would've appeared.
Tired of staring at a bunch of filtering text and waiting for darn filter logs to load? Msz2001/AbuseFilter analyzer can parse abuse filters into a visual syntax tree and evaluate locally on-demand!
Polygnotus/DuplicateReferences finds references with the same link and displays the number of them along with a button to add the {{duplicated citations}} tag under the references section. Being lazy has never been easier!
fastest gun on the net Ponor/really-quick-block really quick add to contribution lists three buttons awesome