This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current main page.
MOS:DIGITS advises that Digits should be grouped and separated either by commas or by narrow gaps (never a period/full point). Unfortunately, thousands of editors disagree. Here are 987 articles beginning with A containing ".000" where not obviously part of a fraction. Some are false positives such as non-English quotes (Hans gewinnt 10.000 €) and non-obvious fractions (BigCo made $10.000 million); most are errors. This is not a request for the Herculean task of checking and fixing approximately 25,000 articles, but does anyone have any bright ideas? I've already done a JWB run which fixed a few hundred Euro sums (€12.345,67 → €12,345.67) but I now see a wider issue. Certes (talk) 13:42, 2 June 2020 (UTC)
I actually loaded that list beginning with "A", and found all sorts of interesting things, not all of them immediately obvious. For example, AC Milan has a whole table of financial history, and it lists everything in millions of dollars, with three decimal places. The numbers all look like mistaken thousands separators, but they aren't. I honestly would look to WP:BOTREQ to see about changing instances of #.###.### or #.###,# outside of a ref to #,###,### or #,###.# as a start. You could do that in AWB with a good regexp, except it's going to be a HUGE task, and it will keep needing to happen - pretty much the definition of a bot task candidate. Also, I'm wondering if a bot could check the rest of the page to see if the preferred style is #,### or # ###. Is there a template for MOSDIGIT issues? VanIsaacWScont06:29, 9 June 2020 (UTC)
@Interstellarity: Is the plan to move something different to History of the world, or to change the redirect there in any way? Otherwise, why do the links need to be changed if the page is already redirecting? Happy to do this if there's a particular reason to, but it ought to have a reason so to do. Naypta ☺ | ✉ talk page | 17:11, 14 June 2020 (UTC)
@Interstellarity: Sure, that makes sense. Is there consensus somewhere for that change? I think it would probably be an idea to try and obtain it if it's not there yet, just because of that huge number of potential impacts, as you quite rightly point out. Naypta ☺ | ✉ talk page | 17:17, 14 June 2020 (UTC)
@Jonteemil: Actual fact, question - wouldn't it be better for a bot to do this? This is going to be an ongoing task, by the looks of things, so an occasional AWB run might help, but there'll still be new content uploaded that fits those criteria, and doesn't get tagged. Naypta ☺ | ✉ talk page | 22:15, 4 July 2020 (UTC)
Ah, that was part of the replacement rules I used to insert templates. I just let that go through as the "1=" is unnecessary anyway. - Flori4nKt • c19:32, 6 July 2020 (UTC)
Parse names parameter for <br> in legacy Infobox Lake
There currently exist infoboxes on bodies of water articles which conflate names in different languages by using <br> in the |name = parameter. If someone could help by giving the parameter a scan to identify which article infoboxes use <br> the name field corrected and could provide a list it would be helpful for WP:LAKES cleanup of old Infobox lakes to Infobox Body of Water transition. It could be possible in the detection of the <br> the names could be split if one of the strings matched the page title to remain while the other side be moved to |other_name=, but a list of <br> affected would be a start to understand the scale of the issue. Wolfgang8741 says: If not you, then who? (talk) 14:42, 8 July 2020 (UTC)
I'm not sure if this is possible, and hopefully not too WP:BOLD. I've got access to AWB, but this task is a bit beyond me at the moment.
This is in two parts:
1. Is it possible to go through all the articles in all the sub-categories of https://en.wikipedia.org/wiki/Category:Women_scientists (looks like over 600 sub-categories) to list which ones aren't tagged with either {{WikiProject Women scientists}} or {{WPWS}} on the corresponding talk page?
2. Ideally, to then be able to add the {{WikiProject Women scientists}} tag in an appropriate place (i.e. not simply at the top or bottom) on the talk pages. Doesn't matter about setting any of the parameters of the tag.
({{Translation}} The words we used above, but in sentence case, not title case)
or, since I'm not exactly sure what the correct usage of {{Translation}} is, (and I'm waiting for clarification) this as well, where the content is inside the Translation template.
({{Translation|The words and links we used above, but in sentence case, not title case}})
Just to help with context, in Indian film articles, we often get translations for film titles prefaced incorrectly with "English", when we don't need to be told that obvious English is English. The preference is to indicate that it is a translation, (vs. an official English title) and the content should be formatted in sentence case, not as a title, per MOS:CT. And obviously, I would be monitoring any weird scenarios where a wikilink might not work if it were changed to sentence case.
The 1= guards against = signs within the text, but | or other odd characters can break things. Changing uppercase to lowercase can break wikilinks and proper nouns. With some effort we could probably maintain case within wikilinks; proper nouns are harder. Hope that helps, Certes (talk) 20:11, 25 July 2020 (UTC)
@Certes: Hey, thank you very much for this. I've tried learning regex and found it so baffling. I appreciate the help of folks such as yourself who are more technically inclined. Much appreciated. Cyphoidbomb (talk) 16:14, 26 July 2020 (UTC)
@Kailash29792: I had AWB do a simple find/replace for "English:" to "transl.", which works OK, but as you'll notice, it didn't get the other formatting errors, i.e. the bold, and the incorrect case. In those cases, regex is the real champ. Cyphoidbomb (talk) 15:09, 27 July 2020 (UTC)
@Certes: I have a follow-up question, if you don't mind. When processing a page, the following content was replaced:
(English: The Secret) → ({{Translation|1=L\Land of Mystery}})
I must have done something wrong, but what? I double-checked and the content in my find and replace fields match yours and I do have the RegEx box ticked. Thanks in advance, Cyphoidbomb (talk) 17:15, 27 July 2020 (UTC)
My fault. The dialect of regular expression language I'm used to, PCRE, accepts \L to convert text to lower case. I can't find an exact definition of what AWB accepts but I think it's Microsoft's own dialect which doesn't implement \L or any equivalent that I can find. So my suggestion just unhelpfully inserts the text "\L". There may be an AWB plug-in to achieve what you want, or a more experienced AWB user may be able to chip in with an alternative. Certes (talk) 17:27, 27 July 2020 (UTC)
With the exception of some lookahead/behind issues, I find Rubular is a good tool for proofing regex to be used with AWB (at least as far as the capturing goes). The working for this code is at this link. Primefac (talk) 13:36, 29 July 2020 (UTC)
Well done: I've used subst:ucfirst to good effect elsewhere but forgot about it. The one downside is that the effect is only visible in the preview, not the amended wikitext, so a translation with a missing capital such as "Return to india" is harder to detect and fix. Certes (talk) 14:37, 29 July 2020 (UTC)
@Kailash29792: I haven't started. Here what I would do: Set up a basic find/replace for [[English language|English]] changing it to English (because everybody who speaks English already knows what English is, and there's really no justification for this to ever be linked in the articles we edit most.) Then, in your find/replace settings, on the line with the regex formula, tick the box that says "After fixes". This will run the regex after the other fixes have been performed. Hope that helps. Cyphoidbomb (talk) 14:56, 30 July 2020 (UTC)
Unless I'm mistaken, the regex I gave above should catch any instance of "English" (linked or not). Also, if you were going to do a "simpler" find/replace for just "English", I would replace [[English language|English]] before fixing anything else. That is, unless I'm horribly mis-reading the question/solution. Primefac (talk) 23:53, 30 July 2020 (UTC)
After ~50 edits, I finally decided to check the template and noticed that {{NorthAmNative/Anishinaabe}} is basically an alias for {{NorthAmNative}} and that I should have checked it before even starting up AWB. I have now undone my edits. If you have found a bug, please bring it up on the template's talk page first. - Flori4nKt • c14:31, 7 August 2020 (UTC)
Hello! Currently, articles about curlers use a combination of {{Sports links}}, {{WCT}}, {{WCF}}, and {{CurlingZone}} for external links, but they can all be simplified to just {{Sports links}}. Would it be possible to go through all articles that use {{WCT}}, {{WCF}}, and/or {{CurlingZone}}, remove those templates from the external links section (but not other article sections), and add {{Sports links}}, if it's not already there? Thanks! Allthegoldmedals (talk) 12:29, 16 August 2020 (UTC)
There might be some context issues with the WikiData linking (i.e. whether the info exists on WD) but unless someone wants to handle 3k AWB edits I think a bot request would be the easier route to travel. Primefac (talk) 14:00, 19 August 2020 (UTC)
With about 3k transclusions between the three templates, I certainly know I wouldn't want to do it manually with AWB. That being said, they're all designed as external link templates (not refs) so a fairly simple lookbehind would eliminate the chances of it being used as a ref and improperly removed. Primefac (talk) 02:19, 19 August 2020 (UTC)
Done. As far as I can tell, most of the links were from template:Sawyer Brown. I'll check back in a few hours, once the template update has had a chance to purge through all the pages, to see if there are any stragglers. VanIsaacWScont22:02, 26 August 2020 (UTC)
@Gonnym: There is a whole lot going on in those example edits - tons of parameters are being deleted, some being added, and all of them are being shuffled around. Your request addresses absolutely none of those changes, so can you please explain exactly what you want to happen, show an example edit of exactly that thing happening, and most importantly give a list of exactly which articles in that category it needs to be applied to. VanIsaacWScont23:44, 29 August 2020 (UTC)
Hello. The above domain was previous for a football club, but it has been taken over by a company selling generators. Various articles point to this site for info about football players, so it has been recommended that the parameter |url-status=usurped be added to these references to prevent readers accidentally going to the wrong site.
Therefore, is someone able to work some AWB magic please to add the parameter to the 356 articles listed here? [7] I'm hoping that you clever folks can work out a way that does not require some poor soul to click on something 356 times!
I'll start now, but I'm not sure I'll finish now, so if anybody needs it, the regex should be \|url( *)=( *)(http:\/\/)?(www\.)?mohunbaganac\.com([^\}]*)\|title (replaced by |url$1=$2$3$4mohunbaganac.com$5|url-status=usurped|title). 1234qwer1234qwer4 (talk) 09:16, 31 August 2020 (UTC)
Perform a word count on the article section tagged by Template:Long plot.
Modify the section after the template (with no line break) with an invisible comment that lists the reminder (if it is missing) <!-- Word count should be 400-700 per [[WP:FILMPLOT]] -->
Add another invisible comment (with no line break) that updates the word count and the date, for example <!-- Word count: 774 as of 31 August 2020 -->
I somewhat agree with Debresser and their edit summary, mainly due to the inherent instruction creep. The template points to WP:PLOTSUM, which is an essay, though I do note our guidelines at MOS:PLOT and WP:FILMPLOT concur. However, if there is a template at the top of the page indicating the plot is too long, then there is no need for a commented-out notice that will likely be ignored by everyone anyway. It's likely better to use the WhatLinksHere (and/or the related category) to trim plots that are too long. Primefac (talk) 23:43, 1 September 2020 (UTC)
The plot length recommendations for MOS:FILMS exist specifically to keep the article in the GA/FA improvement pipeline and to provide a clear rationale for editors for either leaving the long plot tag in or removing it. Viriditas (talk) 00:16, 2 September 2020 (UTC)
I've restored my indents. I was not addressing you at all, in fact, I was deliberately ignoring you. I'll carry this to ANI in my next edit if you persist with this disruption. Viriditas (talk) 00:28, 2 September 2020 (UTC)
Let's slow down with the threats, eh? You made a request, and based on Debresser's participation in a related edit they are welcome to give their thoughts. Nothing wrong with mistakenly changing the indent, I almost did it to your comment myself earlier. Primefac (talk) 00:43, 2 September 2020 (UTC)
I apologize if it sounded like a threat, as it wasn't. It was merely a description of what I was going to do if he continued to change my comment indents. In any case, unlike Debresser, my time is extremely limited. I am not here to argue, to debate, or get in any kind of disputes. I'm only here to improve articles, that's it. Therefore, it is unlikely I will continue this thread due to the recent disruption I've experienced with Debresser. But thanks for your time. Viriditas (talk) 00:52, 2 September 2020 (UTC)
Some editors are simply incredible. A disagreement becomes a "disruption", and they even presume to know how precious other people's time is. Earlier, on my talkpage, Viriditas presumed I was stalking him here, while as a matter of fact I was mentioned in a comment here and the thread showed up on my notices. Incredible. Debresser (talk) 03:15, 2 September 2020 (UTC)
Debresser, I'm not sure why you are addressing me. In case you didn't get the hint the first time, I have no desire to interact with you. If there was a way to put you on permanent ignore and to make all of your future comments and edits invisible, I would do just that. Since there isn't, consider this message a notice of an informal, voluntary interaction ban. Or, feel free to make it formal, it's your choice. But honestly, from here on out, I don't want to run into you again. I hope you understand. All you do is waste people's time with nonsense. Nobody has time for that. Viriditas (talk) 03:37, 2 September 2020 (UTC)
Just for your own elucidation: editors who work on film articles and put them through the article improvement process pipeline (B/GA/FA), need the plot section to meet both MOS:FILMS and the relevant B-Clas/GAC/FAC. As a result, this information is both necessary and required. The template does not link to the relevant guideline, nor does it provide a word count that would allow editors to see the problem and justify removing the tag. All the arguments in this thread fail to address the problem and simply ignore it. For example, how is an editor supposed to know why the section is tagged with a long plot tag without a word count? And the word count only matters due to the article improvement criteria. This is very simple to understand. Please consider this thread closed, since I don't find this discussion helpful nor informative. It's one thing to fail to understand the problem, it's yet another to purposefully ignore it. Viriditas (talk) 17:49, 2 September 2020 (UTC)
Doing a word count is not a problem. Just like you are supposed to be familiar with the laws of whatever country you live in (and in case of transgression saying "I didn't know that was not allowed" will not help you), likewise editors here are supposed to be familiar with WP:MOSFILM. And, after all, editors and not stupid, as a rule, and if they see a tag saying that the section is too long, they'll understand that there must be a guideline about this somewhere. Nobody is ignoring anything, it is just that three editors disagree with you,and you are a sore loser (so to say). Debresser (talk) 23:18, 2 September 2020 (UTC)
Bloch wave => Bloch's theorem
You can see on pages that link to Bloch's theorem, there are many articles that refer to Bloch's theorem with a reference of "Bloch wave". This is due to the unfortunate long-standing title of the article being "Bloch wave". The term "Bloch wave" lacks all semblance of notability, a survey of the literature returns zero references to the term. Terms that are used in textbooks include "Bloch's theorem" for the overall topic, and "Bloch function", "Bloch wavefunction", "Bloch form", and "Bloch state" to refer to the state. The term "Bloch electron", referring specifically to an electron, is also widely used. Talk page discussions Talk:Bloch's theorem#Definition of "Bloch wave" and Talk:Bloch's theorem#Requested move 28 August 2020 contain the background information on the change between the two titles, of which there were no objections, there you will find references to the literature making these points. I have edited a few of the backlinks to fix these references, but the task is repetitive. Is this something AWB can help with? Thanks! Footlessmouse (talk) 19:02, 13 September 2020 (UTC)
@Usernamekiran: sorry about this, I realize now it is not a good candidate for AWB. Mostly, "Bloch wave" should be rewritten to one of "Bloch wavefunction", "Bloch state", "Bloch theorem", or "Bloch electron", but which one depends on the context. I apologize if I wasted anyone's time. Footlessmouse (talk) 00:14, 16 September 2020 (UTC)
@Footlessmouse: yes, this seems to be a liitle context driven, so wouldn't be a good idea for AWB. But still it can be done using AWB if there are a lot of pages. Basically, I can create lists (within AWB) of articles with different targets, then I can change the links. Let me know whats the situation. And no, you didnt waste anybody's time. And having discussions is always good, and sometimes interesting too :) —usernamekiran (talk)06:43, 16 September 2020 (UTC)
Appending text based on template parameter
Resolved as unnecessary.
Hi, I was wondering whether there was a plugin or other method that could easily do the following. On my wiki, I have a series of articles, all of which contain an infobox template with an "opened = X" parameter. "X" is always either a date of the form "September 3, YYYY" or simply "YYYY", or it's blank. I would like to append a category link to the end of each article, of the form "[[Category:Places opened in YYYY]]", taking the value from the "opened = " parameter, unless that parameter is blank, in which case it should skip the article. I suppose a solution could either parse the date and extract the "YYYY" year from it, or simply take the last four numerical characters of the line (I wouldn't know which of these is easier to accomplish using AWB). Thank you to anyone who can help, Reschultzed|||Talk|||Contributions06:36, 3 September 2020 (UTC)
I would suggest modifying the infobox template to use the "opened" parameter to populate your Places opened in year categories. You can either leave it like that, so the category automatically updates any time the opened parameter changes, or if you don't want to have that code permanently, you can then run AWB to explicitly add the category to each page just on the basis of it already being included. VanIsaacWScont06:48, 3 September 2020 (UTC)
Just use a template/module to extract the year from the parameter, and dump it into the category call. Something as simple as [[Category:Places opened in{{last word|{{{opened|}}}}}]] should work for basic operation. It would get more complex if you want to deal with two-digit and four-digit years, different date formats, etc. but that would be the basic idea. VanIsaacWScont19:45, 3 September 2020 (UTC)
Addition of a comment containing the template names to the templates listed in the box at [9]
In order for bots, Twinkle and RedWarn to be able to tell whether or not a person has already been warned with a level-n template, the templates need a comment within them, stating which template they are. Refer to uw-vandalism1: It contains the text uw-vandalism1, in comment tags. It would be helpful if all the uw templates had said comment, just with the template name instead of uw-vandalism1. However, please make sure you only change the templates in the box labeled "Extended content" or "User warnings with no identifiers, and edit request". Thank you for your consideration. Opalzukor (talk) 08:26, 30 September 2020 (UTC)
@Opalzukor: got it. That task would require someone with template editor + AWB access. Even though I don't have access to template editing, I can look at the discussion/desired changes, and come up with regex or whatever is required. I didn't see the discussion thoroughly, but is there a consensus regarding the wording, placement, and other stuff? —usernamekiran (talk)15:12, 30 September 2020 (UTC)
I have fixed over 40. But neither David Cossak nor Chief of Staff to the Supreme Allied Commander (COSSAC) are typos. There are some typos in there, but too many false positives for AWB's typo list. ϢereSpielChequers07:34, 7 October 2020 (UTC)
@1234qwer1234qwer4: "In all films, he was producer unless otherwise noted." sounds a bit weird too. Would you like to go with that or use "He was a producer in all films unless otherwise noted." instead? Chlod (say hi!) 18:51, 1 November 2020 (UTC)
(edit conflict) These results are listed under Filmography sections and are in italics (that means it is not part of the article prose). Because of that, it is not required to be perfect English and should be written more like a hatnote than a sentence. Given that, I think it would be appropriate to simply change the notes to "He was producer unless otherwise noted". However, because it is used so much, some time should be spent finding out why, there could be a reason. Footlessmouse (talk) 18:58, 1 November 2020 (UTC)
Looking at a few samples of those pages, the edits seem to have been inserted by IPs so it looks like there's not much reason behind the badly-worded hatnotes. In that case, should I go with 1234qwer1234qwer4's initial suggestion then? Chlod (say hi!) 19:02, 1 November 2020 (UTC)
About that, as Footlessmouse said above, the piece of text is supposed to represent a hatnote and not article prose. If I end up using this wording, I'll bring it out of italics. Is that alright? Chlod (say hi!) 19:05, 1 November 2020 (UTC)
I think that works, that will just serve as the first sentence of an intro to each of the sections, which others can expand later. Footlessmouse (talk) 19:09, 1 November 2020 (UTC)
@Chlod: That's a good question... Probably safest to change the link and label to "Tokyo Broadcasting System Television" (option (a)) – if anyone wants to pipe the link after the switch, that's up to them. Thanks! --IJBall (contribs • talk) 18:06, 6 December 2020 (UTC)
Do to an apparent security problem, the part of the <score> element that allows the score to be played through MIDI is currently disabled, and it seems is likely to be so for quite a while. See Help talk:Score#Error message. The display feature is still working; however, if the score is set to allow MIDI, it will display an error message instead of showing the score, so that attribute needs to be commented out, like this, in order for the score to be visible. There are a little over 1000 pages that use this element: they are listed at Special:PagesWithProp/score. Would it be possible using AWB to go through those pages and replace "vorbis" with "%vorbis%" and "vorbis=1" with "%vorbis=1%"? And then if this gets fixed perhaps it could be run in reverse? Or would this be better as a bot request? Thanks. blameless18:44, 8 December 2020 (UTC)
Would it be better to replace these elements by a new template which can be set temporarily to fail gracefully then edited in once place whenever the problem status requires? Certes (talk) 20:17, 8 December 2020 (UTC)
It would to me, since templates I understand and I'm not sure I even get what "score" is--an "extension," I guess, whatever that means. Also, I realize now this is more complicated than I said above, because the "sound" attribute produces the same problem as the "vorbis" one. So that would need to be commented out also. blameless20:42, 8 December 2020 (UTC)
To judge by Help:Score, we could replace <score vorbis="1" foo="bar"> by {{score|vorbis=1|foo=bar}} which discards any vorbis parameter (because Comments in the markup start with a percentage sign % and end at the end of the line) and copies the rest of the verbiage into a <score> tag. Then vorbis can be re-enabled when possible just by having the template treat it like any other parameter. I've tried that idea here but can't get it to work. There may be a timing issue that the score tag is evaluated (and found to be absent) before the template magic happens. Certes (talk) 22:29, 8 December 2020 (UTC)
Certes, it doesn't work because {{score}} doesn't exist (or rather, it did exist, but was deleted because it was being used for sports scores).
That being said, I don't see any reason why we couldn't re-create it to call <score> (we have similar variants for nowiki, code, and syntaxhighlight). Primefac (talk) 11:06, 9 December 2020 (UTC)
Sorry, I should have been clearer. For the purposes of the test, I previewed creation of a new Template:Score with the code I linked, which calls {{tag|score|open}}. I didn't save it, to avoid confusing editors who might have used what I'd written in the hope that it actually worked. Certes (talk) 13:05, 9 December 2020 (UTC)
Comment: I forgot to update the access-date parameter and remove |url-status=dead at first, so Iam now fixing it using my alternative account, Эарендил and will return when done. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 19:48, 28 December 2020 (UTC)
First of all, thank you. However it seems that the search query didn't find pages such as Bric delle Camere or Katherine Ruth Bridges which have "publisher=Sansoni".
@1234qwer1234qwer4: Sorry for editing in the archive, took me a while to realise this also needs doing with "score=1" (i.e. the regex would be something like -search:"insource:/score=\"?1\"?/" '[^%]score="1"' "%score=\"1\"%%T257066%" -summary:"Comment out score=1 while T257066 (score extension disabled) is resolved." Thanks, RandomCanadian (talk / contribs) 21:40, 14 March 2021 (UTC)
Cleanup of location field
Hello, please change all instances of "location=Australia, Australia" to "location=Australia" within citation templates in the main namespace. I discovered this from an edit on my watchlist to Balgo, Western Australia which I fixed, but There are about 387 more of these. They are generated by the National Library of Australia automatic citation generator, which has several bugs like this (that are not easy to fix on their end); there's absolutely no reason for the second "Australia". Thanks! Graham8715:34, 29 January 2021 (UTC)
@Graham87: if this is a problem that will keep getting generated by the NLA automatic citation generator, it should really be handled by a bot. If you can put together a list of the errors that you know about, and post those on WP:BOTREQ or WP:CITEBOTREQ, this could just be a background bot task that gets taken care of as these malformed citations are generated. VanIsaacWScont12:59, 30 January 2021 (UTC)
@Vanisaac: Thanks for the tip; I'll think about it. I was going to periodically check for new results myself every couple of months or so and squish them manually, while their numbers were manageable. Some of the more major errors it generates (e.g. all-uppercase titles) require human context to tease out ... if I can think up a coherent list of automated replacements that could be made, I'll submit it as per your suggestion. Graham8713:28, 30 January 2021 (UTC)
Most transclusions of {{Infobox NRHP}} include a |Governing body= parameter because it was included in the output of a popular infobox generator for many years. Following a discussion in 2019 (see Wikipedia talk:WikiProject National Register of Historic Places/Archive 63#Governing body in infobox), this parameter was removed from the template, but of course the transclusions still have them. It's a cosmetic change, so of course please don't start a big run of deleting this parameter from pages, but could the task list for genfixes (or whatever it is that makes code look pretty) be expanded so that AWB will remove this parameter from an article whenever someone's running AWB on a page? Nyttend (talk) 13:21, 1 February 2021 (UTC)
Following the move of Tommy Davis (outfielder) I retargeted the original title Tommy Davis to dab page Thomas Davis. However, that broke some 180 links, so I'd ask for assistance of a kind soul with AWB to retarget them. I did not check validity of every individual link, but I'm reasonably sure almost all of them were intended for that baseball player active in the 1960s and 1970s. Thanks. No such user (talk) 09:50, 8 February 2021 (UTC)
[10] - change instances of [[London, Tilsbury and Southend Railway]] or [[London, Tilsbury and Southend Railway|London, Tilsbury and Southend Line]] to [[London, Tilsbury and Southend line]] if they are within the relevant templates (Template:s-rail-national). Per page move. Many other links will need manual checking, but this at least is not very difficult... RandomCanadian (talk / contribs) 05:38, 14 March 2021 (UTC)
I've looked through the rest and changed as necessary. 71 edited; 135 skipped. I think this task is now done. Certes (talk) 19:13, 20 March 2021 (UTC)
Adding protection templates to full protected pages
I was checking the list of full protected pages in the project space here. I noticed that most of them do not have protection templates. There are several hundred pages in the list but Category:Wikipedia fully-protected project pages has only 107 pages. For most cases, the template {{pp|small=yes}} should be sufficient. Only Admins can do this since the pages are under full protection. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 10:59, 2 April 2021 (UTC)
All right, I did half of them, but for some reason (even with no duplicates on) AWB is glitching out a lot. I did all cats with "active" in their name but without active I could only get to Category:Amphibious warfare vessels of Spain and I'm really not sure why. There are about 302 pages left to do. Once again sorry, but AWB is genuinely not letting me do this for some reason. I might try again later. — Berrely • Talk∕Contribs13:07, 18 April 2021 (UTC)
No such user. Done. I think I got all the mainspace ones. I also fixed a couple that needed to link to the 1931 film. Ping me if you want me to do other namespaces. Happy editing. –Novem Linguae (talk) 12:56, 14 May 2021 (UTC)
I've fixed the other appropriate namespaces: just two File: descriptions/rationales. Thanks for bringing this up before moving the dab. Certes (talk) 13:13, 14 May 2021 (UTC)
NA-Class Wisconsin articles
I'd like a bot to go through all the members of Category:NA-Class Wisconsin articles ( 13 ) and remove the hardcoded |class=na and just leave the |class= blank. Most of these would be sorted automatically into the appropriate categories if the "na" were removed. The rest will be a much smaller list to work on by humans. --awkwafaba (📥) 20:41, 15 May 2021 (UTC)
As a note, some of my contribs might look weird as I was fiddling around with AWB a bit, trying to get it set up. EpicPupper (talk) 23:02, 15 May 2021 (UTC)
Elli, Doing.... I have removed "target=Category:Wikipedia maintenance categories from April 2006" from the notices, as it would be extra work to include the new target for each page. Please ping me if that's a problem. –Novem Linguae (talk) 23:15, 16 May 2021 (UTC)
Change format of japanese district statistics (in running text)
In subcategories of Category:Districts of Japan, there are very many stub articles which have content of the same form for the population density and area. For example, Katsuura District, Tokushima says the district has an estimated [[population density|density]] of 6,326 and a density of 35.3 persons per km². The total area is 179.46 km².
At the least, the ² character should be replaced by <sup>2</sup>. Also, the phrase "density of 6,325" is better as {{convert|6,325|PD/km2}} (giving "6,325 inhabitants per square kilometre (16,380/sq mi)") and the area as {{convert|179.46|km2|abbr=on}} (giving "179.46 km2 (69.29 sq mi)"). (It appears {{convert}} understands thousands separators so there's no need to remove them.)
I don't know if AWB can do the {{convert}} part because the number is variable, if someone does they can do that part. I'm doing a general clean up of all the pages which gets the ² to <sup>2</sup>. — RealFakeKimT18:15, 19 April 2021 (UTC)
I've changed Abuta District, Hokkaido. Is that what's required? Replacements are (density\]* *of *)([\d,.]*\d) persons per km(<sup>2</sup>|2|²) → $1{{convert|$2|PD/km2}} and (area\]* *is *)([\d,.]*\d)( *| )km(<sup>2</sup>|2|²) → $1{{convert|$2|km2|abbr=on}}. Certes (talk) 22:49, 19 April 2021 (UTC)
I'll leave this for now, but this search generates a list: deepcat:"Districts of Japan" insource:/density\]* of [0-9]/. Certes (talk) 21:13, 27 April 2021 (UTC)
This task requires the sysop bit. Please revert recent page moves in Special:Contributions/Utkarsh555, moving Foo– India relations or India– Foo relations back to the original title (Foo–India relations or India–Foo relations, whichever puts the nations in alphabetical order) as I did for Pakistan. Note removal of space after the en dash. For a bonus point, fix the lead (example; may require knowledge of local languages) and incoming links (or just leave them to the bot). Congo requires special treatment as it's been moved twice; there may be other oddities. Edited for clarity: Certes (talk) 16:07, 29 April 2021 (UTC)
I don't know if it has been already requested by somebody else before, but I would ask you if it's possible to add the {{uncategorized}} to all pages that need that. I've explained that in this discussion. As you can see it, there's an possibility to have an bare database to all articles needing an tagging with the template. I haven't modification rights with AWB in English WP.
Just to clarify for Piotrus. Could someone please re-add the category mentioned in the link, using the list of articles provided. Thanks - X201 (talk) 12:00, 28 May 2021 (UTC)
@Piotrus and X201:, unless I'm mistaken the category has not been (re)created yet. Please reply here (no need to ping me) when this is done (or let me know if it needs to just be restored outright) and I will re-add it to the list of pages. Primefac (talk) 20:09, 28 May 2021 (UTC)
Bloody hell, that's what I get for editing while mad at the dog... will get right on it after I undelete it as requested. Primefac (talk) 22:52, 28 May 2021 (UTC)
Basically though, i would like a bot to check all talk pages that use {{WikiProject Poultry}} to check for an instance of {{WikiProject Birds}}. If so they need to enable |Poultry task force=yes in the latter. If the poultry template had either |needs-image=yes or |needs-photo=yes then these need to be imported into the birds template.
I can definitely do this with my bot, but query to Primefac and Izno who closed the last discussion: Should this go through a TfD first? The task description of PearBOT 4 explicitly says Merging WikiProject banners after consensus at TfD which makes me feel a bit uneasy doing it without a TfD or BAG confirmation. --Trialpears (talk) 17:33, 6 May 2021 (UTC)
Skimming bot request archives seems to indicate that TFD has never really been necessary for replacement of WikiProject banners. I'm not totally sure why PearBOT has that restriction... Izno (talk) 17:38, 6 May 2021 (UTC)
You asked for it that way, we granted it (likely not thinking about these situations). The template in question has a clear consensus for removal/replacement, so I see zero reason to force a WikiProject to go through a TFD for such a small matter. I will leave a note at the task indicating the change in scope. Primefac (talk) 01:11, 7 May 2021 (UTC)
Great! I simply didn't think about this scenario when making the request. I'll have a look at it. If it isn't done within a week please feel free to ping me a reminder. --Trialpears (talk) 07:22, 7 May 2021 (UTC)
Crawling WikiProject Software & WikiProject VideoGames preforming OS sorting tasks
I hope AWB is capable of this, I would like to see software related pages have consistent operating system lists, as right now its pretty all over the place. While browsing, I found infobox sorts such as
Celeste
Linux
macOS
Microsoft Windows
Nintendo Switch
PlayStation 4
Xbox One
Stadia
Hollow Knight
Microsoft Windows
macOS
Linux
Nintendo Switch
PlayStation 4
Xbox One
Shovel Knight
Amazon Fire TV
Microsoft Windows
Nintendo 3DS
Nintendo Switch
OS X
Linux
PlayStation 3
PlayStation 4
PlayStation Vita
Wii U
Xbox One
@Dudhhr: Would you just like {{R from alternative language|ja}} to be replaced with {{R from alternative language|ja|en}}, or do you have a full list of templates? I suppose that this would be possible without a full list with some regex, but it would certainly be easier with a list. EpicPupper (talk, contribs) 16:17, 2 June 2021 (UTC)
@Dudhhr: Working on it, might take a bit due to the sheer number of articles (and that AWB is only semi-automated). The one issue I'm currently not handling is redirects to the template (which will be a pain, there appear to be a significant number that are widely used). LittlePuppers (talk) 17:31, 4 June 2021 (UTC)
And here I was thinking this may be simple. Would a redirect to the genus of a plant vaguely named after a French guy be considered French? LittlePuppers (talk) 17:54, 4 June 2021 (UTC)
I've done a few, but there's no way I'm getting through any significant portion of them any time soon. Does anyone know of a way to make AWB display the article the redirect redirect to next to the diff? LittlePuppers (talk) 18:23, 4 June 2021 (UTC)
Finish templatization of US county presidential election results
I have access but don't know how to use the regex features. I'd like for someone to convert all U.S. county presidential election results from wikitable markup (such as at Rockland County, New York) into template form using {{PresHead}}, {{PresRow}}, and {{PresFoot}} (such as at Cook County, Illinois). Consensus exists for this change so it is not a "controversial" change that is prohibited by AWB rules. There is currently a Reward Board entry for this task, and anyone who does it will be given an appropriate barnstar.
@Novem Linguae: Per a previous attempt at WP:BOTREQ, I have taken the issue here and note that I have already posted this list in the AfD, in a collapsible titled "List of sub-lists". How should I clarify this? –LaundryPizza03 (dc̄) 22:05, 17 June 2021 (UTC)
Done (probably). I didn't add the AfD template to the redirects (as I think it's probably not convention to do it), those should probably be deleted after if this AfD closes as "delete". Special:BrokenRedirects is a good resource. 🐶 EpicPupper (he/him | talk, FAQ, contribs) 17:24, 18 June 2021 (UTC)