Wikipedia:AutoWikiBrowser/Tasks/Archive 11
This is an archive of past discussions about Wikipedia:AutoWikiBrowser. 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. |
Archive 5 | ← | Archive 9 | Archive 10 | Archive 11 | Archive 12 | Archive 13 | → | Archive 15 |
Restore dead-link
Due to a temporary bot problem, 207 articles had the addition of
|url-status=dead
or|url-status=live
They should be changed to:
|dead-url=yes
and|dead-url=no
There could be loose spacing like "url-status= dead" though that spacing probably doesn't need to be preserved unless you want. Not all 207 have the problem but it is over 50%.
Article list:
Thanks. -- GreenC 20:07, 1 July 2019 (UTC)
- This is done. Done -- GreenC 13:05, 3 July 2019 (UTC)
Move pages in Wikipedia namespace from Category:Personal userbox galleries
Category tree under Category:Userbox galleries has been recently restructured (see discussion). All Wikipedia namespace pages need to be moved from Category:Personal userbox galleries (which is for userbox galleries in User namespace) to Category:Userbox galleries. Example: Special:Diff/907957224. Thanks. —andrybak (talk) 12:55, 26 July 2019 (UTC)
- Done -- Trialpears (talk) 14:06, 26 July 2019 (UTC)
TS+DOT typos from Wikipedia:Typo Team/moss
The typo list is here. The page to be fixed is linked, and the typo to be fixed is listed on the right as a Wiktionary link. The typos are in the form [word].[word] (at the end of sentence, where they should be [word]. [word], with a space in between the period and the next word.) I would say 99% of the listings are genuine typos, but there are some false positives like names, so manual checking is required. I tried creating a find and replace rule myself, but being relatively new to AWB and regex, couldn't figure out how to exclude false positives like file names and links. Please remove completed pages from the list and move false positives under this section. Thanks! Darylgolden(talk) Ping when replying 01:28, 17 July 2019 (UTC)
- Actually @Beland:, since you made the code that specifically excludes these false positives, do you happen to know how to do it in AWB? Darylgolden(talk) Ping when replying 01:34, 17 July 2019 (UTC)
- @Darylgolden: I'm using JWB myself, which only seems to support regular expressions. I use some complicated Python code to exclude certain passages, and as regular expressions are not Turing complete matching that exactly might not be possible without changing AWB to allow arbitrary code? As a quick hack you might put something like "[^:]{10}xxx" to prevent ":" from appearing anywhere within 10 characters before "xxx", but this may also exclude some true misspellings. For square brackets you'd need to escape with a backslash like "\]" if you're putting that in place of the colon (e.g. for external links). We could also consider renaming files to have correctly-spelled titles. -- Beland (talk) 03:02, 17 July 2019 (UTC)
- Would something like this regular expression work? It looks for a word character before and after the period but excludes any of the specified prefixes or suffixes. Just add other items when you see a false positive and I would expect it to become quite good. -- Trialpears (talk) 06:31, 17 July 2019 (UTC)
(?<=\w)(?<!(www))\.(?=\w)(?!(pdf|com|org|svg|jpg|png))
- The colon exclusion would need more than 10 characters (
File:Ivor Longname.jpg
) and[^:=]
to catch template parameters such as|image=example.png
which have no colon. For the URL suffix exclusion, beware of matching dots not followed by com/org: subdomains such as the first dot inen.wikipedia.org
, national TLDs such asexample.de
, the 2000 recent new TLDs, and dots within the path (the second dot inexample.com/page.html
). Excluding any group of non-spaces which includes a/
with(?!\S*/)
before and(?<!/\S*)
after could eliminate a lot of false positives. Certes (talk) 09:45, 17 July 2019 (UTC)- I've modified my expression to not include anything inside references, external links or templates. This will probably remove most of the domain problems mentioned as they never should be straight in the prose; and if you find one you have found a more important problem to fix. I did not do the same for files since they use the same double bracket syntax as wikilinks, but I have added most file extensions to the blacklist. -- Trialpears (talk) 11:23, 17 July 2019 (UTC)
(?<=\w)(?<!(www))\.(?=\w)(?!(svg|jpg|png|jpeg|xcf|gif|tiff|ogg|midi|SVG|JPG|PNG|JPEG|XCF|GIF|TIFF|OGG|MIDI))(?!(\w|%|\.|\/|:|#)*<\/ref>)(?!(\w|%|\.|\/|:|#)*}})(?!(\w|%|\.|\/|:|#)*\])
- I've modified my expression to not include anything inside references, external links or templates. This will probably remove most of the domain problems mentioned as they never should be straight in the prose; and if you find one you have found a more important problem to fix. I did not do the same for files since they use the same double bracket syntax as wikilinks, but I have added most file extensions to the blacklist.
- The colon exclusion would need more than 10 characters (
I've just posted a list for articles beginning with "S" here. If anyone wants to speed through the cases AWB can handle, I can also post lists for articles T-V and A-I, for which we haven't tackled this task yet. Just ping me and let me know. -- Beland (talk) 00:10, 30 July 2019 (UTC)
- I've done up until Sat-Sau using
(?<=[a-z])\.(?=[A-Z])(?![^<>]*(<\/ref>|>))(?![^{}]*}})(?![^\]\[]*\])(?!(svg|jpg|png|jpeg|xcf|gif|tiff|ogg|midi|SVG|JPG|PNG|JPEG|XCF|GIF|TIFF|OGG|MIDI))
. It's working quite well but have some issues with issues when the issue happens after a wikilink and some acronyms (e.g e.g). It also doesn't handle bare links in text giving most of the false positives. --Trialpears (talk) 14:20, 31 July 2019 (UTC)
Simple disambiguation job
Can anyone please replace all instances of [[Congregation (Catholic)|religious congregation]]
with [[religious congregation]]
? Thanks! – Finnusertop (talk ⋅ contribs) 10:42, 6 August 2019 (UTC)
- Done; also a few plurals. It may be better to move the dab to a title such as Catholic congregation, per WP:PDAB and WP:INCDAB. Certes (talk) 11:14, 6 August 2019 (UTC)
- Thanks, Certes! Can you further replace
[[Congregation (Catholic)#Congregations as a historical category of religious institutes|
with[[religious congregation|
? I'll take a look at the dab title later, but there seems to be more variation in incoming links than I initially suspeced. – Finnusertop (talk ⋅ contribs) 12:04, 6 August 2019 (UTC)- Done; I unpiped a few where the displayed text matches the new link or its plural. Certes (talk) 12:51, 6 August 2019 (UTC)
- Thanks, Certes! Can you further replace
CfD tagging
Would someone be willing to copy the CfD tag in Category:LGBT-related media to all other categories of this nomination? Thank you in advance. Marcocapelle (talk) 08:22, 17 August 2019 (UTC)
- Done — JJMC89 (T·C) 19:40, 17 August 2019 (UTC)
Lists of Good Articles (NoLimits required)
Could someone with the NoLimits plugin please generate separate unfiltered lists from Category:Good articles and Category:Wikipedia good articles? Both are slightly above the 25,000 limit so I can't do it myself. You can post the results somewhere in my userspace. Thanks! PC78 (talk) 19:11, 21 August 2019 (UTC)
- You can do it yourself with WP:PETSCAN. Set the output to something suitable like CSV, Wiki, or PagePile. - X201 (talk) 08:31, 22 August 2019 (UTC)
- If you prefer a unix command-line tool there is wikiget, the command is
wikiget -c "Good articles"
and it will dump a list of article names in that category. -- GreenC 13:12, 22 August 2019 (UTC)
- Done Thanks both, PETSCAN got me what I needed. Handy to know. PC78 (talk) 16:26, 22 August 2019 (UTC)
Update wikilinks following primary topic change
Per this RM, Capital Airlines should be made into a disambiguation page. Before I do that, would someone be so kind as to update all mainspace [[Capital Airlines]]
wikilinks to [[Capital Airlines (United States)|Capital Airlines]]
? I've manually inspected the ~107 mainspace wikilinks and verified that they all refer to the US airline (I found one mistargeted link, which I corrected).
It would be great if [[Capital Airlines|foo]]
wikilinks could also be corrected to [[Capital Airlines (United States)|foo]]
, but I don't mind fixing those manually. Colin M (talk) 18:20, 12 September 2019 (UTC)
- @Colin M: Done, including piped links, except for:
- List of airline codes (C) – CPD claims to be a Kenyan airline
- List of airline holding companies – the Synergy member may be Capital Airlines (Nigeria)
- List of regional airlines – looks like Capital Airlines (UK).
- – Certes (talk) 21:08, 12 September 2019 (UTC)
- Thanks very much! And thank you for catching the mistargeted links that I missed. I wasn't aware of the other airlines with that name other than the American and Chinese ones. Colin M (talk) 21:12, 12 September 2019 (UTC)
Fixing geographical coords
(Referred here from main help page) In my spare time I'm fixing articles that need geographical coordinates, but I've now come across a whole raft of articles category:Defunct greyhound racing venues in the United Kingdom that have coordinates in the infobox but they are not formatted in a way that creates a geohack link. No doubt there are many similar articles created around the same time or by the same process. Fixing this manually is extremely fiddly and time consuming (example diff: [1]), but since the formats are consistent they would be ideal candidates for a script that could fix them all. Unfortunately this is beyond my technical capability, so I'm wondering whether someone would like to take this on. Thanks.--Shantavira|feed me 10:11, 19 September 2019 (UTC)
- Shantavira I've done the fix and replace on the entries in the category that start with A. For example ([2]) . To make it easier for the regex, I did not delete fractional seconds, though that deletion can probably be done with a bit of fiddling. fractional seconds may be too much precision for a racetrack, but I'm not sure. Anyway, take a look and let me know if it does what you want, and whether I should run the rest of the alphabet.Naraht (talk) 13:17, 19 September 2019 (UTC)
- Thanks Naraht. They look good, though you missed Athletic Ground, Maidstone. Please go ahead with the rest. If I come across a similar category I'll let you know. One second of latitude/longitude is less than 100 ft. so fractional seconds are indeed pointless.--Shantavira|feed me 13:49, 19 September 2019 (UTC)
- Shantavira OK. Maidstone has spaces between after the ° and ' *and* the coordinates are backwards. I'm set up to handle both east and west, but not EW *first*. I'll do that one by hand (ish). I'll delete the fractional seconds. (Note, Maidstone has thousandths of a second for both lat and long, which as best as I can tell would be good enough to identify a particular chair in the stands.) I'll edit this when I've finished the cat.Naraht (talk) 14:11, 19 September 2019 (UTC)
- Shantavira Done. Let me know if I've missed any more and need to tweek my find and replace. Note, now the (advanced) find and replace are respectively
- Shantavira OK. Maidstone has spaces between after the ° and ' *and* the coordinates are backwards. I'm set up to handle both east and west, but not EW *first*. I'll do that one by hand (ish). I'll delete the fractional seconds. (Note, Maidstone has thousandths of a second for both lat and long, which as best as I can tell would be good enough to identify a particular chair in the stands.) I'll edit this when I've finished the cat.Naraht (talk) 14:11, 19 September 2019 (UTC)
- Thanks Naraht. They look good, though you missed Athletic Ground, Maidstone. Please go ahead with the rest. If I come across a similar category I'll let you know. One second of latitude/longitude is less than 100 ft. so fractional seconds are indeed pointless.--Shantavira|feed me 13:49, 19 September 2019 (UTC)
- coordinates *= *(\d*)° *(\d*) *'(\d*)[^"]*"N (\d*)° *(\d*) *'(\d*)[^"]*"([EW])
- coordinates = {{coord|$1|$2|$3|N|$4|$5|$6|$7|region:GB}}
Naraht (talk) 14:22, 19 September 2019 (UTC)
David Ball
[[David Ball (musician)]] -> [[David Ball (British musician)]] Page moved per WP:PRECISE since at least two other "David Ball"s who have articles are also musicians. Ten Pound Hammer • (What did I screw up now?) 04:16, 12 October 2019 (UTC)
Cleanup of GitHub advertising
Hello, could someone more experienced with RegEx help with a cleanup task for GitHub advertising please? The task would be something like this:
- Search for articles that include the string
Contribute to * by creating an account on GitHub.
within citation or cite X templates. Here is a search call listing these articles. The restriction within citations is probably redundant but intends to reduce false positives however unlikely. - Remove the strings
Contribute to * by creating an account on GitHub.
andContribute to * by creating an account on GitHub.
(with or without 1 leading blank) within these articles that match the previous search filter.
My RegEx abilities are limited especially with more complex syntax and my current AWB access is down (loyal XP user ...). Any help would be appreciated. If possible, it would be great if you could also include the RegEx syntax here for future use. GermanJoe (talk) 16:05, 26 September 2019 (UTC)
- I've started this, replacing the ad by the more neutral HTML page title "GitHub - name: description", as in Beaker. I expanded the search to include templates such as {{Latest stable software release/BitlBee}}. Certes (talk) 16:36, 26 September 2019 (UTC)
- Done. Regex, with g flags (both search strings have an initial space before the *):
*([^ =][^=]*?) *Contribute to (.*?) (development )?by creating an account on GitHub\.?
→GitHub - $2: $1
*Contribute to (.*?) (development )?by creating an account on GitHub\.?
→GitHub - $1
- Theoretically this breaks when the GitHub description contains "=" and possibly in other cases; in practice it worked.
- I used JWB for this; it's a good alternative if you're unable to use AWB. Certes (talk) 17:27, 26 September 2019 (UTC)
- I'll try that out. Thank you for the quick help with this task. GermanJoe (talk) 17:34, 26 September 2019 (UTC)
- @GermanJoe: New ads are appearing: see Maxima (software). @Petilil: Please can you tell us how you added the title to this edit? Thank you for adding the information and the reference, and no one is suggesting that you did anything wrong, but if you are using a tool then we may be able to improve it to add better titles. Certes (talk) 09:29, 28 September 2019 (UTC)
- One source of this problem is User talk:Zhaofeng Li/reFill#Refill 2 and Github titles, but maybe some of the instances have been simple good-faith mistakes by editors (the GitHub advertisement is stored within one title field of the original HTML pages on GitHub). Unfortunately I haven't heard any news about this aspect and don't have a GitHub account to report this issue directly at https://github.com/zhaofengli/refill/issues . GermanJoe (talk) 09:47, 28 September 2019 (UTC)
- So the way to get this fixed is to Contribute to its development by creating an account on GitHub? How ironic. Certes (talk) 10:13, 28 September 2019 (UTC)
- Yeah, I guess so lol. Didn't even occur to me when writing the information. GermanJoe (talk) 10:16, 28 September 2019 (UTC)
- So the way to get this fixed is to Contribute to its development by creating an account on GitHub? How ironic. Certes (talk) 10:13, 28 September 2019 (UTC)
- I've simply used the Cite button in the 2017 wikitext editor and pasted the URL. Petilil 10:18, 28 September 2019 (UTC)
- One source of this problem is User talk:Zhaofeng Li/reFill#Refill 2 and Github titles, but maybe some of the instances have been simple good-faith mistakes by editors (the GitHub advertisement is stored within one title field of the original HTML pages on GitHub). Unfortunately I haven't heard any news about this aspect and don't have a GitHub account to report this issue directly at https://github.com/zhaofengli/refill/issues . GermanJoe (talk) 09:47, 28 September 2019 (UTC)
- Tools that get titles from the HTML
<title></title>
are prone to this sort of thing. One reason I never made a title bot the edge cases. For now I guess we are left removing stuff piece-meal. A title bot could both add missing titles and be trained to remove strings via a public regex config page. -- GreenC 16:02, 28 September 2019 (UTC) - New cases are still popping up. I'm fixing one every few days, and I expect other editors are catching some before I spot them. Certes (talk) 21:47, 24 October 2019 (UTC)
Bulk/automated move pages
Please can someone assist with the requested move as at Talk:2011 United Kingdom census#Requested move 25 October 2019, i.e. all pages at Category:Censuses in the United Kingdom with the structure "United Kingdom census, 2011" should be changed to "2011 United Kingdom census"; as with the example United Kingdom census, 2011 → 2011 United Kingdom census. Thank you in advance! comrade waddie96 ★ (talk) 19:27, 1 November 2019 (UTC)
- Already done by the looks — IVORK Talk 05:57, 2 November 2019 (UTC)
Fix misuse of native name parameter
Template:Infobox organization did not have |full_name=
until a few minutes ago. Because of that, users often used |native_name=
as a work around, but this makes implementing changes to the native_name parameter harder. Could an AWBer go through Category:Infoboxes without native name language parameter and fix this? For each page, if |native_name=
is an English phrase that's just the longer name of the organization, could you change it to |full_name=
. If it's in another language feel free to leave it be. Thanks! Wug·a·po·des 23:02, 21 November 2019 (UTC)
In progress Going to give this a shot.Colin M (talk) 00:31, 22 November 2019 (UTC)- @Wugapodes: How would you like me to deal with examples like Congregation of the Sacred Hearts of Jesus and Mary or Council of Fifty where the
native_name
value is an alternative (English) name which isn't really a "full name" or an abbreviation? Just delete it? Colin M (talk) 01:26, 22 November 2019 (UTC)- @Colin M: There's a
|nickname=
parameter that might be useful. I'd say go with your gut on whether nickname or removal is better in each case; worst case a local editor will fix it if it's not ideal. Wug·a·po·des 01:40, 22 November 2019 (UTC)
- @Colin M: There's a
- Done I think I got them all with the exception of a small number that I wasn't sure what to do with:
- For these 2, I wasn't sure whether the native_name parameter was actually a native name: Al-Shabaka, The Palestinian Policy Network, Brothers of the Sacred Heart
- In the following pages, a non-english name is used as the base name (of the article, and in the
name
param), and the English translation was put innative_name
. Wasn't sure what to do about them (was worried that moving the English name toname
might be WP:UNDUE): Comité International des Sports des Sourds, Deutsche Vereinigung, Jungdeutsche Partei, Mizo Zirlai Pawl, Na Píobairí Uilleann, Union Saint-Jean-Baptiste d’Amérique, Angkatan Amanah Merdeka
- Also, not sure if you're aware, but
full_name
seems to be being treated as an 'unrecognized parameter' (even though it obviously shows up in the rendered infobox), in that it creates a warning in the editor and puts the article in Category:Pages using infobox organization with unknown parameters. Colin M (talk) 03:24, 22 November 2019 (UTC)- I was not aware that it was adding pages to that tracking category. I've fixed the template so hopefully it will depopulate soon. As for the exceptions, that's a small enough set that any breaks can be handled manually. Thanks for doing this! Wug·a·po·des 03:34, 22 November 2019 (UTC)
Changing links
Can you please change the links on What links here from Portal:Contents to Wikipedia:Contents? I already changed some of them, but can anyone use AWB to change those links faster? Interstellarity (talk) 19:09, 10 December 2019 (UTC)
- Here are the only source links: [3] (can be found with this script). I don't see why it would be necessary to update these, there is already a redirect from the former title. – Thjarkur (talk) 19:15, 10 December 2019 (UTC)
Check section headers?
Heyo. Can anyone possibly check section headers (particularly these examples below) for <math> tags??
==<math>
===<math>
====<math>
=====<math>
or anything in a section header that has the <math> tag in it according MOS:MAIN 1.3? (If so, remove the math tag.) Happy editing! dibbydib 💬/✏ 07:48, 5 December 2019 (UTC)
- This query should capture most such cases. But I don't think it's as simple as just removing the math tag. For example,
===Equation in \R^3==
would not be a good section title. In some cases it will require some subject matter knowledge to come up with an appropriate plain text replacement. Colin M (talk) 19:45, 17 December 2019 (UTC)
Taxapad
I have a very specific task that may or may not be appropriate, and may or may not be possible.
At Help_talk:Citation_Style_1#date_range_in_cite-web I mentioned that we have a few thousand pages containing the string (1997-2012) in the "date" field for a previously existing website known as Taxapad. This, apparently, denotes the time period that the site was online. But the template has it showing next to the researcher's name, which confused me, as it looks like a birth and death date. Few people would think that a researcher could have written and documented 4,000 species by the time he was 14, but the first example of this I saw had 2015 instead and I actually was fooled. So my questions are:
- Is it possible for AWB to remove or replace the string (1997-2012) in the date field in nearly 4,000 articles?
- Is it worth it for us to do so?
- Is it possible to also search for other date ranges, including those that might seem more plausibly to be someone's birth and death dates?
If it matters, I'm a former sysop who lost AWB access when I was desysopped, but even when I had had access to AWB, I would not have felt comfortable doing such a large task on my own.
Thank you for your time, —Soap— 01:23, 20 December 2019 (UTC)
- Soap, probably best to get actual bot approval for this since I at least won't sit through a 3830 pages AWB run with no risk for false positives. I will file a BRFA right now. ‑‑Trialpears (talk) 01:56, 20 December 2019 (UTC)
- BRFA filed ‑‑Trialpears (talk) 02:05, 20 December 2019 (UTC)
- Okay, thank you for reminding me that there's more than just AWB. I was actually not expecting this to be considered important enough to address, but if a bot can do it with little human effort, I suppose it's a good idea. —Soap— 02:06, 20 December 2019 (UTC)
- BRFA filed ‑‑Trialpears (talk) 02:05, 20 December 2019 (UTC)
Tracking IDs, such as fbclid
An editor is adding links with tracking IDs, such as fbclid and cid. Is there a bot or a regular expression which can catch most of these? — Arthur Rubin (talk) 20:12, 23 December 2019 (UTC)
- WT:Bots/Requests for approval/PrimeBOT 17 may be relevant. Certes (talk) 20:16, 23 December 2019 (UTC)
York City Knights 3 February 2019 article de-merger issues...
Further to the discussion here, would it be possible for the articles that incorrectly redirect to the York City Knights article to be corrected such that…
- [[York City Knights|York]] => [[York F.C.]]
- [[York City Knights|Ryedale-York]] => [[Ryedale-York]]
- [[York City Knights|York Wasps]] => [[York Wasps]]
Best regards
DynamoDegsy (talk) 21:01, 18 December 2019 (UTC)
- Done @DynamoDegsy: In many cases I replaced [[York City Knights|York]] with [[York F.C.|York]] instead. In other cases I didn't replace it because the links referred to the post-2002 club. BegbertBiggs (talk) 14:30, 21 February 2020 (UTC)
- @BegbertBiggs: Thank you very much for your efforts. Best regards DynamoDegsy (talk) 16:25, 21 February 2020 (UTC)
Tagging categories for CfD
Would anyone be willing to tag all categories listed at Wikipedia:Categories_for_discussion/Log/2020_March_21#Medical_outbreaks_by_country? I have done the first category manually. Marcocapelle (talk) 07:34, 21 March 2020 (UTC)
- Done — JJMC89 (T·C) 23:51, 21 March 2020 (UTC)
Undo some category 'copying'?
Could AWB be used to undo some category 'copying' and would anyone be willing to do it? (please ping if the answer is no, and/or if possible can we advise User:Störm on another way to proceed?) --kingboyk (talk) 21:31, 19 February 2020 (UTC)
- @Kingboyk: You could actually just use Cat-a-lot again removing the category through his contribs. 1234qwer1234qwer4 (talk) 21:17, 25 February 2020 (UTC)
- @1234qwer1234qwer4: Nice idea. I don't suppose you'd be willing to take on the job would you? I'm really busy right now. --kingboyk (talk) 21:19, 25 February 2020 (UTC)
- @Kingboyk: Are you talking about removing the category from all pages it was added to by the user at that time, no matter if the categorisation was correct? 1234qwer1234qwer4 (talk) 10:26, 26 February 2020 (UTC)
- @1234qwer1234qwer4: If done by a human then ideally only the incorrect additions would be removed. That would certainly be the best outcome. However in the link above User:Störm agrees it is better for all to be reverted rather than none and gave permission for that to be done wholesale by a bot. If there is any doubt about what User:Störm wants done or has "authorised" it is better negotiated with User:Störm than with me. The only "authority" I have is User:Störm's message. --kingboyk (talk) 13:24, 26 February 2020 (UTC)
- I've asked Störm to pop over and give explicit permission for all the edits to be undone, or to otherwise state what they want done. --kingboyk (talk) 13:28, 26 February 2020 (UTC)
- I will not mind if you remove them (even if some are correct). Thanks for the effort. Störm (talk) 13:35, 26 February 2020 (UTC)
- Done I will do this tomorrow, if there are no objections. All the best: Rich Farmbrough (the apparently calm and reasonable) 17:53, 28 March 2020 (UTC).
- Done I will do this tomorrow, if there are no objections. All the best: Rich Farmbrough (the apparently calm and reasonable) 17:53, 28 March 2020 (UTC).
- I will not mind if you remove them (even if some are correct). Thanks for the effort. Störm (talk) 13:35, 26 February 2020 (UTC)
- I've asked Störm to pop over and give explicit permission for all the edits to be undone, or to otherwise state what they want done. --kingboyk (talk) 13:28, 26 February 2020 (UTC)
- @1234qwer1234qwer4: If done by a human then ideally only the incorrect additions would be removed. That would certainly be the best outcome. However in the link above User:Störm agrees it is better for all to be reverted rather than none and gave permission for that to be done wholesale by a bot. If there is any doubt about what User:Störm wants done or has "authorised" it is better negotiated with User:Störm than with me. The only "authority" I have is User:Störm's message. --kingboyk (talk) 13:24, 26 February 2020 (UTC)
- @Kingboyk: Are you talking about removing the category from all pages it was added to by the user at that time, no matter if the categorisation was correct? 1234qwer1234qwer4 (talk) 10:26, 26 February 2020 (UTC)
- @1234qwer1234qwer4: Nice idea. I don't suppose you'd be willing to take on the job would you? I'm really busy right now. --kingboyk (talk) 21:19, 25 February 2020 (UTC)
Rcat correction
Recently, I've created a couple hundred redirects of the form “KY [number]” and “Road [number] (Kentucky)” to the corresponding lists. Unfortunately, I tagged both kinds as R from abbreviation, although the second one is not. Could somebody please remove it from that categories? Thanks in advance and sorry for causing this problem. 1234qwer1234qwer4 (talk) 13:05, 29 March 2020 (UTC)
- Concretely, the list is [4]. 1234qwer1234qwer4 (talk) 13:14, 29 March 2020 (UTC)
- Done — JJMC89 (T·C) 18:26, 29 March 2020 (UTC)
Middle-earth redirects to sections
In all redirects from Category:Middle-earth redirects to sections where the categorisation is made through [[Category:Middle-earth redirects to sections]]
, replace that with the template {{R ME to section}}
. This includes adding the redirect category shell where appropriate. 1234qwer1234qwer4 (talk) 17:25, 11 April 2020 (UTC)
Tagging categories for CfD (2)
Would someone be willing to tag the categories listed at Wikipedia_talk:Categories_for_discussion/Log/2020_April_18? I have already tagged the first category, Category:Media by continent. It is quite likely that some categories appear twice in the list, but I presume that this does not harm. Marcocapelle (talk) 08:43, 18 April 2020 (UTC)
- @Marcocapelle: Doing... 1234qwer1234qwer4 (talk) 10:36, 18 April 2020 (UTC)
- Done. 1234qwer1234qwer4 (talk) 11:32, 18 April 2020 (UTC)
Tagging categories for CFDS
For the categories listed at Wikipedia:Categories_for_discussion#Current_requests, from Category:1870 in media up to and including Category:2027 in media, which are all nominated for speedy renaming, would someone be willing to copy the tag from Category:1795 in media to all these other category pages? Thanks in advance! Marcocapelle (talk) 13:06, 24 April 2020 (UTC)
- It has been done already. Marcocapelle (talk) 10:59, 25 April 2020 (UTC)
Fix bulleted lists
We all know that normal bulleted lists don't work here due to MediaWiki line breaks, e.g. • item 1 • item 2 • item 3 displays in most settings as a proper list, but here the text appears in the middle of a paragraph. Fixes like [5] are therefore necessary. Could someone try to run from a database dump and fix these situations? I suspect it would also be good to find "substitute" code, e.g.
• item 1
• item 2
• item 3
and
• item 1
• item 2
• item 3
Thanks! Nyttend (talk) 11:28, 30 April 2020 (UTC)
Cleaning up template categories
When template is categorized through its /doc subpage, the categorization (and interwikis) need to be wrapped in <includeonly>{{Sandbox other||...}}</includeonly>
per WP:CAT#T. I would like to automatically perform wrapping in {{Sandbox other}} where it is missing. Ideally:
- Go through all pages in Category:Template documentation pages.
- Find all
<includeonly>...</includeonly>
tag pairs. - If the contents of
<includeonly>...</includeonly>
start with[[Category:
or with an interwiki link[[two lowercase letters:
, then wrap everything till the closing</includeonly>
using {{Sandbox other}}.
Sometimes the contents of <includeonly>...</includeonly>
start with an inline comment.
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
Special:Diff/206145814<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
Special:Diff/257359583<!-- Categories and interwikis go here: -->
Special:Diff/413228483<!-- CATEGORIES HERE, THANKS -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AFTER THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
<!-- CATEGORIES -->
<!-- Categories below this line, please; interwikis at Wikidata -->
Special:Diff/615806729
Usually the /doc page is generated from one of the versions of Template:Documentation/preload. However, sandbox filtering in the preload template was added only in 2014 (with switch to {{Sandbox other}}
in 2016), so quite a lot of documentation subpages don't have it.
Examples of such edit: Special:Diff/951716960, Special:Diff/951862462, Special:Diff/951472439. Currently, there are 30,549 pages in the category. Would it be possible to do such a clean up with AWB? —andrybak (talk) 09:17, 19 April 2020 (UTC)
- @Andrybak:, I just wanted you to check the first edit on my run before I go any further. Is [6] what you are looking for? VanIsaacWScont 19:15, 23 April 2020 (UTC)
- VanIsaac, yes, this edit is exactly what I'm looking for. Keep in mind, that the
<includeonly>...</includeonly>
block with categories inside often spans several lines:
- VanIsaac, yes, this edit is exactly what I'm looking for. Keep in mind, that the
<includeonly> [[Category:A]] [[Category:B]] </includeonly>
- which I expect to be turned into:
<includeonly>{{Sandbox other|| [[Category:A]] [[Category:B]] }}</includeonly>
- Thank you for interest in this task. —andrybak (talk) 20:13, 23 April 2020 (UTC)
- Yep, I will be running this through in probably several passes. This first run, it's just checking for any pages that have
<includeonly>[[Category:
and applying the {{Sandbox other|| template code between the XML tag and category link, and inserts }} before<includeonly>
, no matter how far down it happens. I'll have to manually correct if there happen to be more than one </includeonly> tag on the page. For the second pass, I'll look for a line break between the <includeonly> and category, and then I'll have to brush up on regular expressions to hit all the interwikis for the third/fourth passes. But I'll be starting on my first run now. VanIsaacWScont 20:24, 23 April 2020 (UTC)
- And as I started my run, I realized I could tweak the search function to hit all of them that have categories, no matter whether there were line breaks or comments between. So I'm not just at two runs - one for categories, one for interwiki links. VanIsaacWScont 20:39, 23 April 2020 (UTC)
- @Andrybak:, I'm noticing two sets of /doc subpages that appear to have some sort of equivalent to template:Sandbox other. I've been skipping them, but I'm also saving them as a list in my userspace. A few of the pages are using {{basepage subpage|<-categories here->}}, and I didn't know if we wanted to replace those or just leave them be. The other, much more numerous set are using {{#ifeq:{{SUBPAGENAME}}|sandbox | |<-categories here->}}, and I assume we'd want to migrate to the template, but I wanted to run those by you first. VanIsaacWScont 21:31, 23 April 2020 (UTC)
- Vanisaac, huh, I've never seen a /doc subpage with
{{basepage subpage}}
before, that's a new one for me, let me get back to you with regard to those pages. As for the {{#ifeq...}}—yes, it would great to migrate them. The template acquired quite a bit more functionality than just a {{#ifeq:{{SUBPAGENAME}}|sandbox...}} check. And it is the default of the preload template. —andrybak (talk) 21:46, 23 April 2020 (UTC)
- Vanisaac, huh, I've never seen a /doc subpage with
- Yep, I will be running this through in probably several passes. This first run, it's just checking for any pages that have
- Thank you for interest in this task. —andrybak (talk) 20:13, 23 April 2020 (UTC)
- Okay @Andrybak:, I have run through about 4000 of these pages, and updated right around 1800. Obviously, there's a lot more to go. You can check out about a half-dozen that need to be hand-catered at User:Vanisaac/test/5. I may take another crack later on this evening to get some more churned out, but it might be tomorrow morning (Western US) before I get to it again. VanIsaacWScont 02:09, 24 April 2020 (UTC)
- Special thanks to User:DePiep who went through the first batch of anomalies and got them all fixed up. I am currently well into the "D"s after a LONG slog through all the "Country data..." template documentation, basically all of which needed to be updated. I'll post an update on my progress at the end of the day today - it's looking like this will take a few more days to finish up. VanIsaacWScont 23:24, 24 April 2020 (UTC)
- Thx. I found that {{When on basepage}} is a useful alternative option, because it simply deselects all subpages (esp subtemplates, which are positives when using {{Sandbox other}}). This is thoughts for manual & future development. -DePiep (talk) 06:45, 25 April 2020 (UTC)
- {{Subpage other}} is even better. -DePiep (talk) 07:12, 25 April 2020 (UTC)
- Update 4/24. I am in at the "G"s now and going pretty strong. I figure I've updated around 5800 pages so far, and gone through another 3500 or so that either don't have a [[Category:, or already have template:Sandbox other. This puts me right around 30% of the way through the run. There will be one more run checking for those few /doc template pages that have interwikis, but not any categories that need updating, but with the AWB tool able to check about 100 pages / min, that last run probably won't take more than a day after I finish the first run - probably around Monday/Tuesday. Again, there are a few pages needing to be hand-checked at User:Vanisaac/test/5, including all of the subpages for some documentation templates. They have a lot of logic in them, and I don't want to screw them up. VanIsaacWScont 05:37, 25 April 2020 (UTC)
- I might be missing something, Andrybak, but is this necessary on all doc subpages, even where the template doesn't have a sandbox? – Uanfala (talk) 15:34, 25 April 2020 (UTC)
- That's a good question @Uanfala:, and the answer is yes. When you click on the "sandbox" link at the bottom of documentation pages (it's a coded part of {{documentation}}) and there isn't an existing sandbox to edit, the new sandbox automatically includes a transclusion of the /doc for that template. So the /doc page needs to have this code in case anyone ever creates a sandbox in the future, not just for existing sandboxes. But thanks for asking the important question. VanIsaacWScont 16:23, 25 April 2020 (UTC)
- But in this case won't it be better to add the template when the sandbox is created? Or rather, if a sandbox is created – the vast majority of these templates aren't likely to need sandboxes any time soon. You wouldn't want to have to make 30,000 edits adding something that may never be needed? – Uanfala (talk) 17:46, 25 April 2020 (UTC)
- I can't speak to how many of these templates will ever be sandboxed in the future or how much of a maintenance problem they would cause without categories being properly suppressed. But this code is definitely included as the base code for new documentation subpages for a while now, and it would unequivocally be a royal pain to keep having to do this every time a sandbox gets created and the /doc doesn't do what it needs to. It is expected functionality that /doc pages suppress template categories in sandboxes now, so make of that what you wish in terms of necessity. VanIsaacWScont 18:56, 25 April 2020 (UTC)
- re
is this necessary on all doc subpages, even where the template doesn't have a sandbox?
Yes. No harm done. Even better: this solution does not require future maintenance actions, which is great. -DePiep (talk) 19:14, 25 April 2020 (UTC)
- re
- That's a good question @Uanfala:, and the answer is yes. When you click on the "sandbox" link at the bottom of documentation pages (it's a coded part of {{documentation}}) and there isn't an existing sandbox to edit, the new sandbox automatically includes a transclusion of the /doc for that template. So the /doc page needs to have this code in case anyone ever creates a sandbox in the future, not just for existing sandboxes. But thanks for asking the important question. VanIsaacWScont 16:23, 25 April 2020 (UTC)
- Update 4/25: Okay, I got through almost 7500 pages today to get to the start of the "O"s. With over 10,000 total pages updated (including almost all of the infoboxes!) and over 6500 pages checked but not edited, I figure we are a bit shy of 60% of the way through this main run. I have a couple ideas for follow-up tasks that I'll discuss with @Andrybak: and @DePiep: before posting to the appropriate forum(s). Point of interest: I checked my editing statistics, and these last three days are now almost even with the number of edits I had in my most productive year editing Wikipedia. Thanks again to DePiep for checking on the dozen or so pages I found today that I wanted a second opinion on.
- Update 4/26: I had an incredibly productive day today, and got through a total of 25,000 pages through today, updating a bit over 15,000 of them. Unfortunately, I got through EXACTLY 25,000, because unbeknownst to me, AWB will only load that many pages from a category. So I am through template:User in Basilicata/doc, but will have to do a little investigation, and maybe get some help to get the remaining 5,575 pages in category:Template documentation pages to finish this run. Fortunately, I got to circle around and catch the pages before template:Adminstats/doc that I didn't have the full replacement settings specified on the first run through. I will probably take most of the day off tomorrow for personal reasons, so I'll have an update on Tuesday, which hopefully will be close to the end. VanIsaacWScont 07:09, 27 April 2020 (UTC)
- Update 4/28: With a great deal of thanks to User:SD0001 running SDZeroBot, I was able to get ahold of the final set of template documentation pages. @Andrybak:, please make sure to express your gratitude to SD0001 for his critical assistance in allowing us to bypass a hard limit in the Wikipedia API. I was able to put in a good chunk of time this evening, and got half of the remaining pages processed, updating over 2300 of them in the process, including all of the remaining Userboxes. I will almost certainly get through all the remaining pages with unsuppressed categories tomorrow, and then be able to do a scan for any pages that might have interwikis, but not any categories. Looks like we'll be done tomorrow and can do the post-op consultation. VanIsaacWScont 07:29, 29 April 2020 (UTC)
- @Andrybak:Sorry I forgot to post an update yesterday. As of last night, I got through the initial main run. Just so we are all on the same page as to what those ~19,500 edits did, the following are the specifications for that run:
- matches a page if it contains "[[Category:"
- AND doesn't contain "{{Sandbox other"
- Check for logic suppressing categories on /sandbox and proceeded as follows:
- Kept
{{basepage subpage}}
or{{when on basepage}}
, whether or not they used<includeonly>...</includeonly>
- Replaced {{#ifeq:{{{SUBPAGENAME}}}|sandbox with
{{Sandbox other}}
- Retained other logic suppressing or expressing catgories on other transclusions of the /doc page (e.g. matching for /testcases)
- Fixed any misuses of
<includeonly>
and<noinclude>
to properly have documentation categories express on the /doc page, and non-documentation categories express on transclusion. - Posted links to several dozen complex situations on my userspace to be double checked, and once again thanks to User:DePiep for fixing so many of those. There are still a few left there that need someone more well versed on template categorization and the subpage templates' functioning. Both DePiep and I have commented if they are enough of a head-scratcher that we didn't feel comfortable messing with them.
- And of course I did some general cleanup: Combined separate categories and interwiki
<incudeonly>
sections. Some pages had two sections of categories with varying levels of duplication that I combined. A few pages had categories oddly in the middle of the /doc page instead of at the bottom, although I did not move categories below<templatedata>
sections unless there was other content to move the categories below as well.
- Kept
- That main runthrough ended up hitting on around 2/3 of the /doc pages in , with almost all userboxes, WikiProject templates and infoboxes needing to be updated. The second runthrough is exactly the same as the first, except instead of "{{Category:", it matches to "{{" followed by two lowercase letters + ":" OR "{{simple:" while still missing "{{Sandbox other". Given that all /doc pages with "[[Category:" have already been updated, this is hitting on well less than 1% of the pages being scanned, with about half of those being false positives matching on a link to a "{{mw:" in the template description instead of an equivalent template on an interwiki. That scan will probably take up six hours or so today, but I can just check it while doing other things around the house. Once that scan is done tonight, I will write up a full report and ask about a few follow-up tasks. VanIsaacWScont 17:40, 30 April 2020 (UTC)
- VanIsaac, great progress, thanks for the update! I've gone through current list at User:Vanisaac/test/5#Random odd code. —andrybak (talk) 18:10, 30 April 2020 (UTC)
- Minor note re some complex cases left todo: not esp someone else, might be done by me. I just need some time to take a deep look into these. -DePiep (talk) 18:23, 30 April 2020 (UTC)
- My apologies, DePiep. I know that both you and I have delved into the depths of batshit crazy templates before, and didn't mean to imply that either of us were lacking in the ability to analyze these cases. Just that neither of us would want to finalize any changes without doing the proper background for the arcane functioning we found. VanIsaacWScont 18:45, 30 April 2020 (UTC)
- All is fine. -DePiep (talk) 19:15, 30 April 2020 (UTC)
- My apologies, DePiep. I know that both you and I have delved into the depths of batshit crazy templates before, and didn't mean to imply that either of us were lacking in the ability to analyze these cases. Just that neither of us would want to finalize any changes without doing the proper background for the arcane functioning we found. VanIsaacWScont 18:45, 30 April 2020 (UTC)
- Minor note re some complex cases left todo: not esp someone else, might be done by me. I just need some time to take a deep look into these. -DePiep (talk) 18:23, 30 April 2020 (UTC)
- VanIsaac, great progress, thanks for the update! I've gone through current list at User:Vanisaac/test/5#Random odd code. —andrybak (talk) 18:10, 30 April 2020 (UTC)
- Final update: I am writing this as the scan for interwiki links is into the "U"s, and we've realistically got an hour or so left until it's all done, although I might head to bed and finish it off in the morning. I will never have an absolute final count of edits, due to the fact that the edit counter only aggregates by month, and I was playing around with several templates in April before I got this task, including creating
{{letter reps}}
, so my template namespace edits aren't all for this task. But right now it looks like we will end up updating around 19,750 template documentation pages to suppress template categories in sandboxes. Again, much thanks to both @DePiep: and @SD0001: for their assistance with key aspects of this task. I will be posting my proposed follow-ups to WikiProject Templates (talk) shortly, and specifically invite DePiep and Andrybak to please join in the discussion there. This has been a really interesting maintenance project, and I'm glad to have been able to get this done. VanIsaacWScont 07:11, 1 May 2020 (UTC)
{{Sandbox other}}
added to template documentation pages with categories and interwikis: Done
- Final report and statistics recorded at User:Vanisaac/test/5#Final report on Template category cleanup run, 2020-04-24 - 2020-05-01. VanIsaacWScont 22:02, 1 May 2020 (UTC)
Fixing the phylum of Chryseobacterium species
Hi all, Abstrakt recently brought up a problem with ~100 articles on Chryseobacterium species. The taxobox of each lists them as phylum = Proteobacteria
, when the correct phylum is phylum = Bacteroidetes
(This was a typo during the semi-automated page creation 4 years ago, and no one noticed until now). Doing this 100 times will take me all day. Could someone a bit more tech savvy take this on? The articles that need to be checked are the ones listed at Chryseobacterium#Species. Thanks in advance! Ajpolino (talk) 14:50, 7 May 2020 (UTC)
- @Ajpolino: Done. 1234qwer1234qwer4 (talk) 14:57, 7 May 2020 (UTC)
- 1234qwer1234qwer4 My hero! Ajpolino (talk) 15:05, 8 May 2020 (UTC)
Adding navbox to pages
Hi, would someone mind adding {{Clinical microbiology techniques}} to the linked pages? It would be pretty tedious to do by hand. Thanks, SpicyMilkBoy (talk) 09:39, 8 May 2020 (UTC)
- Where is the link? Or are you just talking about all of the pages that appear in the navbox? VanIsaacWScont 20:36, 8 May 2020 (UTC)
- Yes, I meant all of the pages in the navbox. I actually just started doing it manually because I was bored, so Request withdrawn :) SpicyMilkBoy (talk) 20:38, 8 May 2020 (UTC)
- Hey, I'm not one to judge. I put a restriction template around the categories in 20,000 template documentation pages two weeks ago, largely because I was bored. Thanks for letting us know your issue is resolved. VanIsaacWScont 21:13, 8 May 2020 (UTC)
- Yes, I meant all of the pages in the navbox. I actually just started doing it manually because I was bored, so Request withdrawn :) SpicyMilkBoy (talk) 20:38, 8 May 2020 (UTC)
I started on this task with AWB, but can anyone help me do some of it. I'll do some of it, but it requires a lot of edits to do. This is part of the discussion at Talk:Swiss_(disambiguation)#Requested_move_12_May_2020 to fix the links. Interstellarity (talk) 01:31, 17 May 2020 (UTC)
- @Interstellarity: Doing... - Flori4nKT A L K 15:47, 17 May 2020 (UTC)
- @Flori4nK: Pings only work when added in the same edit as the signature. 1234qwer1234qwer4 (talk) 16:44, 17 May 2020 (UTC)
- @Interstellarity: Since some should be
[[Switzerland|Swiss]]
and others should be[[Swiss people|Swiss]]
, it seems it would be better to change Swiss to be a disambiguation page and then use AWB (or WPCleaner or Dab solver) to fix the links, instead of trying to fix the links and then make it a disambig page. GoingBatty (talk) 23:22, 17 May 2020 (UTC)- DisamAssist might be better for this case, as the links lead to the same page. (Dab solver works best when the links go from the same page.) Certes (talk) 23:46, 17 May 2020 (UTC)
- @GoingBatty: I can't move the disambiguation page while a discussion is going on. In the meantime, I have been using AWB to change some of the links in that page. Are you able to fix the links? Interstellarity (talk) 00:07, 18 May 2020 (UTC)
- I've worked through about 50 articles, using DisamAssist's "Disambiguate links to primary topic" option on Swiss (disambiguation). Almost all are for Switzerland, with Swiss Albums Chart a distant second. I've only changed one link into Swiss people, as the references to people generally describe nationality rather than ancestry. Does anyone think that more of the links should have gone to Swiss people? Certes (talk) 00:50, 18 May 2020 (UTC)
- I am doing the bulk of this task. It should be done in a day or two. Interstellarity (talk) 16:42, 19 May 2020 (UTC)
- DisamAssist might be better for this case, as the links lead to the same page. (Dab solver works best when the links go from the same page.) Certes (talk) 23:46, 17 May 2020 (UTC)
- @Interstellarity: Since some should be
- @Flori4nK: Pings only work when added in the same edit as the signature. 1234qwer1234qwer4 (talk) 16:44, 17 May 2020 (UTC)
Mass user template categorization
Please add
<noinclude> [[Category:Barnstars user templates|{{SUBPAGENAME}}]] </noinclude>
after the last character to all pages in Special:PrefixIndex/User:DangerousPanda/Userboxes/Barnstars/ , where categorization is not already present. —andrybak (talk) 14:48, 21 May 2020 (UTC)
Fix parameter "nocat" in userboxes
There is a glitch in the gadget HotCat, which causes parameter |nocat={{{nocat|}}}
to be broken when passed into Template:Userbox, due to confusion of triple braced {{{nocat|}}} with double braced {{nocat|}}. Glitch in action: Special:Diff/401385827. Fix example: Special:Diff/956639287.
Could someone please replace instances of nocat = {}
with nocat = {{{nocat|}}}
? Here's a regex search to find broken instances. —andrybak (talk) 13:33, 14 May 2020 (UTC)
- Done. 1234qwer1234qwer4 (talk) 13:44, 14 May 2020 (UTC)
- 1234qwer1234qwer4, is it possible to do the same for User namespace, but only when the page is a subpage? i.e. when the page's title contains a slash. Here's a search, however, I couldn't get
intitle:/
to work. —andrybak (talk) 13:50, 14 May 2020 (UTC)
- @Andrybak: Yes, I'll just use the AWB list filter. 1234qwer1234qwer4 (talk) 13:54, 14 May 2020 (UTC)
- @Andrybak: Done, probably. 1234qwer1234qwer4 (talk) 14:30, 14 May 2020 (UTC)
- 1234qwer1234qwer4, thank you. It's done, the search shows only top level user pages, where we don't need the
|nocat=
. —andrybak (talk) 14:39, 14 May 2020 (UTC)- @Andrybak: And one talk page archive. Is the bug in HotCat already reported? 1234qwer1234qwer4 (talk) 14:42, 14 May 2020 (UTC)
- 1234qwer1234qwer4, I've tried half a year ago: Special:Diff/897758241/900780475, but it got archived without a response. Perhaps, Wikipedia talk:HotCat is not the best venue. —andrybak (talk) 14:51, 14 May 2020 (UTC)
- @Andrybak: I looked on Phabricator, and there seems not to be a HotCat project there. Maybe post this on the talk page on Commons? 1234qwer1234qwer4 (talk) 15:02, 14 May 2020 (UTC)
- 1234qwer1234qwer4, HotCat on Commons seems to not have the same issue, despite also having a commons:Template:nocat. It automatically removes only {{uncategorized}}: commons:Special:Diff/419145718/419145728. —andrybak (talk) 15:28, 14 May 2020 (UTC)
- @Andrybak: I looked on Phabricator, and there seems not to be a HotCat project there. Maybe post this on the talk page on Commons? 1234qwer1234qwer4 (talk) 15:02, 14 May 2020 (UTC)
- 1234qwer1234qwer4, I've tried half a year ago: Special:Diff/897758241/900780475, but it got archived without a response. Perhaps, Wikipedia talk:HotCat is not the best venue. —andrybak (talk) 14:51, 14 May 2020 (UTC)
- @Andrybak: And one talk page archive. Is the bug in HotCat already reported? 1234qwer1234qwer4 (talk) 14:42, 14 May 2020 (UTC)
- 1234qwer1234qwer4, thank you. It's done, the search shows only top level user pages, where we don't need the
- @Andrybak: Done, probably. 1234qwer1234qwer4 (talk) 14:30, 14 May 2020 (UTC)
- @Andrybak: Yes, I'll just use the AWB list filter. 1234qwer1234qwer4 (talk) 13:54, 14 May 2020 (UTC)
- 1234qwer1234qwer4, is it possible to do the same for User namespace, but only when the page is a subpage? i.e. when the page's title contains a slash. Here's a search, however, I couldn't get
Lines 130–132 at commons:MediaWiki:Gadget-HotCat.js:
// A regexp matching a templates used to mark uncategorized pages, if your wiki does have that.
// If not, set it to null.
uncat_regexp: /\{\{\s*[Uu]ncategorized\s*[^}]*\}\}\s*(<!--.*?-->\s*)?/g,
These lines seem to be responsible for template detection on Commons. —andrybak (talk) 15:33, 14 May 2020 (UTC)
- 1234qwer1234qwer4, I just realized, that the previous search in User namespace was too strict with regard to whitespace around equals sign. Could you please also fix the subpages in search with arbitrary amount of spaces? —andrybak (talk) 15:32, 17 May 2020 (UTC)
- 1234qwer1234qwer4, it seems this last bit fell through the cracks. —andrybak (talk) 15:13, 21 May 2020 (UTC)
- @Andrybak: Are you referring to the task below? I haven't done this one yet. 1234qwer1234qwer4 (talk) 15:17, 21 May 2020 (UTC)
- @1234qwer1234qwer4: I'm referring to nocat={} with arbitrary amount of spaces. —andrybak (talk) 15:19, 21 May 2020 (UTC)
- @Andrybak: Are you referring to the task below? I haven't done this one yet. 1234qwer1234qwer4 (talk) 15:17, 21 May 2020 (UTC)
- 1234qwer1234qwer4, it seems this last bit fell through the cracks. —andrybak (talk) 15:13, 21 May 2020 (UTC)
Infobox NFL player url changes
NFL.com has recently changed the formatting of their player page URLs. At one point it was three letters followed by six digits, then it was the player's full name followed by a backslash and several random digits, and now it's just the player's first name then a hyphen then the player's last name. Template:Infobox NFL player is used on over 23,000 pages, and each one will need to be updated with the new URL. This is an example of a change from the oldest URL style to the newest. This is an example of a change from the most recent URL style to the current one. |nflnew=
and |nfl=
have identical functions now, but ideally all of the pages should use "nfl" instead of "nflnew". When multiple players have the same name, NFL.com formats their URLs as "player-name", "player-name-2", "player-name-3" etc. I do not know how the players with the same names are ordered, and I'd prefer to manually input those if possible if a list is made. Suffixes like "Sr." and "Jr." are omitted from the URL string. This is a typical URL for an NFL.com player page, and you can find other pages using the player search function at https://www.nfl.com/players/ (Active and Retired need to be toggled only for the search feature, it does not affect the URLs). This should only be used on infoboxes that have content within the |nfl=
, |nflnew=
, |nfl-new=
, |nfl-wd=
, or |nflwd=
parameter, as people who were only coaches do not have NFL.com player profiles. Eagles 24/7 (C) 20:23, 14 May 2020 (UTC)
- Sheesh, d:Property:P3539 has to be fixed on Wikidata now as well. If someone would fix it there, maybe it could just be imported to the infobox. 1234qwer1234qwer4 (talk) 20:28, 14 May 2020 (UTC)
- I think I might have a way to do this task with AWB (here), but I guess the
{{#explode}}
magic word doesn't work within templates? Anyone know a way to separate article titles into "first name string" "last name string" otherwise? Eagles 24/7 (C) 15:08, 20 May 2020 (UTC)- @Eagles247: You had
{{subst:#explode:{{subst:{{PAGENAME}}}}| |1}}-{{subst:#explode:{{{subst:{{PAGENAME}}}}| |2}}.
- However, it's
{{subst:PAGENAME}}
(not{{subst:{{PAGENAME}}}}
). Also, in the second part, there is one parenthesis too much. That doesn't fix it still, but with that, it definitely won't work. 1234qwer1234qwer4 (talk) 08:48, 21 May 2020 (UTC) - Okay, #explode counts from zero, but that's still not quite it. 1234qwer1234qwer4 (talk) 08:59, 21 May 2020 (UTC)
- Strangely, I can't get the magic word to work at all, see here. 1234qwer1234qwer4 (talk) 09:23, 21 May 2020 (UTC)
- I agree: #explode: seems to do nothing. It's technically a parser function rather than a magic word, but so is #ifexist: which does work. By the way, {{PAGENAME}} exists and does the same as PAGENAME but is deprecated. Beware that using space as an argument may not work everywhere, as spaces can get stripped, but I've repeated the tests with FirstnamexLastname|x|1 and that fails too. Certes (talk) 12:56, 21 May 2020 (UTC)
- @1234qwer1234qwer4:
{{#invoke:String|match|s={{PAGENAME}}|pattern=%S+|match=2}}
may do what you want. (2 is the word number for Lastname.) It may not emulate #explode: exactly when there are multiple, leading or trailing spaces; it's hard to tell without being able to test the original. Certes (talk) 13:31, 21 May 2020 (UTC)- @1234qwer1234qwer4: @Certes: It worked! Find
([\|]\s*)(nfl|nflnew|nfl-new)(\s*=\s*)([^\|\}]+)(?=\s*(\||}}))
and replace with:$1$2={{subst:#invoke:String|match|s={{subst:PAGENAME}}|pattern=%S+|match=1}}-{{subst:#invoke:String|match|s={{subst:PAGENAME}}|pattern=%S+|match=2}}
resulted in [7] Eagles 24/7 (C) 14:37, 21 May 2020 (UTC)- @Eagles247: Great! You may need something more sophisticated to handle double-barrelled and hyphenated surnames, middle initials, etc. In case it helps, match=-1 returns the last word. Certes (talk) 14:42, 21 May 2020 (UTC)
- @Certes: I think I'll skip the articles with special characters in them and just manually input those afterwards. I'm trying to add a tracking category to Template:Infobox NFL biography to create a list of all articles that have a digit within the value of
|nfl
(which would be all of the old URL formats). Right now I have{{#if:{{#invoke:String |match |s=_{{{nfl|}}}{{{nflnew|}}}{{{nfl-new|}}}{{{nfl-wd|}}} |pattern= |plain=false |nomatch=}} | [[Category:Infobox NFL biography articles with old NFL.com URL]] }}
but I'm not sure what to put in for|pattern
. Eagles 24/7 (C) 16:07, 21 May 2020 (UTC)- Something as simple as
|pattern=%d+
should work. The value tested by #if: will be the first (and probably only) number found. Certes (talk) 16:31, 21 May 2020 (UTC)- Thanks! Eagles 24/7 (C) 16:39, 21 May 2020 (UTC)
- Something as simple as
- @Certes: I think I'll skip the articles with special characters in them and just manually input those afterwards. I'm trying to add a tracking category to Template:Infobox NFL biography to create a list of all articles that have a digit within the value of
- @Eagles247: Great! You may need something more sophisticated to handle double-barrelled and hyphenated surnames, middle initials, etc. In case it helps, match=-1 returns the last word. Certes (talk) 14:42, 21 May 2020 (UTC)
- @1234qwer1234qwer4: @Certes: It worked! Find
- @Eagles247: You may also be interested in Module:String#replace, e.g.
{{#invoke:String|replace|Firstname lastname|%s+|-||false}} → "Firstname-lastname"
. Certes (talk) 10:06, 22 May 2020 (UTC)
- Strangely, I can't get the magic word to work at all, see here. 1234qwer1234qwer4 (talk) 09:23, 21 May 2020 (UTC)
- However, it's
Letter change (diacritic)
The articles listed here User:Ark25/B need to have the string "Timiş County" changed into "Timiș County" (from S-cedilla to S-comma). Thanks. — Ark25 (talk) 22:29, 29 March 2020 (UTC)
- I can do this at noon, if there are no objections. I wonder, though, about derived names such as Auto Timişoara, Timişul Şag... All the best: Rich Farmbrough (the apparently calm and reasonable) 08:50, 30 March 2020 (UTC).
- @Rich Farmbrough: Yes, everywhere the "Timiş" substring appears it should be replaced with "Timiș". Thank you. — Ark25 (talk) 23:08, 30 March 2020 (UTC)
- more
In the articles listed here, replace:
- "Argeş County" with "Argeș County"
- "Maramureş County" with "Maramureș County"
Thanks in advance. — Ark25 (talk) 20:39, 1 April 2020 (UTC)
- I have made a start, but some of those are in filenames. ϢereSpielChequers 14:18, 13 April 2020 (UTC)
- @WereSpielChequers: That's why it's an AWB task and not one for a bot. You should also make sure there are no wrong Ts with cedilla instead of Ts with comma (or other Ss with cedilla) if it is a link. 1234qwer1234qwer4 (talk) 14:22, 13 April 2020 (UTC)
- Ah fiddly. Though presumably changing one redlink to another is OK, e.g. Gorani, Argeș County. ϢereSpielChequers 14:59, 13 April 2020 (UTC)
- Well, in this case, the link is correct anyway. However, if an article with the correct letters is created, the creator would normally not create redirects from all possible misspellings. 1234qwer1234qwer4 (talk) 15:33, 13 April 2020 (UTC)
- Ah fiddly. Though presumably changing one redlink to another is OK, e.g. Gorani, Argeș County. ϢereSpielChequers 14:59, 13 April 2020 (UTC)
- @WereSpielChequers: That's why it's an AWB task and not one for a bot. You should also make sure there are no wrong Ts with cedilla instead of Ts with comma (or other Ss with cedilla) if it is a link. 1234qwer1234qwer4 (talk) 14:22, 13 April 2020 (UTC)
Thanks! If possible, please parse the list again and replace "Mureş County" with "Mureș County". Thank you! — Ark25 (talk) 21:48, 17 April 2020 (UTC)
In this list, change "Bucureşti" with "București", if possible (not in file names, not in URLs, ofc). Thanks. — Ark25 (talk) 22:33, 17 April 2020 (UTC)
- I've started on these. —ADavidB 21:11, 23 May 2020 (UTC)
In this one, change "Timisoara" with "Timișoara". — Ark25 (talk) 22:40, 17 April 2020 (UTC)
- This last set for Timișoara is done; the previous task sets are still available for completion. The only change exceptions I made were for sort keys, leaving them as "Timisoara", since they're sorted that way anyway per WP:SORTKEY. —ADavidB 20:37, 12 May 2020 (UTC)
This template got merged into Template:United States topics. This has caused a template to duplicate on some pages (ex. Poverty in the United States). I don't know how to fix this with AWB, but if someone can tell me, I'll be happy to do it. Interstellarity (talk) 21:54, 5 June 2020 (UTC)
- Done. There were only 36 cases. Certes (talk) 22:20, 5 June 2020 (UTC)
- @Certes: Thank for doing that, but I have a question: how did you do that? Interstellarity (talk) 22:48, 5 June 2020 (UTC)
- @Interstellarity: I did a Cirrus search for pages using both templates, then copy-pasted the list into JWB with a regex search for something like "\s*\{\{\s*Life in the United States\s*\}\}\s*\n", replacing it by a blank string. Certes (talk) 22:56, 5 June 2020 (UTC)
- @Certes: OK, it sounds like you used JWB rather than AWB. I am not yet familiar with AWB and have never used JWB. I'm sure I'll learn the differences between them whenever the need arises. Interstellarity (talk) 23:01, 5 June 2020 (UTC)
- AWB is generally better if you can use it. I have a problem with my AWB installation, so I use JWB which is similar but lacks some features. Certes (talk) 23:09, 5 June 2020 (UTC)
- @Certes: OK, it sounds like you used JWB rather than AWB. I am not yet familiar with AWB and have never used JWB. I'm sure I'll learn the differences between them whenever the need arises. Interstellarity (talk) 23:01, 5 June 2020 (UTC)
- @Interstellarity: I did a Cirrus search for pages using both templates, then copy-pasted the list into JWB with a regex search for something like "\s*\{\{\s*Life in the United States\s*\}\}\s*\n", replacing it by a blank string. Certes (talk) 22:56, 5 June 2020 (UTC)
- @Certes: Thank for doing that, but I have a question: how did you do that? Interstellarity (talk) 22:48, 5 June 2020 (UTC)
Fixing a bunch of references
The page Template:COVID-19 pandemic data/Nepal medical cases cites many situation reports from the Ministry of Health and Population (Nepal). An automatically generated citation of a report looks something like this:
"SitRep#121_09-06-2020 - Google Drive". drive.google.com. Retrieved 2020-06-10.
Please help changing them all to something like this:
"COVID-19 Situation Report #122 (2020-06-19)". drive.google.com. Ministry of Health and Population (Nepal). Retrieved 2020-06-10.
Inimesh (talk) 01:21, 11 June 2020 (UTC)
- @Inimesh: Done - Flori4nKT A L K 10:40, 11 June 2020 (UTC)
Request for tagging categories for mass nomination at CfD
Would someone be willing to tag all the categories in this list? I have already tagged the first category as an example. Marcocapelle (talk) 09:25, 12 June 2020 (UTC)
- @Marcocapelle: Rich is blind... which one have you tagged? - RichT|C|E-Mail 21:16, 12 June 2020 (UTC)
- @Rich Smith: no problem, it is Category:Non-profit organizations. Marcocapelle (talk) 21:21, 12 June 2020 (UTC)
- @Marcocapelle: Now not so blind! Thanks :D So do they all use need "Cfm full|day=12|month=June|year=2020|startmonth=June|startyear=2020|1=Non-profit organizations|target=" changing the relevant 1=?
- @Rich Smith: they all use the same, 1= is for the section title at the CfD page. Marcocapelle (talk) 22:07, 12 June 2020 (UTC)
- @Marcocapelle: Ok! Doing... - RichT|C|E-Mail 22:56, 12 June 2020 (UTC)
- @Marcocapelle: Done - RichT|C|E-Mail 23:21, 12 June 2020 (UTC)
- Thank you very much! Marcocapelle (talk) 06:33, 13 June 2020 (UTC)
- @Rich Smith: they all use the same, 1= is for the section title at the CfD page. Marcocapelle (talk) 22:07, 12 June 2020 (UTC)
- @Marcocapelle: Now not so blind! Thanks :D So do they all use need "Cfm full|day=12|month=June|year=2020|startmonth=June|startyear=2020|1=Non-profit organizations|target=" changing the relevant 1=?
- @Rich Smith: no problem, it is Category:Non-profit organizations. Marcocapelle (talk) 21:21, 12 June 2020 (UTC)
Kademlerdeki → Kademelerdeki
This Turkish word is misspelled. - Aybeg (talk) 09:20, 2 June 2020 (UTC)
- Do you have a list of articles where it is misspelled?VanIsaacWScont 09:35, 2 June 2020 (UTC)
- This link provides a list of articles (about 125) that contain "Kademlerdeki", though I have no info on misspelling. All of the instances appear to be for the same source, with the cited page numbers differing and one formatted as a bibliography item. —ADavidB 14:08, 2 June 2020 (UTC)
- Done I had to edit Atatürk by hand, and I put a new translation in Mehmet Suphi Kula. I would appreciate someone who actually knows Turkish to make sure it's good, since I only had google translate available, but the translation is at least sensible now. VanIsaacWScont 06:09, 9 June 2020 (UTC)
Culture by region sidebar templates categorization
In Category:Culture by region navigational boxes almost all templates are sidebar templates. Could someone please move all but three templates to Category:Culture by region sidebar templates? Exceptions are:
Example edit: Special:Diff/959731868. —andrybak (talk) 09:34, 30 May 2020 (UTC)
- I'm on it. VanIsaacWScont 09:46, 30 May 2020 (UTC)
- Done. A few notes: there were about a dozen "navbox" style templates that I did not recategorize, as they are definitely not sidebars.
{{Life in Cuba}}
appears to be a lost soul, and needs to find its proper home. All of the templates recategorized used either{{culture of region}}
or{{sidebar}}
or a variant thereof. I would suggest that the template:sidebar-based boxes should be migrated to the much simpler, and stylistically consistent template:culture of region. VanIsaacWScont 10:17, 30 May 2020 (UTC)- Vanisaac, thank you. Sorry, I guess I didn't check the category as thoroughly as I thought. —andrybak (talk) 13:06, 30 May 2020 (UTC)
CFD Mass Tagging
Hi, could someone please tag the following articles here with the tag: {:{Cfm full|day=11|month=June|year=2020|startmonth=June|startyear=2020|1=Destroyed landmarks by country|target=}:} (Removing the :'s in the template name of course) Would be greatly appreciated! SportingFlyer T·C 19:02, 14 June 2020 (UTC)
- @SportingFlyer: Doing... Naypta ☺ | ✉ talk page | 19:24, 14 June 2020 (UTC)
- @SportingFlyer: Done Naypta ☺ | ✉ talk page | 19:40, 14 June 2020 (UTC)
- @Naypta: Thank you!! SportingFlyer T·C 20:29, 14 June 2020 (UTC)
Change a reference in a large number of articles to an archived copy, and add usage notes to each article
A large number of Tasmanian articles have the following reference, which no longer works:
- "Tasmanian Road Route Codes" (PDF). Department of Primary Industries, Parks, Water & Environment. May 2017. Retrieved 30 Mar 2020.
It needs to be replaced with this:
- "Tasmanian Road Route Codes" (PDF). Department of Primary Industries, Parks, Water & Environment. May 2017. Archived from the original (PDF) on 1 August 2017. Retrieved 18 May 2020.
Usage notes as below should be inserted after the References to enable users to access the archived document:
- Note: To access the Tasmanian Road Route Codes archived document:-
- 1. Click on the “About this capture” link
- 2. Click on the link displayed (http://dpipwe.tas.gov.au/Documents/Route%20Descriptions%20V3.6.pdf)
Thanks. Downsize43 (talk) 02:48, 27 June 2020 (UTC)
- This probably should be done with standard tools like IABot or WaybackMedic (I can help with). I don't follow the usage note because clicking the archive URL works as-is: https://web.archive.org/web/20170801112712/http://dpipwe.tas.gov.au/Documents/Route%20Descriptions%20V3.6.pdf
- -- GreenC 03:14, 27 June 2020 (UTC)
@GreenC: The archive URL only displays the cover sheer - it does not give access to the contents of the document. Downsize43 (talk) 07:33, 27 June 2020 (UTC)
- For me, the archive URL displays a 64-page PDF with a six-page introduction followed by a list of road routes. Certes (talk) 10:23, 27 June 2020 (UTC)
- I also get the full 64-page PDF. -- GreenC 13:22, 27 June 2020 (UTC)
- Yes, I can see the full document on my Win10 PC, but not on my fully updated (12.4.7) IPad. Downsize43 (talk) 22:04, 27 June 2020 (UTC)
- Ok. This is a user-end problem not universal a note is not advisable. I'll work on getting the archive URL added. -- GreenC 00:33, 28 June 2020 (UTC)
- Thanks. Downsize43 (talk) 02:41, 28 June 2020 (UTC)
- Done 123 new archives added, 5 already had archives. -- GreenC 20:35, 28 June 2020 (UTC)
- Thanks. Downsize43 (talk) 02:41, 28 June 2020 (UTC)
- Ok. This is a user-end problem not universal a note is not advisable. I'll work on getting the archive URL added. -- GreenC 00:33, 28 June 2020 (UTC)
- Yes, I can see the full document on my Win10 PC, but not on my fully updated (12.4.7) IPad. Downsize43 (talk) 22:04, 27 June 2020 (UTC)
- I also get the full 64-page PDF. -- GreenC 13:22, 27 June 2020 (UTC)
Rcats
Could someone please tag these redirects with {{R from move}}? I just did a run and tagged them with a different rcat already. Thanks. 1234qwer1234qwer4 (talk) 18:11, 29 June 2020 (UTC)
- Doing... Naypta ☺ | ✉ talk page | 18:19, 29 June 2020 (UTC)
- @1234qwer1234qwer4: Done - checked a representative sample of the articles to make sure they were from moves, and they were, so I've completed the tagging on all 204 articles. Naypta ☺ | ✉ talk page | 18:44, 29 June 2020 (UTC)
Kemal Ataturk → Kemal Atatürk
His surname was "Atatürk", not "Ataturk". The Turkish language is written in an adaptation of Latin script and includes ü. - Aybeg (talk) 09:10, 22 June 2020 (UTC)
- The typo appears in 173 articles such as Osman Pamukoğlu. It is already addressed by Wikipedia:AutoWikiBrowser/Typos and should be fixable (for the moment) by running them though AWB with genfixes. Certes (talk) 11:37, 22 June 2020 (UTC)
- Where did you find that list of 173 articles? VanIsaacWScont 18:37, 22 June 2020 (UTC)
- It was from a naïve search, which has both false positives and false negatives and could be refined. This list of 70 may be more accurate. Certes (talk) 21:12, 22 June 2020 (UTC)
- @Certes and Aybeg: Doing... Naypta ☺ | ✉ talk page | 21:31, 22 June 2020 (UTC)
- Done. I've updated all the mentions, with exception solely given to the title of a book, where I couldn't verify whether the misspelling was in the book title, and a road in Delhi, where again, I couldn't verify whether the accent exists in the road name or not. Naypta ☺ | ✉ talk page | 21:42, 22 June 2020 (UTC)
- I'm working through the mentions not preceded by Kemal, with similar results. If it's the same road then I found a source with the accent, and changed it. Certes (talk) 22:23, 22 June 2020 (UTC)
- Done. I've left a few where a source says "Ataturk" or is unavailable. Most search results are now the usual exceptions such as image filenames. Certes (talk) 23:12, 22 June 2020 (UTC)
- @Certes and Aybeg: Doing... Naypta ☺ | ✉ talk page | 21:31, 22 June 2020 (UTC)
- It was from a naïve search, which has both false positives and false negatives and could be refined. This list of 70 may be more accurate. Certes (talk) 21:12, 22 June 2020 (UTC)
- Where did you find that list of 173 articles? VanIsaacWScont 18:37, 22 June 2020 (UTC)