Wikipedia:AutoWikiBrowser/Tasks/Archive 7
This is an archive of past discussions on 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 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 | Archive 10 |
Seeking regex advice
Is there a clever way to use regexes in AWB to modify something like this:
**Prime Minister -
**# [[Rashid Karami]], [[Prime Minister of Lebanon]] (1961–1964)
**# [[Hussein al-Oweini]], [[Prime Minister of Lebanon]] (1964–1965)
to this:
**[[Prime Minister of Lebanon|Prime Minister]] -
**# [[Rashid Karami]] (1961–1964)
**# [[Hussein al-Oweini]] (1964–1965)
(There might be more than two entries in the list).
Colonies Chris (talk) 11:34, 4 July 2014 (UTC)
- @Colonies Chris: How about two rules:
\*\*Prime Minister -
→**[[Prime Minister of Lebanon|Prime Minister]] -
(\*\*# \[\[[\w-\s]+\]\]), \[\[Prime Minister of Lebanon\]\] (\(\d{4}–\d{4}\))
→$1 $2
Hope this helps! GoingBatty (talk) 12:56, 4 July 2014 (UTC)
- Thanks but it's not just for Lebanon - it could be any country. I need to pick up the country name from the link next to the incumbent's name, and plug that into the 'Prime Minister of xxx' heading of the list (and remove the corresponding link from each individual entry on the list). I know AWB has a facility to specify whether regexes are single line or multiline, but I don't really understand how that works. Colonies Chris (talk) 13:24, 4 July 2014 (UTC)
@Colonies Chris: This will take care of the heading and the first PM. You can then do a quick find and replace on all the other occurrences of "PM of..."
*Find: [\*\*Prime Minister -]\n\*\*\# \[\[(.*)\]\], \[\[Prime Minister of (.*)\]\] \((.*)\)
*Replace: [[Prime Minister of $2]]\n**# [[$1]] ($3)
- Hope this does the job. - X201 (talk) 14:42, 4 July 2014 (UTC)
- Hang on, just spotted a formatting error. - X201 (talk) 14:48, 4 July 2014 (UTC)
- Fixed.
- Hang on, just spotted a formatting error. - X201 (talk) 14:48, 4 July 2014 (UTC)
- Find: (\*\*Prime Minister -)\n\*\*\# \[\[(.*)\]\], \[\[Prime Minister of (.*)\]\] \((.*)\)
- Replace: [[Prime Minister of $3|Prime Minister]] - \n**# [[$2]] ($4)
- X201 (talk) 14:56, 4 July 2014 (UTC)
- That does the job very nicely, thanks. I've extended it to cover Presidents too. Colonies Chris (talk) 22:11, 4 July 2014 (UTC)
Lots of article with typos
If any of you like to use AWB's regex typo fixing feature, I've started a scan of the most recent database dump (2014-05-02) and have identified approx. 18,000 articles with typos in the first 21% of the dump (which is a run rate of ~90,000 articles to fix in total). You're all welcome to take a page or two and help fix them. —Darkwind (talk) 07:56, 23 May 2014 (UTC)
- Update: The scan is complete, and there are approx 73K articles to check at User:Darkwind/Typos. —Darkwind (talk) 02:56, 27 May 2014 (UTC)
bad typo matches
|
---|
|
- Still ongoing. Bump. VanIsaacWScont 08:32, 4 July 2014 (UTC)
- @Vanisaac: Could you please provide some examples of articles where you're still having an issue? I tried five articles containing "Don D'Ammassa" and tried the 5 false-positive matches above, and AWB did not suggest any typo changes. Thanks! GoingBatty (talk) 12:43, 4 July 2014 (UTC)
- I was talking about the posted task, not the erroneous typo matches. About half of the pages are still in need of processing, and I didn't want this getting archived before the task was completed. VanIsaacWScont 20:11, 4 July 2014 (UTC)
- @Chris the speller and John of Reading: Interesting in helping? GoingBatty (talk) 20:58, 4 July 2014 (UTC)
- OK, I'll claim a subpage on Monday. -- John of Reading (talk) 05:19, 5 July 2014 (UTC)
- I can't let you guys shame me. I grabbed a group. Chris the speller yack 23:27, 6 July 2014 (UTC)
- OK, I'll claim a subpage on Monday. -- John of Reading (talk) 05:19, 5 July 2014 (UTC)
- @Chris the speller and John of Reading: Interesting in helping? GoingBatty (talk) 20:58, 4 July 2014 (UTC)
- I was talking about the posted task, not the erroneous typo matches. About half of the pages are still in need of processing, and I didn't want this getting archived before the task was completed. VanIsaacWScont 20:11, 4 July 2014 (UTC)
- @Vanisaac: Could you please provide some examples of articles where you're still having an issue? I tried five articles containing "Don D'Ammassa" and tried the 5 false-positive matches above, and AWB did not suggest any typo changes. Thanks! GoingBatty (talk) 12:43, 4 July 2014 (UTC)
WikiProject Anti-war
Hey folks. If this isn't the right place to request a task, then please point me to the correct location.
I was just using CatTree to look at Category:Anti-war when I noticed that most articles aren't tagged with {{WikiProject Anti-war}}.[1] This is probably because the project was defunct for many years until recently.
Therefore, this is a task request for a tagging run through the category tree to remedy the problem. After the run, I will manually go through each article to assess them. However, I would have no objection to a combined inherited assessment run if the AWB operator is interested. Otherwise, this task request is for a simple tagging of all articles within the category. Thanks. Viriditas (talk) 01:18, 10 July 2014 (UTC)
- @Viriditas: Are you also interested in tagging articles in subcategories of Category:Anti-war? If so, could you please provide a list of each category that is appropriate for tagging? Thanks! GoingBatty (talk) 02:28, 10 July 2014 (UTC)
- I am interested, but I can see now how some of them should be excluded. Perhaps it would be easier if I just trawled the subcats in AWB myself. Viriditas (talk) 02:33, 10 July 2014 (UTC)
- I think I've got it under control. If anyone can point me to any current user pages as to how to best use AWB for WikiProjects, I would appreciate it. Viriditas (talk) 03:06, 10 July 2014 (UTC)
- I am interested, but I can see now how some of them should be excluded. Perhaps it would be easier if I just trawled the subcats in AWB myself. Viriditas (talk) 02:33, 10 July 2014 (UTC)
Template:Pmid
I just closed the RFD for Template:Pmid at RfD 2014 July 2 as retarget to Template:PMID. But before this can happen all transclusions of the template should be replaced with Template:Cite pmid. Armbrust The Homunculus 21:26, 12 July 2014 (UTC)
- Doing... Oops, got some talk pages that didn't get hit. VanIsaacWScont 23:14, 12 July 2014 (UTC)
- Done. The only transclusion I couldn't track down was Wikipedia:Articles for deletion/Log/2011 February 16. I tried purging the cache in case it was an indirect transclusion, but it still is showing up on the what links here for {{pmid}}. VanIsaacWScont 23:30, 12 July 2014 (UTC)
- Thank you Armbrust The Homunculus 05:57, 13 July 2014 (UTC)
Proper sort on "List of" Articles in "Lists of" Categories
I'm looking for a way to find all of the articles with names starting with "List of" that are in Categories that start with "Lists of" that *don't* have a sort key that will keep them from getting sorted in that category under "List of".
For example, if run right now, it would find that List of people from Sacramento, California is in Category:Lists of people by city in the United States and sorted under "List of people..." rather than having something that would cause it to be sorted under "Sacramento, California". (Someone on Help Desk suggested asking on VPT, someone there suggested AWB/Tasks.Naraht (talk) 01:40, 12 July 2014 (UTC)
- @Naraht: The hard part of your request is assembling a list of all the articles with names starting with "List of" - AWB will only retrieve the first 1000. From that list, I went through them all looking for
\[\[Category:Lists of [\w\s]+\]\]
and didn't find any. Anyone else have a better idea? GoingBatty (talk) 03:19, 20 July 2014 (UTC)- @Naraht and GoingBatty: I've created User:Naraht/Lists with no category sort key from the 14 June database dump, using GoingBatty's search criteria plus an extra test "Has no DEFAULTSORT". Feel free to {{db-user}} it when you've finished with it; or I could update it for you when I next download a new dump. -- John of Reading (talk) 08:15, 20 July 2014 (UTC)
- @GoingBatty and John of Reading:
\[\[Category:Lists of [\w\s]+\]\]
does not find categories like Category:Lists of people from Washington, D.C., since[\w\s]
only matches letters, numbers, underscores and spacing, not other valid characters such as accented letters, periods, commas, hyphens and brackets. I suggest replacing[\w\s]+
with.+?
, which ungreedily matches any single-line string. To exclude invalid page names, you could use something like[^#<>\[\]\|{}]+
instead. SiBr4 (talk) 09:07, 20 July 2014 (UTC)- @SiBr4: Thanks, I've run the scan again. -- John of Reading (talk) 10:54, 20 July 2014 (UTC)
- @John of Reading: Not quite what I'm looking for. In most cases when properly done, the [[Category:Lists of blah|location]], so can I have what you generated, but also those where the article is article is [[List of ...]] and the Category is [[Lists of...]] and does *not* include an *individual* sort key which would be indicated by a |. (Which I guess would be something like
\[\[Category:Lists of [^\]|]+\]\]
- @Naraht: If I omit the DEFAULTSORT test, the list will be much longer. Have a look at List of Atlas Shrugged characters, where the sort key in Category:Lists of literary characters is set by the DEFAULTSORT. -- John of Reading (talk) 11:21, 20 July 2014 (UTC)
- @John of Reading: OK, so we need A) Article name is "List of" and B) the "Lists of" Category has no individual sort key and C) defaultsort either (doesn't exist or starts with "List of") Does that work?Naraht (talk) 11:47, 20 July 2014 (UTC)
- @John of Reading: Didn't realize that the list that you had regenerated was over 4000. Unless I can spread the pain to others (like WP:WCW), that list will be more than enough to work on for now.Naraht (talk) 11:52, 20 July 2014 (UTC)
- @John of Reading: OK, so we need A) Article name is "List of" and B) the "Lists of" Category has no individual sort key and C) defaultsort either (doesn't exist or starts with "List of") Does that work?Naraht (talk) 11:47, 20 July 2014 (UTC)
- @Naraht: If I omit the DEFAULTSORT test, the list will be much longer. Have a look at List of Atlas Shrugged characters, where the sort key in Category:Lists of literary characters is set by the DEFAULTSORT. -- John of Reading (talk) 11:21, 20 July 2014 (UTC)
- @John of Reading: Not quite what I'm looking for. In most cases when properly done, the [[Category:Lists of blah|location]], so can I have what you generated, but also those where the article is article is [[List of ...]] and the Category is [[Lists of...]] and does *not* include an *individual* sort key which would be indicated by a |. (Which I guess would be something like
- @SiBr4: Thanks, I've run the scan again. -- John of Reading (talk) 10:54, 20 July 2014 (UTC)
- @GoingBatty and John of Reading:
- @Naraht and GoingBatty: I've created User:Naraht/Lists with no category sort key from the 14 June database dump, using GoingBatty's search criteria plus an extra test "Has no DEFAULTSORT". Feel free to {{db-user}} it when you've finished with it; or I could update it for you when I next download a new dump. -- John of Reading (talk) 08:15, 20 July 2014 (UTC)
- I'll have one more go, to see if I can distinguish "DEFAULTSORT:List of Foo" [bad] from "DEFAULTSORT:Foo, List of" [good]. -- John of Reading (talk) 11:59, 20 July 2014 (UTC)
- (More) That seems to have worked. -- John of Reading (talk) 12:14, 20 July 2014 (UTC)
InuYasha categories
These renames were approved via WP:CFDS, after changing the Y to lowercase in Inuyasha:
- Category:InuYasha episode redirects to lists to Category:Inuyasha episode redirects to lists
- Category:InuYasha character redirects to lists to Category:Inuyasha character redirects to lists
The members of the first column need InuYasha to be replaced by Inuyasha within {{ER to list entry|InuYasha}} and {{CharR to list entry|InuYasha}} respectively. – Fayenatic London 20:22, 24 July 2014 (UTC)
- Doing... -- Black Falcon (talk) 03:01, 25 July 2014 (UTC)
- Done, and categories deleted. -- Black Falcon (talk) 03:24, 25 July 2014 (UTC)
Orphanage
Please can someone add links from various articles to divorce settlement? Until recently it was orphaned. I have added some but there are too many search hits to do manually. Thanks, BethNaught (talk) 18:02, 1 August 2014 (UTC)
- @BethNaught: There is a great tool for doing this – Find link by Edward Betts. Just put in a link and it will find all articles that contain that text but have no link to it. In this case, it's probably not a good idea to add links from all the bios of everyone who has ever gone through such a settlement (that would constitute overlinking, since most people reading bios would know roughly what a divorce settlement is), but it would probably be appropriate for articles like United States v. Davis (1962) and Prenuptial agreement. Have fun! Chris the speller yack 18:37, 12 August 2014 (UTC)
- Thank you, I didn't know about that! BethNaught (talk) 21:27, 12 August 2014 (UTC)
Changing reference dates to mdy
I just got AWB and can't really make head or tail of it. Is there a way for someone to teach me how to use AWB to change all the dates within an article to mdy? (September 12, 2014 format) The references dates and accessdates and archivedates in Money in the Bank (2011) need to be standardized according to its peer review. Alternatively, if it's much easier to actually do it rather than explain how, I would appreciate if a user could do it, as I don't really expect to be needing to do this task again. Thank you very much. starship.paint ~ regal 05:42, 11 August 2014 (UTC)
- Yeah, this is probably more amenable to manual editing, although if you had a good grasp on regular expressions, you could probably program in rules to change around some of the more common formats. The big thing that AWB is good for is applying a fairly simple format change to a large number of articles, and this is more of a somewhat complex change to a single article. I think if this isn't going to get scaled up to more articles, you're probably best off just editing the page. VanIsaacWScont 07:09, 11 August 2014 (UTC)
- Done. Ohconfucius's script is an easier way to do it. - X201 (talk) 09:54, 11 August 2014 (UTC)
- x201, thanks for your edit, and Vanisaac, thanks for the advice! I appreciate it! starship.paint ~ regal 14:07, 11 August 2014 (UTC)
- User:Ohconfucius also has two AWB modules - one for converting dates to mdy and another for dmy. I've never used them (preferring to use the script instead) - it appears they do a lot more than date conversion. GoingBatty (talk) 02:25, 12 August 2014 (UTC)
- Starship.paint, you must be very careful when doing this. Many such articles are consistently DMY or Y-M-D, and changing a consistent citation style this way is a violation of WP:CITEVAR. You absolutely must inspect every such article first to ensure that it was originally MDY, or to ensure that there's not a consistent citation style. Nyttend (talk) 01:12, 15 September 2014 (UTC)
- Nyttend, thanks for your concern. The article used MDY in the text from the first edit and when it was recreated from a redirect. Anyway, the event was held in USA which points to MDY. My main concern was not the dates in the text though, but the dates in references. I expanded quite a lot of the article and the default cite web tool uses DMY for accessdates and the likes. I didn't bother to change the reference dates to MDY when adding the references, which is why I had to change them upon getting the article ready for FA. starship.paint ~ regal 03:12, 15 September 2014 (UTC)
- This is what I'm talking about with "must inspect". You inspected this article, so I'm not going to make an objection. I misread your request and thought you were planning to go through tons of articles, just changing dates. I'm sorry for causing the confusion. Nyttend (talk) 03:14, 15 September 2014 (UTC)
- Nyttend, thanks for your concern. The article used MDY in the text from the first edit and when it was recreated from a redirect. Anyway, the event was held in USA which points to MDY. My main concern was not the dates in the text though, but the dates in references. I expanded quite a lot of the article and the default cite web tool uses DMY for accessdates and the likes. I didn't bother to change the reference dates to MDY when adding the references, which is why I had to change them upon getting the article ready for FA. starship.paint ~ regal 03:12, 15 September 2014 (UTC)
- Starship.paint, you must be very careful when doing this. Many such articles are consistently DMY or Y-M-D, and changing a consistent citation style this way is a violation of WP:CITEVAR. You absolutely must inspect every such article first to ensure that it was originally MDY, or to ensure that there's not a consistent citation style. Nyttend (talk) 01:12, 15 September 2014 (UTC)
- User:Ohconfucius also has two AWB modules - one for converting dates to mdy and another for dmy. I've never used them (preferring to use the script instead) - it appears they do a lot more than date conversion. GoingBatty (talk) 02:25, 12 August 2014 (UTC)
- x201, thanks for your edit, and Vanisaac, thanks for the advice! I appreciate it! starship.paint ~ regal 14:07, 11 August 2014 (UTC)
- Done. Ohconfucius's script is an easier way to do it. - X201 (talk) 09:54, 11 August 2014 (UTC)
Say You Do
[[Say You Do (song)|Say You Do]] -> [[Say You Do (Dierks Bentley song)|Say You Do]]
[[Say You Do]] -> [[Say You Do (Janet Jackson song)|Say You Do]]
Ambiguously named pages; cleanup needed to repipe links after pagemove. Ten Pound Hammer • (What did I screw up now?) 19:13, 15 October 2014 (UTC)
- Doing... GoingBatty (talk) 02:00, 16 October 2014 (UTC)
- @TenPoundHammer: Done using WPCleaner, which I prefer for disambiguation work. GoingBatty (talk) 02:09, 16 October 2014 (UTC)
AutoWikiBrowser Help
I do apologize if this is the inappropiate place to post this (I have not seem to got any assistance on a fairly active AutoWikiBrowser talk page that I am not getting any help with what I need. Perhaps answer on that if needed [2].
Hello. I am Superdadsuper, currently the sole (working on finding another one) Administrator of Biblicalapedia, an online biblical-history wiki that runs on a MediaWiki installation hosted by Wikia.I have extensively searched through various help on Wikia and Wikimedia channels. I am need some assistance in creating a script or regex for AWB. I use AutoWikiBrowser for my bot client in order to run my maintenance bot on the wiki (as I currently do not have programming knowledge outside of html and css to run other bot clients). One maintenance task I am working on assigning my bot is to find all Bible Verses listed in articles, and then replace them with a citation to the Bible Verse. I will elaborate here in just a moment. Here I have linked a lengthy regex string that was developed for me by a kind user in the Regex IRC Channel on Freenode (I spent the time to collect the necessary data for it). To elaborate what the script does:
Listed in the regex script is each book of the bible, as well as capabilities for chapters and verses. The regex is able to find listings of Bible books with chapters and with verses (standalone chapters can be detected without a verse required, but can be detected if needed). It can also detect book names with abbreviations and verse as well as chapter ranges (for example Gen 1-1, Gen 1:7-9, not Gen 1-8:78-90). You may look at the regex script to have a more in-depth of understanding of what it can and cannot detect.
Taking into all of these variables the overall purpose is to detect bible verses listed in parentheses or plainly for the "Find" variable. I am needing help creating the replace value, or what to replace it with. I need a regex code or script usable for AWB that can detect the verse it just found, and then be able to figure out what the verse address is, regardless of the format (that is within the conditions defined within the regex script), and put it in <ref> </ref> tags. So for example, it would be able to detect Gen 1:1-19 and then replace it with <ref>Genesis 1:1-19</ref>. I was wondering if somebody could create a script here for me to use in AWB that can accomplish this purpose. If you would like more information please message me or send an email to the wiki's email: biblicalapedia at gmail.com. Thanks, Superdadsuper, Biblicalapedia Administrator and Bureaucrat --Superdadsuper (talk) 18:13, 11 October 2014 (UTC)
- @Superdadsuper: Put a pair of round brackets around the entire existing "find" regex and use
<ref>$1</ref>
for the "Replace" field. This will replace the string matched by the find regex with the same string between<ref>...</ref>
tags. This works in the linked online regex tester, though for some reason the lengthy regex gives an error in AWB's built-in regex tester. SiBr4 (talk) 19:13, 11 October 2014 (UTC) - Note that that wouldn't do replacements such as "Gen" → "Genesis", which would have to be done by a separate regex find/replace run either before or after the one that adds ref tags. SiBr4 (talk) 19:37, 11 October 2014 (UTC)
My main concern is actually the ( ) where content is contained within paranthesis. I did not develop the regex script myself and so I would need assistance if I were to develop another one. I will most likely alter the MediaWiki message that has ref tags pointing to biblegateway.com and have abbreivations work for it as well for ease. Would I need to run this in the advanced settings on AutoWikiBrowser? If so could I be explained in depth of how to make it as a rule for finding, how to make the replace value work, perhaps any if statements involved? Please ping me when you respondSuperdadsuper (talk) 19:34, 12 October 2014 (UTC)
- @Superdadsuper: I took a stab at understanding the lengthy regex and modified it into this. It adds a capturing group for the entire string excluding the brackets around it and, more importantly, actually works in AWB. The culprit in the previous one was the named capturing groups, which AWB apparently can't handle. There are now four capturing groups: the entire string, the book name, the chapter and the verse number; these can be referred to in the "Replace" string using $1, $2, $3 and $4 respectively (see WP:REGEX § Back references). SiBr4 (talk) 21:32, 15 October 2014 (UTC)
@SiBr4: apologies if this was something I should know, but I am very basic to regex and that of programming. I was wondering in order to implement this if I would need to do this via AutoWikiBrowser Advanced find and replace settings under a new rule? The issue is there seems to be several options as in whether or not it includes the verse (I believe group 4), and I was wondering if I needed to use the if part of a rule? Perhaps a subrule? Does group 1 need to be placed next to group 2 (so <ref>$2$1...</ref> with our without a space? It seems with the if option there is no way to have different replace values for the different if options unless I am confused? Thanks Superdadsuper (talk) 17:51, 16 October 2014 (UTC)
- @Superdadsuper: Using
(Genesis 1:1-19)
as an example input, the four groups match the following strings using the new "Find" regex:$1
→Genesis 1:1-19
$2
→Genesis
$3
→1
$4
→1-19
<ref>$1</ref>
as replace value thus removes brackets if present and adds ref tags, keeping book, chapter and verse. For book and chapter only, you would use$2 $3
, which returnsGenesis 1
for the example.- I have never used the advanced find & replace tool; the normal find/replace also supports regex and works fine for most tasks. To replace with different strings based on whether the "if" case matches, just create two distinct rules in the advanced editor, one to be used if it matches and one if it doesn't. SiBr4 (talk) 20:20, 16 October 2014 (UTC)
@SiBr4:Sorry, but I still don't seem to get it. I was wondering if we could perhaps scheldue a time where I could have a join.me screencast where you could visually help me out? You can send an email to biblicalapedia [at] gmail.com to perhaps scheldue a time so we can keep of it here. I have several tools that can help us figure out what the time will be if we have different time zones. I will have to mention since it is the wiki email, I will have to answer you from a non-personal approach, and this is not a personal matter, so it is appropriate to send to that email. For reference I live in Central Standard Time United States. Superdadsuper (talk) 20:50, 19 October 2014 (UTC)
@SiBr4:If there is an alternative mean of you to visually show me please let me know Superdadsuper (talk) 00:48, 25 October 2014 (UTC)
- @Superdadsuper: Sorry for not responding earlier. Not exactly sure what you want me to show – how the regex itself works, or how it should be used in AWB? I could just put some screenshots online, though I wouldn't oppose your proposal (I don't know exactly what join.me is; I'm guessing it's some sort of videochat for business, put bluntly). The regex test also includes plenty of color-coded examples of what dollar-sign numbers match which piece of text. I'm in CET, by the way. SiBr4 (talk) 21:23, 26 October 2014 (UTC)
@SiBr4: send an email to the website's email at biblicalapedia[at]gmail.com so we can work something out by having a join.me meeting (its more or less a screen-broadcasting tool, for privacy I do not want to use video or phone chat but it has a built in IM). Note that when you email this email you do not need to specify this as we'll know what you are referring to. That way we can move the rest of the conversation off Wikipedia and onto a private medium of contact. Thanks Superdadsuper (talk) 21:25, 28 October 2014 (UTC)
Boat Race articles
So, could someone change the following:
- http://theboatrace.org/men/results and http://theboatrace.org/women/results to http://theboatraces.org/results?
Thanks in advance. If this is easily done, I have a few other similar requests, now the URLs have changed... The Rambling Man (talk) 21:14, 26 October 2014 (UTC)
- Anyone? The Rambling Man (talk) 19:10, 27 October 2014 (UTC)
- Doing... Rcsprinter123 (message) @ 12:19, 30 October 2014 (UTC)
- @The Rambling Man: Done, I think, although I could only find two pages to change with those URLs. (Races 94 & 95.) I can do the other requests if you post 'em. Rcsprinter123 (inform) @ 14:03, 30 October 2014 (UTC)
Florence Mall
[[Florence Mall]] -> [[Florence Mall (Kentucky)|Florence Mall]] Change to a pipelink since Florence Mall is now a dab page. Ten Pound Hammer • (What did I screw up now?) 19:50, 16 November 2014 (UTC)
Royal Society of Chemistry navbox
Please would someone add the {{Royal Society of Chemistry}} navbox to all the articles in Category:Royal Society of Chemistry academic journals, and Category:Presidents of the Royal Society of Chemistry, except for the few that already have it? Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:21, 4 December 2014 (UTC)
- Andy, was there a discussion on this somewhere that a consensus to do this emerged? If so, could you link me to it please? Thanks. — {{U|Technical 13}} (e • t • c) 23:39, 4 December 2014 (UTC)
- There wasn't, but then we don't normally need a prior discussion to add a navbox to the articles it lists (fewer than 58 edits in this case). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:49, 4 December 2014 (UTC)
- Done — {{U|Technical 13}} (e • t • c) 01:22, 6 December 2014 (UTC)
- Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:53, 6 December 2014 (UTC)
- Done — {{U|Technical 13}} (e • t • c) 01:22, 6 December 2014 (UTC)
- There wasn't, but then we don't normally need a prior discussion to add a navbox to the articles it lists (fewer than 58 edits in this case). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:49, 4 December 2014 (UTC)
As decided at Wikipedia:Categories for discussion/Log/2014 August 29, please edit the sub-category pages within Category:MotoGP race reports, replacing
|parent=MotoGP race reports
with
|parent=Motorcycle Grands Prix by year
This task is listed at Wikipedia:Categories_for_discussion/Working/Manual#Other. – Fayenatic London 23:07, 4 December 2014 (UTC)
- Fayenatic london, is that replacement value correct? Special:Search/Motorcycle_Grands_Prix suggests that it should be
|parent=Motorcycle Grand Prix by year
- Thanks. — {{U|Technical 13}} (e • t • c) 23:46, 4 December 2014 (UTC)
- Yes, the new category is Category:Motorcycle Grands Prix by year, which is within Category:Motorcycle Grands Prix. Categories use plural names. Each event is a Grand Prix; the plural is Grands Prix (French language for Big Prizes). Thanks for checking first. – Fayenatic London 23:20, 5 December 2014 (UTC)
- Done — Fayenatic london, I've completed this request, and I'm wondering if the
|cat=
and|sortkey=
values should be changed as well. Ping me if they need changing and I'll knock that out quick too. Thanks. — {{U|Technical 13}} (e • t • c) 00:03, 6 December 2014 (UTC)- Thanks! The "cat" should not change, as his is used to build the name of sibling categories in the box for adjacent years, see Template:Year by category. The sortkey is used with the subcat parameter, but is being overridden in the cases that I looked at, e.g. Category:1950 MotoGP race reports has an extra line outside the template,
- Done — Fayenatic london, I've completed this request, and I'm wondering if the
- Yes, the new category is Category:Motorcycle Grands Prix by year, which is within Category:Motorcycle Grands Prix. Categories use plural names. Each event is a Grand Prix; the plural is Grands Prix (French language for Big Prizes). Thanks for checking first. – Fayenatic London 23:20, 5 December 2014 (UTC)
Race Reports This could be accomplished within the template as
|sortkey=Race reports |subcat=1950 in Grand Prix motorcycle racing
So if you wanted, you could replace the sortkey with Race reports, and remove the duplicate line for the year category, just to tidy things up. However, it is really not worth spending your time on it. The job that we needed is done. Thanks again. – Fayenatic London 08:07, 6 December 2014 (UTC)
Cary Barlowe
Cary Barlowe -> [[Cary Barlowe]] Introduce links now that he has an article. Ten Pound Hammer • (What did I screw up now?) 19:40, 8 December 2014 (UTC)
- Done --Racklever (talk) 20:12, 8 December 2014 (UTC)
Biographical templates usable as a module
Please can someone add Category:Biographical templates usable as a module to the /doc subtemplates of each of the 31 infoboxes in this search? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:10, 10 December 2014 (UTC)
- @Pigsonthewing: Done. User:GoingBatty (talk) 01:59, 11 December 2014 (UTC)
- @GoingBatty: Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:51, 11 December 2014 (UTC)
Brent Maher
Brent Maher -> [[Brent Maher]] Introduce wikilinks to underlinked article. Ten Pound Hammer • (What did I screw up now?) 22:37, 15 December 2014 (UTC)
- Done --Racklever (talk) 23:18, 15 December 2014 (UTC)
Planned CfD
As a follow-up of the discussion here, would you be willing to help me with tagging all child categories of Category:Orders of knighthood awarded to heads of state, consorts and sovereign family members with a delete template that looks like this:
This category is being considered for deletion. This nomination is part of a discussion of several related categories. This does not mean that any of the pages in the category will be deleted. They may, however, be recategorized. Administrators: If this category is empty, and all incoming links have been cleaned up, click here to delete. |
Please let me know your thoughts. It's the first time that I post a request like this. Marcocapelle (talk) 10:42, 20 December 2014 (UTC)
- @Marcocapelle: I did this on Category:Bailiffs Grand Cross of the Order of St John, but then reverted because it seems that there isn't a CFD message for that category. GoingBatty (talk) 15:21, 20 December 2014 (UTC)
- @GoingBatty: O I'm sorry, I wasn't aware you would start off immediately without letting me know that you would pick this up. I'll post the CfD right away. Marcocapelle (talk) 17:01, 20 December 2014 (UTC)
- Done, it's on CfD now, Wikipedia:Categories_for_discussion/Log/2014_December_20#Orders_of_knighthood_awarded_to_heads_of_state.2C_consorts_and_sovereign_family_members. Marcocapelle (talk) 17:15, 20 December 2014 (UTC)
- @Marcocapelle: Thanks - Doing... GoingBatty (talk) 20:26, 20 December 2014 (UTC)
- Thank you very much! Marcocapelle (talk) 20:32, 20 December 2014 (UTC)
- @Marcocapelle: Done GoingBatty (talk) 20:47, 20 December 2014 (UTC)
- @GoingBatty: Thanks again for your help. I have one more question or request, could you make a list of all these tagged categories in text format? Or, even better, is there perhaps a trick so that I can easily do this myself? Marcocapelle (talk) 12:45, 21 December 2014 (UTC)
- @Marcocapelle: To do it yourself in AWB:
- Under the List menu, be sure that "Remove non-main space" is unchecked.
- In the Make list box, choose Source: Category.
- Under that choose Category: Orders of knighthood awarded to heads of state, consorts and sovereign family members
- Click Make list
- Click Filter
- Check Category and uncheck everything else.
- Click Apply
- Under the List menu, click "Save list..."
- Choose a location and file name and click Save
- Good luck! GoingBatty (talk) 14:40, 21 December 2014 (UTC)
- @Marcocapelle: To do it yourself in AWB:
- @GoingBatty: Thanks again for your help. I have one more question or request, could you make a list of all these tagged categories in text format? Or, even better, is there perhaps a trick so that I can easily do this myself? Marcocapelle (talk) 12:45, 21 December 2014 (UTC)
- @Marcocapelle: Done GoingBatty (talk) 20:47, 20 December 2014 (UTC)
- Thank you very much! Marcocapelle (talk) 20:32, 20 December 2014 (UTC)
- @Marcocapelle: Thanks - Doing... GoingBatty (talk) 20:26, 20 December 2014 (UTC)
- Done, it's on CfD now, Wikipedia:Categories_for_discussion/Log/2014_December_20#Orders_of_knighthood_awarded_to_heads_of_state.2C_consorts_and_sovereign_family_members. Marcocapelle (talk) 17:15, 20 December 2014 (UTC)
- @GoingBatty: O I'm sorry, I wasn't aware you would start off immediately without letting me know that you would pick this up. I'll post the CfD right away. Marcocapelle (talk) 17:01, 20 December 2014 (UTC)
Cookies must be enabled
You're probably familiar with the bot that goes around generating basic citations for raw URLs. I've just discovered that the bot blocks cookies, causing problems with some citations — this search shows that the bot concluded that pages' titles were "Cookies must be enabled", and that these mangled citations exist on 50+ pages. Is there a way to use AWB to fix these citations? Nyttend (talk) 23:50, 2 January 2015 (UTC)
- @Nyttend: I'll use AWB to strip the bad citation templates, and then they can be recreated. GoingBatty (talk) 00:51, 3 January 2015 (UTC)
- Great! I fixed the first one I found, but the search made me guess that it would take too long to do manually. Nyttend (talk) 01:02, 3 January 2015 (UTC)
- @Nyttend: AWB doesn't have functionality to automatically suggest citation parameters like [dispenser.homenet.org/~dispenser/cgi-bin/webreflinks.py/ the original Reflinks] or the new Reflinks can do. I found that titles of "No cookies" also need to be cleaned up. GoingBatty (talk) 01:08, 3 January 2015 (UTC)
- @Ohconfucius: You might want to update your Fix SOURCES script to replace references that have
|title=Cookies must be enabled.
or|title=No Cookies
with|title=ACTUAL ARTICLE TITLE BELONGS HERE!
. GoingBatty (talk) 15:11, 3 January 2015 (UTC)- @Nyttend: Done removing the bad info. Citation bot and the old Reflinks won't make the same mistake, but the new Reflinks will, so I created this bug report. GoingBatty (talk) 16:07, 3 January 2015 (UTC)
- @Nyttend: Oops - got an error with Reflinks (but not webreflinks, which is what I used to use), so I created this bug report for Dispenser. GoingBatty (talk) 16:24, 3 January 2015 (UTC)
- @Nyttend: Done removing the bad info. Citation bot and the old Reflinks won't make the same mistake, but the new Reflinks will, so I created this bug report. GoingBatty (talk) 16:07, 3 January 2015 (UTC)
- @Ohconfucius: You might want to update your Fix SOURCES script to replace references that have
- @Nyttend: AWB doesn't have functionality to automatically suggest citation parameters like [dispenser.homenet.org/~dispenser/cgi-bin/webreflinks.py/ the original Reflinks] or the new Reflinks can do. I found that titles of "No cookies" also need to be cleaned up. GoingBatty (talk) 01:08, 3 January 2015 (UTC)
- Great! I fixed the first one I found, but the search made me guess that it would take too long to do manually. Nyttend (talk) 01:02, 3 January 2015 (UTC)
Subst a template
I've closed a TFD for {{Sectionlink}} as "delete", but it's currently transcluded on 130 pages, and I don't want to delete it immediately and leave holes on all the pages using it, and I don't want to spend a pile of time substing them manually. Could someone run through all the pages that transclude it and subst it on all of them? Let me know if there are any problems. Nyttend (talk) 01:05, 6 January 2015 (UTC)
- @Nyttend: Should you post a request at Wikipedia:Templates for discussion/Holding cell#To substitute for this? Hopefully a bot owner would see it an run through the pages for you. GoingBatty (talk) 03:34, 6 January 2015 (UTC)
- I've never understood how this kind of thing works. If you're not sure, I'm definitely not :-) Nyttend (talk) 03:43, 6 January 2015 (UTC)
Doing... — {{U|Technical 13}} (e • t • c) 03:59, 6 January 2015 (UTC)- Done — {{U|Technical 13}} (e • t • c) 05:29, 6 January 2015 (UTC)
How to fix a massive amount of wikilinks?
I recently moved Dosh to Dosh (musician) because the move request I made was accepted. Now there are about 110 incoming links to Dosh that should be fixed to Dosh (musician). Can AutoWikiBrowser do this? JIP | Talk 19:57, 28 January 2015 (UTC)
- Done, I hope; all except for the strange link in Rupali Ganguly. -- John of Reading (talk) 21:47, 28 January 2015 (UTC)
Identifying the line "titlestyle"
I want to identify all lines that start with "| titlestyle". and have created some code to do that:
^(*(\s)\|*(\s)title*(\d{1})style)
There might be spaces before or after the vertical line, and a number may be present between title and style. Will the above example work as intended? This is my first attempt @ regex so I'd like your feedback. --Tom (LT) (talk) 10:04, 6 February 2015 (UTC)
- @LT910001: The "zero or more" asterisk must follow the element that it modifies; and to match an optional digit,
\d?
is neater than\d{0,1}
. Something like^\s*\|\s*title\d?style
will be closer to what you want. I've had trouble using ^ and $ for start/end of line in AWB, so if you're planning to use this in AWB, you may find a match for\n
works better. -- John of Reading (talk) 10:23, 6 February 2015 (UTC)
Template substitutions
- Please could somebody Subst: all ~160 transclusions of {{Old prod}}, which is to be merged with {{Old prod full}}, for which I have just made it a wrapper. See example substitution.
- Per TfD, please Subst: all 148 transclusions of {{Infobox Greek Isles}}
- Per TfD, please Subst: all 34 transclusions of {{Infobox Province GR}}
- Per TfD, please Subst: all 36 transclusions of {{Infobox ministerial office}} - note: safesubst:, or subsequent cleanup, is needed.
- Per TfD, please Subst: all 26 transclusions of {{Infobox RHI Team}}
Please ping me once any one or more of these are done. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:37, 22 February 2015 (UTC)
- @Pigsonthewing: Is TfD in need of a bot that would do this on a regular basis? GoingBatty (talk) 03:21, 23 February 2015 (UTC)
- @GoingBatty: Occasionally rather than regularly. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:48, 27 February 2015 (UTC)
- I substituted one instance (on the page Naxos) of the Greek Isles infobox, but I want to be sure I did it right before going further. The concern I have is that the formatnum magic word and Template:If are both present in the article itself. I don't know if that's intended, or did I maybe do something wrong? – Majora4 (leave a message) 20:51, 25 February 2015 (UTC)
- I've fixed it in the sandbox. Thanks for the catch. Alakzi (talk) 21:05, 27 February 2015 (UTC)
- @Pigsonthewing: Done {{Infobox ministerial office}}. I'll do {{Infobox Greek Isles}} tomorrow, provided nobody complains about the new parameters. Alakzi (talk) 22:43, 27 February 2015 (UTC)
- @Pigsonthewing: Done {{Infobox RHI Team}}. – Majora4 (leave a message) 00:00, 28 February 2015 (UTC)
- @Pigsonthewing: Done {{Infobox Greek Isles}}. Alakzi (talk) 18:39, 28 February 2015 (UTC)
- Thank you, both. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:17, 28 February 2015 (UTC)
- @Pigsonthewing: Done {{Old prod}} and {{Infobox Province GR}}. That should be all of them. Alakzi (talk) 12:43, 1 March 2015 (UTC)
- Thank you again. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:47, 1 March 2015 (UTC)
Please could some kind person replace the couple of hundred mainspace occurrences of [[KCMG]]
with {{post-nominals|country=GBR|size=100%|KCMG}}
or an alternative coding if you prefer?
Until today, KCMG was a long-standing redirect to Order of St Michael and St George (the acronym stands for Knight Commander of the Order of St Michael and St George). But now it's been replaced by a disambiguation page, so all the articles mentioning people with the knighthood, and using [[KCMG]]
instead of alternatives, now link to the dab page.
This was discussed back in 2013 (see archive 6) but the proposed solution seems never to have been fully implemented, and now we have a convenient template.
Thanks ... Stanning (talk) 09:19, 6 March 2015 (UTC)
- Done, another much larger job would be to make proper use of {{post-nominals}} as it seems like a pretty neat template yet I rarely saw it used in any of the articles I edited. Jamesmcmahon0 (talk) 14:56, 6 March 2015 (UTC)
- @Jamesmcmahon0: Many thanks! You're right, ideally we should make more use of {{post-nominals}}, it's a useful template. Stanning (talk) 16:11, 6 March 2015 (UTC)
Cull outdated templates
Hi, I've been looking at ways of tackling the thousands of articles templated into Category:Wikipedia requested photographs in the United Kingdom. In many cases we do have images available from commons, but for a large minority of the articles the template is already out of date as someone has put an image in the article but not removed the template from the talkpage. Is there an AWB fan who fancies taking this on? ϢereSpielChequers 10:36, 8 February 2015 (UTC)
- @WereSpielChequers: Sounds interesting. Could you please provide an example? Thanks! GoingBatty (talk) 17:45, 8 February 2015 (UTC)
- Sure. I did the subcategory Category:Wikipedia requested photographs in Wiltshire earlier today and one example was Heytesbury which had an image in the article, so I removed the template from the talkpage. If the ones which now have images had the template removed it would be much easier to go through the rest and search for photos on commons. ϢereSpielChequers 23:09, 8 February 2015 (UTC)
- @WereSpielChequers: So one approach would be that if the article contains <code>[[File:....]]</code> (but not inside a comment), then
{{Image requested}}
could be removed from the talk page. But how would we know that the File link was not a redlink without viewing each article? GoingBatty (talk) 04:26, 9 February 2015 (UTC)- Yes the articles would need to be looked at, hence I was thinking AWB rather than a bot. ϢereSpielChequers 09:21, 9 February 2015 (UTC)
- @WereSpielChequers: Sorry, I was thinking about a bot running AWB, not humans running AWB. Here's one approach people could take using AWB:
- 1. Create a list of pages in Category:Wikipedia requested photographs in the United Kingdom (or a given subcategory).
- 2. Convert the list from talk pages to articles.
- 3. On the Skip tab, set it up to skip if the article doesn't contain
[[File:
and click Start. - 4. For every article that isn't skipped:
- If the article doesn't any images (or doesn't have adequate images), click Skip.
- If the article has enough images, click on the next article in the list and click Start.
- 5. When you've completed the list, convert the list back to talk pages.
- 6. Remove the skip condition, and set up find/replace rules (with the Regex button checked) to:
- Find:
{{Image requested.*?}}\n?
and Replace it with nothing. - Find:
\|\s*(?:needs-photo|needs-image|image-needed)\s*=\s*y
and Replace it with nothing.
- Find:
- I'm not going to take this on, because I don't want to decide how many images are needed to remove the tag. For example, if an article has a crest or a road sign, is that enough, or do you need an actual photograph, or multiple photographs? Hope this helps! GoingBatty (talk) 03:18, 10 February 2015 (UTC)
- @WereSpielChequers: Using GoingBatty (talk · contribs)'s method above up to step 4. I came up with this list of (2174) pages User:Jamesmcmahon0/Possible false image requested. These pages appear in Category:Wikipedia requested photographs in the United Kingdom but have at least one image / file in the article. As GoingBatty mentioned above from here it will take a more manual and considered approach to decide which pages no longer need additional or alternative images. Jamesmcmahon0 (talk) 14:31, 3 March 2015 (UTC)
- Thanks for that, I've dealt with a few of them, and then fixed the error that put map requests in with photo requests. Any chance of a refresh of that list? It should be a lot shorter now. ϢereSpielChequers 08:58, 5 March 2015 (UTC)
- In progress Jamesmcmahon0 (talk) 12:45, 5 March 2015 (UTC)
- Thanks for that, I've dealt with a few of them, and then fixed the error that put map requests in with photo requests. Any chance of a refresh of that list? It should be a lot shorter now. ϢereSpielChequers 08:58, 5 March 2015 (UTC)
- @WereSpielChequers: Using GoingBatty (talk · contribs)'s method above up to step 4. I came up with this list of (2174) pages User:Jamesmcmahon0/Possible false image requested. These pages appear in Category:Wikipedia requested photographs in the United Kingdom but have at least one image / file in the article. As GoingBatty mentioned above from here it will take a more manual and considered approach to decide which pages no longer need additional or alternative images. Jamesmcmahon0 (talk) 14:31, 3 March 2015 (UTC)
- @WereSpielChequers: Sorry, I was thinking about a bot running AWB, not humans running AWB. Here's one approach people could take using AWB:
- Yes the articles would need to be looked at, hence I was thinking AWB rather than a bot. ϢereSpielChequers 09:21, 9 February 2015 (UTC)
- @WereSpielChequers: So one approach would be that if the article contains <code>[[File:....]]</code> (but not inside a comment), then
- Sure. I did the subcategory Category:Wikipedia requested photographs in Wiltshire earlier today and one example was Heytesbury which had an image in the article, so I removed the template from the talkpage. If the ones which now have images had the template removed it would be much easier to go through the rest and search for photos on commons. ϢereSpielChequers 23:09, 8 February 2015 (UTC)
Done - List updated, now 2000 articles (possibly the category had not fully updated to get rid of the map pages), anyway list is here; User:Jamesmcmahon0/Possible false image requested. Jamesmcmahon0 (talk) 18:20, 9 March 2015 (UTC)
List of closed railway stations in Ireland - convert to templates
Please convert each row of List of closed railway stations in Ireland to use a template, as in this example edit which converted the first two rows. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:20, 12 March 2015 (UTC)
- Done. Alakzi (talk) 19:01, 12 March 2015 (UTC)
It would be nice if some AWB userrs could help at Wikipedia:Categories for discussion/Working/Manual#Multiple merge targets - in general, each of these is a case where a category needs to be deleted, but first its contnt needs to be upmerged into multiple categories - usually 2, occasionally 3. עוד מישהו Od Mishehu 19:06, 12 March 2015 (UTC)
- Just to check I'm not missing something here. If the task says Cat A to Cat 1 and Cat 2 and Cat 3. Would that simply mean edit every page in Cat A to remove [[Cat A]] and replace with [[Cat 1]], [[Cat 2]] and [[Cat 3]] obviously with correct formatting and layout? If so this seems like prime work for a Bot. If I've missed a complication please let me know otherwise I'll do some manual then submit a Bot Req. Jamesmcmahon0 (talk) 10:07, 13 March 2015 (UTC)
Big Finish Productions
For each of the ~483 articles using {{Infobox audio drama}}, please add the a parameter |publisher=[[Big Finish Productions]]
to that template. (I have just converted it from {{Infobox Big Finish}}, which had the link hard-coded). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:48, 16 March 2015 (UTC)
- Done. Alakzi (talk) 12:12, 17 March 2015 (UTC)
Michael Ray
[[Michael Ray]] -> [[Michael Ray (trumpeter)|Michael Ray]] Disambiguate link now that Michael Ray is a dab. Ten Pound Hammer • (What did I screw up now?) 05:35, 17 March 2015 (UTC)
- Most of them were due to the Sun Ra template at the bottom of many articles. I've changed some manually (mostly those that were obviously linked to Sun Ra such as articles for their albums) and there are only a few left that could be gone through without AWB. Dismas|(talk) 05:46, 17 March 2015 (UTC)
- Looks like this is already Done. GoingBatty (talk) 04:14, 18 March 2015 (UTC)
List of kickboxing organizations
244 pages link to List of kickboxing organizations, a deleted article. The link seems to appear in the "See also" section in each article. Can these links be removed with AWB?– Gilliam (talk) 11:59, 9 April 2015 (UTC)
- Doing... ... Chris the speller yack 13:40, 9 April 2015 (UTC)
Chemistry societies
Please add {{Chemistry societies}} to the foot of each of the articles listed in it (unless already present, of course). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:42, 21 April 2015 (UTC)
- Doing... Chris the speller yack
- Done. Chris the speller yack 14:38, 21 April 2015 (UTC)
- @Chris the speller: Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:26, 21 April 2015 (UTC)
- Done. Chris the speller yack 14:38, 21 April 2015 (UTC)
Parameter in Category:Film poster images
Per Wikipedia:Categories for discussion/Log/2015 March 10, the remaining 0 file pages in Category:Film poster images need a find-and replace of that category name "Film poster images" with "Fair use images of movie posters" inside a fair use template. – Fayenatic London 12:15, 10 May 2015 (UTC)
Parameter in year categories for bridges
Templates need changing on the sub-cats within these, to replace the old category names with the new.
- Category:16th-century bridges to Category:Bridges completed in the 16th century -- (0)
- Category:17th-century bridges to Category:Bridges completed in the 17th century -- (0)
- Category:18th-century bridges to Category:Bridges completed in the 18th century -- (0)
- Category:19th-century bridges to Category:Bridges completed in the 19th century -- (0)
- Category:20th-century bridges to Category:Bridges completed in the 20th century -- (0)
- Category:21st-century bridges to Category:Bridges completed in the 21st century -- (0)
– Fayenatic London 14:21, 14 May 2015 (UTC)
- @Fayenatic london: Fixed Category:19th-century bridges, the rest were already done. GoingBatty (talk) 14:41, 30 May 2015 (UTC)
- @GoingBatty: @Vegaswikian: @Spiderjerky: (and anyone else who may have helped) – Thanks! – Fayenatic London 16:41, 30 May 2015 (UTC)
Add note to category pages
Can someone add the following notes to the specified category pages?
The templates in this category, along with the ones under Category:Political party colour templates, are used as a database by the {{Election box candidate with party link}}, {{Infobox election}} and related templates to convert full party name (which is what an article editor types), to the party colour and shorter name. The templates are not intended to be used in article space directly. |
to the category and all the sub-categories of Category:Political party shortname templates. And
The templates in this category, along with the ones under Category:Political party shortname templates, are used as a database by the {{Election box candidate with party link}}, {{Infobox election}} and related templates to convert full party name (which is what an article editor types), to the party colour and shorter name. The templates are not intended to be used in article space directly. |
to the category and all the sub-categories of Category:Political party colour templates
To be clear the notes are for the catgory pages themselves, and not for the pages in those categories. Requesting here on the advice of User:Technical 13; see related discussion. Thanks! Abecedare (talk) 16:46, 7 May 2015 (UTC)
- @Abecedare: Could you please review the category trees below to make sure there aren't any categories that you do NOT want tagged?
Click on "►" below to display subcategories: |
---|
Click on "►" below to display subcategories: |
---|
- Thanks! GoingBatty (talk) 14:29, 30 May 2015 (UTC)
- @GoingBatty: Category:India political party colour templates and Category:India political party shortname templates categories already contain the above notes (added by me a few weeks back). So those can be either skipped, or I can remove any duplication manually; whichever works easier for you. Thanks. Abecedare (talk) 17:47, 30 May 2015 (UTC)
- These are used by templates other than {{Election box candidate with party link}}. Alakzi (talk) 17:49, 30 May 2015 (UTC)
- @Alakzi: I found only {{Election box candidate with party link}} but what you say is certainly possible (and documenting that to be easily discoverable is the primary motivation for adding the note). Is there a list of templates which use these? Any suggestion sto modify the above notes are welcome. Abecedare (talk) 17:56, 30 May 2015 (UTC)
- Notably {{Infobox election/shortname}}. Here's the full list. I think it'd be OK if we only mentioned a few of the primary users. Let's put the notice in a template so that it'll be easy to modify in the future? Alakzi (talk) 18:11, 30 May 2015 (UTC)
- Thanks! Would this tweak work? Btw, the motivation for these edits is questions like this one, and hopefully the notices will at least point the editor in the right direction. Abecedare (talk) 18:36, 30 May 2015 (UTC)
- Yeah, I'm OK with it. What we do with other templates of the sort is to transclude the exact same documentation page in all of them; see, for example, Template:Lang-x/doc and all the templates in Category:Lang-x templates. I think that'd be better than placing a banner in their categories; people who navigate to a template might not think to check its category, but people who stumble on the category would most likely open one of the templates. Alakzi (talk) 18:48, 30 May 2015 (UTC)
- I agree that that would be the better approach. However, since I do not work too often in the template/category areas I didn't want to write up and propose mass addition of the doc pages esp. since, unlike category page notices, errors in template space run the risk of being transcluded into thousands of mainspace articles. The category page notices are really a partial solution that are not ideal but IMO improve upon the current situation. Abecedare (talk) 18:54, 30 May 2015 (UTC)
- Fair enough. These should all be merged into a Lua module eventually. Alakzi (talk) 19:11, 30 May 2015 (UTC)
- I agree that that would be the better approach. However, since I do not work too often in the template/category areas I didn't want to write up and propose mass addition of the doc pages esp. since, unlike category page notices, errors in template space run the risk of being transcluded into thousands of mainspace articles. The category page notices are really a partial solution that are not ideal but IMO improve upon the current situation. Abecedare (talk) 18:54, 30 May 2015 (UTC)
- Yeah, I'm OK with it. What we do with other templates of the sort is to transclude the exact same documentation page in all of them; see, for example, Template:Lang-x/doc and all the templates in Category:Lang-x templates. I think that'd be better than placing a banner in their categories; people who navigate to a template might not think to check its category, but people who stumble on the category would most likely open one of the templates. Alakzi (talk) 18:48, 30 May 2015 (UTC)
- Thanks! Would this tweak work? Btw, the motivation for these edits is questions like this one, and hopefully the notices will at least point the editor in the right direction. Abecedare (talk) 18:36, 30 May 2015 (UTC)
- Notably {{Infobox election/shortname}}. Here's the full list. I think it'd be OK if we only mentioned a few of the primary users. Let's put the notice in a template so that it'll be easy to modify in the future? Alakzi (talk) 18:11, 30 May 2015 (UTC)
- @Alakzi: I found only {{Election box candidate with party link}} but what you say is certainly possible (and documenting that to be easily discoverable is the primary motivation for adding the note). Is there a list of templates which use these? Any suggestion sto modify the above notes are welcome. Abecedare (talk) 17:56, 30 May 2015 (UTC)
- These are used by templates other than {{Election box candidate with party link}}. Alakzi (talk) 17:49, 30 May 2015 (UTC)
- @GoingBatty: Category:India political party colour templates and Category:India political party shortname templates categories already contain the above notes (added by me a few weeks back). So those can be either skipped, or I can remove any duplication manually; whichever works easier for you. Thanks. Abecedare (talk) 17:47, 30 May 2015 (UTC)
Category merge templates
Would someone be willing to put the appropriate category merge template in all categories listed in this nomination?
For example:
- Category:1 BC births should have {subst:cfm|1 BC|1st to 5th century BC births} but with double accolades instead of single (I've done this one already for testing purposes)
- Category:3 BC births should have {subst:cfm|3 BC|1st to 5th century BC births} but with double accolades instead of single
- Category:4 BC births should have {subst:cfm|4 BC|1st to 5th century BC births} but with double accolades instead of single
- Category:5 BC births should have {subst:cfm|5 BC|1st to 5th century BC births} but with double accolades instead of single
and so on.
Could you ping me for any questions or after it's done? Thanks very much! Marcocapelle (talk) 08:28, 25 May 2015 (UTC)
- @Marcocapelle: I did a few of these - could you please check to see if Category:4 BC births looks good before I continue? Thanks! GoingBatty (talk) 15:14, 30 May 2015 (UTC)
@GoingBatty: This births one is alright, thank you very much! Marcocapelle (talk) 19:43, 30 May 2015 (UTC)
Category merge templates (2)
Would someone be willing to put the appropriate category merge template in all categories listed in this nomination?
For example:
- Category:1 BC deaths should have {subst:cfm|1 BC|1st to 6th century BC deaths} but with double accolades instead of single (I've done this one already for testing purposes)
- Category:2 BC deaths should have {subst:cfm|2 BC|1st to 6th century BC deaths} but with double accolades instead of single
- Category:3 BC deaths should have {subst:cfm|3 BC|1st to 6th century BC deaths} but with double accolades instead of single
- Category:4 BC deaths should have {subst:cfm|4 BC|1st to 6th century BC deaths} but with double accolades instead of single
and so on.
Could you ping me for any questions or after it's done? Thanks very much! Marcocapelle (talk) 12:23, 30 May 2015 (UTC)
- @Marcocapelle: I did a few of these - could you please check to see if Category:4 BC deaths looks good before I continue? Thanks! GoingBatty (talk) 15:17, 30 May 2015 (UTC)
@GoingBatty: Small change needed: "1st to 5th century BC deaths" should become "1st to 6th century deaths". Otherwise fine, thank you very much! Marcocapelle (talk) 19:45, 30 May 2015 (UTC)
- @Marcocapelle: Fixed the categories I already changed, Doing... the rest. GoingBatty (talk) 20:33, 30 May 2015 (UTC)
Month pages
Can anyone please add {{R with possibilities}} to the month pages that redirect to the year page or a section of it? GeoffreyT2000 (talk) 16:08, 18 July 2015 (UTC)
- @GeoffreyT2000: Could you please give an example? Thanks! GoingBatty (talk) 16:39, 18 July 2015 (UTC)
- For example, April 1967 currently redirects to 1967. The code should say
- #REDIRECT [[1967]] {{R with possibilities}}
Changing Unicode music symbols to {{music}}
Often I see ♭ used instead of ♭, ♯ (or worse, #) used instead of ♯, etc. Would it be possible to run an AWB scan for Unicode musical symbols and replace them as necessary? Eman235/talk 15:58, 31 July 2015 (UTC)
Verlon Thompson
Verlon Thompson -> [[Verlon Thompson]] Introduce links now that he has an article. Ten Pound Hammer • (What did I screw up now?) 01:10, 12 August 2015 (UTC)
- Done -- John of Reading (talk) 06:13, 12 August 2015 (UTC)
Jesse Frasure
Jesse Frasure -> [[Jesse Frasure]] Introduce links to underlinked article. Ten Pound Hammer • (What did I screw up now?) 16:37, 12 August 2015 (UTC)
- Done Links added to 19 pages. -- John of Reading (talk) 18:26, 12 August 2015 (UTC)
AWB task request on Wikimedia Commons
I am on Ubuntu now and can not use AWB, please perform these tasks--
- A
- All photos of this category: re-categorize commons:Category:MediaWiki Train the Trainer Program to commons:Category:MediaWiki Train the Trainer Program 2015 June 24 (this category will need to be created, the parent category will be "MediaWiki Train the Trainer Program"
- Now change all dates (date section) of all photos of the newly created commons:Category:MediaWiki Train the Trainer Program 2015 June 24 to 2015-06-24
- B
- Change all dates (date section) of all photos of commons:Category:MediaWiki Train the Trainer Program 2015 June 25 to 2015-06-25
(for camera date issue dates are wrongly shown)
Regards. --Tito Dutta (talk) 06:39, 20 August 2015 (UTC)
Orphaning of Template:Please be neutral
The 400 transclusions of Template:Please be neutral have got to be orphaned; assistance would be appreciated. Alakzi (talk) 13:42, 24 August 2015 (UTC)
Ted Hewitt
Ted Hewitt -> [[Ted Hewitt]] Introduce wikilinks. Ten Pound Hammer • (What did I screw up now?) 01:06, 31 August 2015 (UTC)
- @TenPoundHammer: Done using Find link. GoingBatty (talk) 02:56, 31 August 2015 (UTC)
Orangemoody cleanup
Per this note that Risker left on my talk page, would anyone be up to cleaning up instances of bad grammar that these users have inserted into pages? I ran into at least one instance that was reverted, but it seems like many of these "users" have a good handle on English, but still lack knowledge of the subtleties, which created some of these errors in the first place. Kevin Rutherford (talk) 16:57, 1 September 2015 (UTC)
- Please explain what an "Orangemoody cleanup" is. Risker's note complains about "grammar", but seems to center on "it's class is insecta", which has an obvious punctuation error but no grammar error. A search of Wikipedia found no articles with such a phrase. Who are "these users"? Are you suggesting contribution-stalking someone? AWB is not a perfect tool for fixing any and all possible grammar errors. You might want to provide a clear description of what you are requesting. Chris the speller yack 17:52, 1 September 2015 (UTC)
- My apologies on that, as I should have been more clear. While we do not really have a full understanding of the edits that all of the users added (and I think it should eventually be noted), essentially some of the users have added bad prose to articles that is likely consistent throughout many of them (I reviewed ten users, so this barely scratches the surface). Anyways, I was just wondering if anyone would be willing to go through any corrections that we might find, especially if we could narrow it down more in the coming weeks. Kevin Rutherford (talk) 05:24, 2 September 2015 (UTC)
- One such thing that I have found twice is that they add "year of" before a date, so there are patterns that will certainly pop up here if reviewed enough. Kevin Rutherford (talk) 05:52, 2 September 2015 (UTC)
- Besides the two "in year of {year}" articles that you found, I found 13 cases. These can fairly easily be fixed with or without AWB. I don't think it is a good idea to distract other AWB users from whatever they are doing just to make minor changes to 13 articles. If you find 50 or 100 articles that have an identifiable and searchable error, then AWB might be a good tool to use, and this would be a good place to ask for such help. Chris the speller yack 13:51, 2 September 2015 (UTC)
- I cleaned up the 13 articles that had "in year of"; they can be found in my contribution log. Chris the speller yack 14:02, 2 September 2015 (UTC)
- Besides the two "in year of {year}" articles that you found, I found 13 cases. These can fairly easily be fixed with or without AWB. I don't think it is a good idea to distract other AWB users from whatever they are doing just to make minor changes to 13 articles. If you find 50 or 100 articles that have an identifiable and searchable error, then AWB might be a good tool to use, and this would be a good place to ask for such help. Chris the speller yack 13:51, 2 September 2015 (UTC)
Changing HTTP to HTTPS for selected domains
For numerous reasons (I refer you to [3]), HTTPS should be preferred over HTTP. Obviously not all websites support HTTPS (yet), but some of the most-linked websites on Wikipedia do. Among them are Google Books, Google News, YouTube, and the Internet Archive. The latter switched to HTTPS by default in 2013 and—while still allowing HTTP connections for backward compatibility—encourages others to use HTTPS links. For a couple of months now, I have been switching IA, Google and other selected links to HTTPS using AWB, which is considered an improvement of Wikipedia. However, Materialscientist recently removed my name from the CheckPage, stating that I was violating AWB rules with these kind of edits, although he never bothered to elaborate. Anyhow, my question is whether those kind of edits are what AWB is supposed to be used for, and whether I should be allowed to execute them. --bender235 (talk) 16:46, 28 August 2015 (UTC)
- You are doing a pointless exercise and breaking the link history. HTTP!=HTTPS there are website serving different content on the two different protocols (like you wouldn't expect ftp:// to be web content). Doing this is like removing
www.
from URLs (it's used for load balancing BTW). Additionally, HTTPS offers no ISP-level caching a very design goal of HTTP. Companies advocating this are running their own private backbone and are heavily invested in tracking their users where caching is something to be worked around. — Dispenser 01:03, 29 August 2015 (UTC)
- Even if everybody agreed that it is a truly useful change, it violates AWB Rules of Use: "Do not make insignificant or inconsequential edits. An edit that has no noticeable effect on the rendered page is generally considered an insignificant edit." Monkeying with URLs does not have a noticeable effect on the rendered page. Chris the speller yack 04:54, 29 August 2015 (UTC)
- Unfortunately I have to clear some misconceptions again. @Dispenser: I was not talking about random websites, but only those four named above. No links will be broken. All of them serve identical content via HTTTP and HTTPS (compare [4] and [5] for instance). @Chris the speller: this edit is far from insignificant. I linked an explanation website by Federal Chief Information Officer of the United States above, but apparently none of you read it. In essence, the purpose of HTTPS for Google Books etc. is the same as for Wikipedia (which, as you may have noticed, switched to HTTPS by default this year): it protects privacy and integrity of content delivered to the reader. PS: explain to me how the edit would be "insignificant" if "everybody agreed it was truly useful"? How can something be "truly useful" but "insignificant" at the same time? --bender235 (talk) 14:13, 29 August 2015 (UTC)
- @Bender235: AWB's rules clearly define what they mean by "insignificant edit", and that is generally one that cannot be detected by a reader looking at the page. Changing "http" to "https" cannot be detected by a reader looking at the page. Surely you can differentiate between what is insignificant from the point of view of the reader looking at the page and what is insignificant from the point of view of editors who are digging deep behind the scenes. I am not piling on; I am just pointing out that it violates the letter of the rules, if not the intent, and that you may expect to receive complaints if you make such edits with AWB. If the edits are truly useful, and you make a bot request (WP:BOTREQ), you should have no trouble getting approval. It's just that AWB is not the right tool for this, by its own charter. Chris the speller yack 16:42, 29 August 2015 (UTC)
- @Chris the speller: I see. But this of course means AWB violates its own rules permanently. Because changing pipped links like
[[Airplanes]]
to[[Airplane]]s
, or correct template links like{{cn}}
to{{citation needed|date=August 2015}}
, and hundreds of other so-called "minor edits," are barely noticeable by the average reader, yet are done by AWB and considered an improvement of Wikipedia. It just seems confusing to me. --bender235 (talk) 17:38, 29 August 2015 (UTC)- @Bender235: Some of AWB's general fixes, such as the two you mentioned, would be considered insignificant if made on their own, but helpful when made in conjunction with other changes that impact the reader's view. GoingBatty (talk) 18:27, 29 August 2015 (UTC)
- I see. So should this HTTP->HTTPS switch be included as a minor (secondary) automatic fix in AWB? --bender235 (talk) 04:02, 30 August 2015 (UTC)
- @Bender235: You could submit a feature request if you like. GoingBatty (talk) 05:13, 30 August 2015 (UTC)
- I see. So should this HTTP->HTTPS switch be included as a minor (secondary) automatic fix in AWB? --bender235 (talk) 04:02, 30 August 2015 (UTC)
- @Bender235: Some of AWB's general fixes, such as the two you mentioned, would be considered insignificant if made on their own, but helpful when made in conjunction with other changes that impact the reader's view. GoingBatty (talk) 18:27, 29 August 2015 (UTC)
- @Chris the speller: I see. But this of course means AWB violates its own rules permanently. Because changing pipped links like
- @GoingBatty and Chris the speller: please leave a comment here if you have time. --bender235 (talk) 19:58, 6 September 2015 (UTC)
- Again, a reminder @Dispenser, GoingBatty, and Chris the speller:: if you have time, please explain here why you consider the HTTP→HTTPS fix a purely cosmetic edit. --bender235 (talk) 14:02, 13 September 2015 (UTC)
- @Bender235: I don't think I said that the HTTP→HTTPS fix a purely cosmetic edit. My goal of suggesting this (and many other things) as an AWB general fix is to maximize the impact of each AWB edit and reduce the number of cosmetic edits. GoingBatty (talk) 14:13, 13 September 2015 (UTC)
- I understand. But I still believe the HTTP→HTTPS fix merits an edit on its own if necessary. Just like a small fix like
[[Categroy:...]]
→[[Category:...]]
does, because it is more than just a typo fix, it adds something on a technical level. --bender235 (talk) 14:18, 13 September 2015 (UTC)
- I understand. But I still believe the HTTP→HTTPS fix merits an edit on its own if necessary. Just like a small fix like
- @Bender235: I don't think I said that the HTTP→HTTPS fix a purely cosmetic edit. My goal of suggesting this (and many other things) as an AWB general fix is to maximize the impact of each AWB edit and reduce the number of cosmetic edits. GoingBatty (talk) 14:13, 13 September 2015 (UTC)
Checking
Hi! Could some admin take a look at this page and check, which of these articles has none of these templates, or their redirects on the talk page:
- {{WikiProject Anthroponymy}}
- {{WikiProject Feminism}}
- {{WikiProject Gender Studies}}
- {{WikiProject Jewish Women}}
- {{WikiProject LGBT studies}}
- {{WikiProject Women}}
- {{WikiProject Women artists}}
- {{WikiProject Women's Health}}
- {{WikiProject Women's History}}
- {{WikiProject Women scientists}}
- {{WikiProject Women's sport}}
- {{WikiProject Women writers}}
Results (no, I don't need wikitable in result - bulleted list is completely fine) can be copied in the same page overwriting wikitable. --Edgars2007 (talk/contribs) 09:19, 24 September 2015 (UTC)
- Since AWB can only handle 25,000 pages at once in lists, I split your list in two to be able to process it; the first half (A–Ka; 16,072 pages) is now in your subpage. Also, because {{WikiProject Anthroponymy}} has more than 25,000 transclusions, the new list may still include some pages using it. (I had to use AWB to even save the list onto your page, as Chrome fails to load your list due to its size.) SiBr4 (talk) 10:29, 24 September 2015 (UTC)
- Oh, didn't know about such limits. Will do that in my way with SQL, but anyway thanks! --Edgars2007 (talk/contribs) 11:01, 24 September 2015 (UTC)
Events by month links
Template:Events by month links should be transcluded on each article in Category:Months in the 1900s. AWB can help do this. Doing a quick search for incategory:"Months in the 1900s" -hastemplate:"Events by month links" reveals that 105 pages will be affected. GeoffreyT2000 (talk) 20:51, 29 September 2015 (UTC)
CfD nomination cardiovascular deaths
After this nomination and this nomination I'd like now to nominate all child categories of Category:Cardiovascular disease deaths by country for deletion. Unfortunately it's not really doable to this manually, so I wonder if someone could offer help to automate this process. The procedure of CfD nominations always consists of two steps, in this case the steps are:
- The first step is (similar to what you can see in the two before-mentioned discussions) to generate a text line for each country of the format: Propose deleting Category:Cardiovascular disease deaths in "name-of-country"
- The second step is to insert a "Subst:cfd|Cardiovascular disease deaths" template (preceded and closed by double accolades instead of quotation marks) on top of every country category page.
Thanks for your help and please ping me if you need more info. Marcocapelle (talk) 07:42, 2 October 2015 (UTC)
- @Marcocapelle:Please make the nomination, and tag the head category. If you can't (or don't have time to, or just plain won't) tag the rest, leave an explicit note to that effect there and mention it here. עוד מישהו Od Mishehu 17:15, 8 October 2015 (UTC)
- @Od Mishehu: Thanks for your advice, I've started the nomination here and hope that you can help me with adding the country subcategories. Marcocapelle (talk) 20:42, 10 October 2015 (UTC)
- Done. @Marcocapelle:, next time please explicitly include the entire nomination list in the nomination, even if you only tag the head category. עוד מישהו Od Mishehu 03:29, 11 October 2015 (UTC)
- Thanks very much!! Marcocapelle (talk) 06:37, 11 October 2015 (UTC)
- Done. @Marcocapelle:, next time please explicitly include the entire nomination list in the nomination, even if you only tag the head category. עוד מישהו Od Mishehu 03:29, 11 October 2015 (UTC)
- @Od Mishehu: Thanks for your advice, I've started the nomination here and hope that you can help me with adding the country subcategories. Marcocapelle (talk) 20:42, 10 October 2015 (UTC)
AWB help - sort of a search and replace
rewritten at VPT and resolved there
|
---|
I have a set of tasks which I think are perfect for AWB. I want to emphasize that I want to do them, so I get more experience with AWB but this set of tasks is more complicated than ones I've done before so I'm looking for some guidance on how best to do it. The first part of the task is relatively straightforward and I think I could handle myself. I have a number of references formatted similarly to the one here: <ref name="1993 WUG">{{cite web|last=|first=|date=|title=SIXTEENTH WORLD UNIVERSITY GAMES -- 1993|url=http://www.usab.com/womens/worlduniversity/wwug_1993.html|work=|publisher=USA Basketball|accessdate=15 Oct 2013}}</ref> The title is in All-Caps. Despite the fact that the original site uses that convention, my reading of MOS suggest I should be changing the case. If if this were the only thing I needed to do I could set up a search and replace, searching for: SIXTEENTH WORLD UNIVERSITY GAMES And replacing with: Sixteenth World University Games I illustrated with one example but there are also values for "EIGHTH" through "TWENTY-SEVENTH" (In addition to World University games, I have the same issue with Pan American games, Junior world championships, U18 world championships, U19 world championships and others.) However, I have other changes to make at the same time. If you try to access the URL in the above reference, it resolves to a 404. In that specific case:
While I am making changes I thought I should also include the Internet archive address. For this a specific example:
However, I don't think I can now do a simple search and replace. The original ref will have an access date which might vary. In words, I want to search for a reference whose name is "1993 WUG" then replace the entire reference with: <ref name="1993 WUG">{{cite web|last=|first=|date=|title=Sixteenth World University Games -- 1993|url=http://www.usab.com/history/world-university-games-womens/sixteenth-world-university-games-1993.aspx|work=|publisher=USA Basketball|accessdate=12 October 2015| archive-url = https://web.archive.org/web/20150907193836/http://www.usab.com/history/world-university-games-womens/sixteenth-world-university-games-1993.aspx | archive-date =7 September 2015|dead-url=no}}</ref> Which would:
I don't think I want to do a single AWB run with all changes at once. I'm thinking that I might set up a run which handles all world University games, then rinse and repeat for Pan American games etc. I can create a table, which for example might identify that all of the world University games references are of the form "YYYY WUG" in specify the correct replacement reference for each case, but I'm a little out of my depth in telling AWB to search for a part of a reference and then replace the entire reference with some string. Can someone tell me the best way to do this?--S Philbrick(Talk) 19:08, 12 October 2015 (UTC)
|