Jump to content

Wikipedia:Bot requests: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 818: Line 818:
:::Down the rabbit hole.. [https://bibwild.wordpress.com/2009/05/19/alternatives-to-amazon-api/ Alternatives to Amazon API]. -- [[User:Green Cardamom|<font color="#006A4E">'''Green'''</font>]][[User_talk:Green Cardamom|<font color="#009933">'''C'''</font>]] 05:26, 27 April 2017 (UTC)
:::Down the rabbit hole.. [https://bibwild.wordpress.com/2009/05/19/alternatives-to-amazon-api/ Alternatives to Amazon API]. -- [[User:Green Cardamom|<font color="#006A4E">'''Green'''</font>]][[User_talk:Green Cardamom|<font color="#009933">'''C'''</font>]] 05:26, 27 April 2017 (UTC)
:::I read that using the Amazon API requires an account(s) and you have to prove the API is being used for the purpose of selling Amazon products -- thus its name 'Product Advertising API' -- by providing a link to a website where the API results will be deployed. Thus using the API to de-Amazon Wikipedia would almost surely require subterfuge hiding it's true intent. -- [[User:Green Cardamom|<font color="#006A4E">'''Green'''</font>]][[User_talk:Green Cardamom|<font color="#009933">'''C'''</font>]] 15:33, 27 April 2017 (UTC)
:::I read that using the Amazon API requires an account(s) and you have to prove the API is being used for the purpose of selling Amazon products -- thus its name 'Product Advertising API' -- by providing a link to a website where the API results will be deployed. Thus using the API to de-Amazon Wikipedia would almost surely require subterfuge hiding it's true intent. -- [[User:Green Cardamom|<font color="#006A4E">'''Green'''</font>]][[User_talk:Green Cardamom|<font color="#009933">'''C'''</font>]] 15:33, 27 April 2017 (UTC)
::::{{rto|Green Cardomom}} Now don't tell me that we use this API to FILL the references? If so, we areexactly at the point where we should be.
::::{{rto|Green Cardamom}} Now don't tell me that we use this API to FILL the references? If so, we areexactly at the point where we should be.
::::Anyway, all others that can legitimately be de-amazonized could be done by bot. We can do the others by hand if no automated process can be defined. --[[User:Beetstra|Dirk Beetstra]] <sup>[[User_Talk:Beetstra|<span style="color:#0000FF;">T</span>]] [[Special:Contributions/Beetstra|<span style="color:#0000FF;">C</span>]]</sup> 04:10, 1 May 2017 (UTC)
::::Anyway, all others that can legitimately be de-amazonized could be done by bot. We can do the others by hand if no automated process can be defined. --[[User:Beetstra|Dirk Beetstra]] <sup>[[User_Talk:Beetstra|<span style="color:#0000FF;">T</span>]] [[Special:Contributions/Beetstra|<span style="color:#0000FF;">C</span>]]</sup> 04:10, 1 May 2017 (UTC)
::::Screwed up ping ... the mediawiki software should just understand who I want to ping :-). {{ping|Green Caramom}}. --[[User:Beetstra|Dirk Beetstra]] <sup>[[User_Talk:Beetstra|<span style="color:#0000FF;">T</span>]] [[Special:Contributions/Beetstra|<span style="color:#0000FF;">C</span>]]</sup> 04:11, 1 May 2017 (UTC)
===Arbitrary break===
===Arbitrary break===
{{cot|Primefac is an idiot and doesn't know how to read. Ignore this section.}}
{{cot|Primefac is an idiot and doesn't know how to read. Ignore this section.}}
*'''Comment''' that original linked thread is almost 4:1 in opposition against blacklisting Amazon. Personal feelings aside, I'm seeing little to no support to remove/replace Amazon via bot, and anything else is going to fall afoul of [[WP:CONTEXTBOT]]. [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 18:16, 26 April 2017 (UTC)
*'''Comment''' that original linked thread is almost 4:1 in opposition against blacklisting Amazon. Personal feelings aside, I'm seeing little to no support to remove/replace Amazon via bot, and anything else is going to fall afoul of [[WP:CONTEXTBOT]]. [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 18:16, 26 April 2017 (UTC)
::The opposition is to blacklist Amazon because it's a convenient link that beats nothing, and can be used to populate templates automatically. But every one also agrees the amazon link is inappropriate when we have an ISBN. <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 18:20, 26 April 2017 (UTC)
::The opposition is to blacklist Amazon because it's a convenient link that beats nothing, and can be used to populate templates automatically. But every one also agrees the amazon link is inappropriate when we have an ISBN. <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 18:20, 26 April 2017 (UTC)
:::I am with Headbomb here. We regularly run into sites where the linking is sub-optimal, but where the ''editor'' finds great convenience in using the link (I am sure that the reasoning here can also be applied to google-books, though that is less aimed at selling, and many other book sites). On all those there is a sauce of spammers that do add (commercial links to) their books to Wikipedia articles in the hope to sell some of their books because readers are following their commercial links. Many of such links could be 'neutralized' through ISBN. It is a bit less convenient, but the functionality, the convenience, is still there (one step more, you go to Special:ISBN, choose Amazon/Google/whatever). If we can run this on Amazon, we can likely also run this on many other online-book retailers. --[[User:Beetstra|Dirk Beetstra]] <sup>[[User_Talk:Beetstra|<span style="color:#0000FF;">T</span>]] [[Special:Contributions/Beetstra|<span style="color:#0000FF;">C</span>]]</sup> 04:00, 27 April 2017 (UTC)
:::I am with Headbomb here. We regularly run into sites where the linking is sub-optimal, but where the ''editor'' finds green eat convenience in using the link (I am sure that the reasoning here can also be applied to google-books, though that is less aimed at selling, and many other book sites). On all those there is a sauce of spammers that do add (commercial links to) their books to Wikipedia articles in the hope to sell some of their books because readers are following their commercial links. Many of such links could be 'neutralized' through ISBN. It is a bit less convenient, but the functionality, the convenience, is still there (one step more, you go to Special:ISBN, choose Amazon/Google/whatever). If we can run this on Amazon, we can likely also run this on many other online-book retailers. --[[User:Beetstra|Dirk Beetstra]] <sup>[[User_Talk:Beetstra|<span style="color:#0000FF;">T</span>]] [[Special:Contributions/Beetstra|<span style="color:#0000FF;">C</span>]]</sup> 04:00, 27 April 2017 (UTC)
:::{{u|Primefac}}, The closing summary you gave at [[Wikipedia:Templates for discussion/Log/2017 April 13#Template:ASIN]], while accurately recording the '''Keep''' overlooked the strong sentiment expressed that it should be kept only ''as a source of last resort''. This discussion here is not about blind removal of asins, but their removal where better, more neutral, less commercial, alternatives already exist or their replacement where the alternatives can be found. Please don't simplify the contending positions to the point where their essence is lost. [[User:Cabayi|Cabayi]] ([[User talk:Cabayi|talk]]) 08:59, 27 April 2017 (UTC)
:::{{u|Primefac}}, The closing summary you gave at [[Wikipedia:Templates for discussion/Log/2017 April 13#Template:ASIN]], while accurately recording the '''Keep''' overlooked the strong sentiment expressed that it should be kept only ''as a source of last resort''. This discussion here is not about blind removal of asins, but their removal where better, more neutral, less commercial, alternatives already exist or their replacement where the alternatives can be found. Please don't simplify the contending positions to the point where their essence is lost. [[User:Cabayi|Cabayi]] ([[User talk:Cabayi|talk]]) 08:59, 27 April 2017 (UTC)
::::You're exactly right, I rather thoroughly misread this thread and the non-!voting implications of the original linked discussion. Consider myself fully trouted. [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 11:58, 27 April 2017 (UTC)
::::You're exactly right, I rather thoroughly misread this thread and the non-!voting implications of the original linked discussion. Consider myself fully trouted. [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 11:58, 27 April 2017 (UTC)

Revision as of 04:12, 1 May 2017

This is a page for requesting tasks to be done by bots per the bot policy. This is an appropriate place to put ideas for uncontroversial bot tasks, to get early feedback on ideas for bot tasks (controversial or not), and to seek bot operators for bot tasks. Consensus-building discussions requiring large community input (such as request for comments) should normally be held at WP:VPPROP or other relevant pages (such as a WikiProject's talk page).

You can check the "Commonly Requested Bots" box above to see if a suitable bot already exists for the task you have in mind. If you have a question about a particular bot, contact the bot operator directly via their talk page or the bot's talk page. If a bot is acting improperly, follow the guidance outlined in WP:BOTISSUE. For broader issues and general discussion about bots, see the bot noticeboard.

Before making a request, please see the list of frequently denied bots, either because they are too complicated to program, or do not have consensus from the Wikipedia community. If you are requesting that a template (such as a WikiProject banner) is added to all pages in a particular category, please be careful to check the category tree for any unwanted subcategories. It is best to give a complete list of categories that should be worked through individually, rather than one category to be analyzed recursively (see example difference).

Alternatives to bot requests

Note to bot operators: The {{BOTREQ}} template can be used to give common responses, and make it easier to keep track of the task's current status. If you complete a request, note that you did with {{BOTREQ|done}}, and archive the request after a few days (WP:1CA is useful here).


Please add your bot requests to the bottom of this page.
Make a new request
# Bot request Status 💬 👥 🙋 Last editor 🕒 (UTC) 🤖 Last botop editor 🕒 (UTC)
1 Auto-WP:NAVNOREDIRECT Declined Not a good task for a bot. 10 5 Wikiwerner 2024-04-28 12:22 Primefac 2024-03-13 18:37
2 Automatic NOGALLERY keyword for categories containing non-free files (again) 16 8 WOSlinker 2024-06-25 12:44 Legoktm 2024-06-24 01:34
3 Can we have an AIV feed a bot posts on IRC? 8 3 Legoktm 2024-06-21 18:24 Legoktm 2024-06-21 18:24
4 Bot to update match reports to cite template BRFA filed 14 5 Yoblyblob 2024-06-20 21:21 Mdann52 2024-06-20 21:11
5 Bot to mass tag California State University sports seasons Doing... 5 4 Frostly 2024-06-10 17:05 Headbomb 2024-06-09 17:28
6 Clear Category:Unlinked Wikidata redirects 7 4 Jlwoodwa 2024-06-21 06:41 DreamRimmer 2024-04-21 03:28
7 Find linkrot with a specific pattern 7 3 GreenC 2024-05-01 16:20
8 Fixing stub tag placement on new articles Declined Not a good task for a bot. 4 3 Headbomb 2024-05-19 20:17 Headbomb 2024-05-19 20:17
9 User:RetractionBot, v2 Y Done 8 5 Mdann52 2024-05-25 16:06 Mdann52 2024-05-25 16:06
10 Bot to change citations to list defined references Declined Not a good task for a bot. 3 2 Apoptheosis 2024-06-09 17:44 Headbomb 2024-06-09 16:56
11 Adding Facility IDs to AM/FM/LPFM station data BRFA filed 10 3 Qwerfjkl 2024-06-12 14:29 Qwerfjkl 2024-06-12 14:29
12 Tagging women's basketball article talk pages with project tags 7 2 Hmlarson 2024-06-10 19:17 Mdann52 2024-06-10 19:15
13 Friendly support for Draft categories – feedback request 1 1 Mathglot 2024-06-10 19:40
14 'Literature of Kashmir' Declined Not a good task for a bot. 2 2 Usernamekiran 2024-06-11 07:37 Usernamekiran 2024-06-11 07:37
15 Adding links to previous TFDs 7 4 Qwerfjkl 2024-06-20 18:02 Qwerfjkl 2024-06-20 18:02
16 Bot that condenses identical references Coding... 9 4 Acebulf 2024-06-19 03:07 Headbomb 2024-06-18 00:34
17 Convert external links within {{Music ratings}} to refs 2 2 Mdann52 2024-06-23 10:11 Mdann52 2024-06-23 10:11
18 Stat.kg ---> Stat.gov.kg 2 2 DreamRimmer 2024-06-23 09:21 DreamRimmer 2024-06-23 09:21
19 Add constituency numbers to Indian assembly constituency boxes 3 2 C1MM 2024-06-25 03:59 Primefac 2024-06-25 00:27
Legend
  • In the last hour
  • In the last day
  • In the last week
  • In the last month
  • More than one month
Manual settings
When exceptions occur,
please check the setting first.

Missing BLP template

We need a bot that will search for all articles in Category:Living people, but without a {{BLP}} (or alternatives) on article's talk page, and add to these pages missing template. --XXN, 21:21, 20 November 2016 (UTC)[reply]

Ideally, not {{BLP}} directly, but indirectly via {{WikiProject Biography|living=yes}}. But we once had a bot that did that, I don't know what happened to it. --Redrose64 (talk) 10:33, 21 November 2016 (UTC)[reply]
{{WikiProject Biography|living=yes}} add the biography to Category:Biography articles of living people. TheMagikCow (talk) 18:48, 16 January 2017 (UTC)[reply]
Hi@Redrose64:, what was that bot's name? We faced such need recently during the Wiki Loves Africa photo contest on Commons. Hundreds of pictures from a parent category missed a certain template. I am planning to build of bot or adapt an existing one for similar cases.--African Hope (talk) 17:08, 4 February 2017 (UTC)[reply]
I'll code this. If there is a living people category but no {{BLP}} or {{WikiProject Banner Shell}} or {{WikiProject Biography}}? I might expand this to see if it has a 'living people' category but it does not have a living or not parameter. Dat GuyTalkContribs 17:28, 4 February 2017 (UTC)[reply]
I don't recall. Maybe Rich Farmbrough (talk · contribs) knows? --Redrose64 🌹 (talk) 00:20, 5 February 2017 (UTC)[reply]
I have been fixing members of Category:Biography articles without living parameter along with User:Vami_IV for some time. Menobot ensures that most biographies get tagged. I also did a one-off to tag such biographies a couple of moths ago. All the best: Rich Farmbrough, 00:32, 5 February 2017 (UTC).[reply]
  • BU Rob13 I recall seeing a task with BU RoBot similar to this. Is this already being done? Also, RF, would you like it if it's incorporated to the task? It shouldn't have false positives. Dat GuyTalkContribs 16:34, 5 March 2017 (UTC)[reply]
    • @DatGuy: I do many tagging tasks. If you wanted me to handle this, I could do so extremely easily using existing code. ~ Rob13Talk 16:48, 5 March 2017 (UTC)[reply]

Yobot was doing this task until recently. It's in my to-do list. -- Magioladitis (talk) 18:07, 5 March 2017 (UTC)[reply]

Can a useful bot be taken over and repaired.

(Was posted at WP:VPT, user:Fastily suggested to post here if there was no takers)
User:Theopolisme is fairly inactive (last edit May). He mde User:Theo's Little Bot. Of late the bot has not been behaving very well on at least one of it's tasks (Task 1 - reduction of non-free images in Category:Wikipedia non-free file size reduction requests. It typically starts at 06:00 and will drop out usually within a minute of two (although sometimes one is lucky and it runs for half an hour occasionally). Messages on talk pages and github failed to contact user. User:Diannaa and I both sent e-mails, and Diannaa did get a reply - He is very busy elsewhere, and hopes to maybe look over Xmas... In view of the important work it does, Dianna suggested I ask at WP:VPT if there was someone who could possibly take the bot over? NB: See also Wikipedia:Bot requests#Update WikiWork factors Ronhjones  (Talk) 19:44, 25 December 2016 (UTC)[reply]

Now this should be a simple task. Doing... Dat GuyTalkContribs 12:39, 27 December 2016 (UTC)[reply]
@DatGuy: FWIW, I'm very rusty on python, but I tried running the bot off my PC (with all saves disabled of course), and the only minor error I encountered was resizer_auto.py:49: DeprecationWarning: page.edit() was deprecated in mwclient 0.7.0 and will be removed in 0.9.0, please use page.text() instead.. I did note that the log file was filling up, maybe after so long unattended, the log file is too big. Ronhjones  (Talk) 16:24, 28 December 2016 (UTC)[reply]
Are you sure? See [1]. When it tries to upload it, the file is corrupted. However, the file is fine on my local machine. Can you test it on the file? Feel free to use your main account, I'll ask to make it possible for you to upload files. As a side note, could you join ##datguy connect so we can talk more easily (text, no voice). Thanks. Dat GuyTalkContribs 16:33, 28 December 2016 (UTC)[reply]
Well just reading the files is one thing, writing them back is a whole new ball game! Commented out the "theobot.bot.checkpage" bit, changed en.wiki to test.wiki (2 places), managed to login OK, then it goes bad - see User:Ronhjones/Sandbox2 for screen grab. And every run adds two lines to my "resizer_auto.log" on the PC. Bit late now for any more. Ronhjones  (Talk) 01:44, 29 December 2016 (UTC)[reply]
Ah, just spotted the image files in the PC directory - 314x316 pixels, perfect sizing. Does that mean the bot's directory is filling up with thousands of old files? Just a thought. Ronhjones  (Talk) 01:49, 29 December 2016 (UTC)[reply]
See for yourself :). Weird thing for me is, I can upload it manually from the API sandbox on testwiki just fine. When the bot tries to do it via coding? CORRUPT! Dat GuyTalkContribs 10:28, 30 December 2016 (UTC)[reply]
25 GB of temp image files !! - it there a size limit per user on that server? Somewhere (in the back of my mind - I know not where - trouble with getting old..., and I could be very wrong) I read he was using a modified mwclient... My PC fails when it hits the line site.upload(open(file), theimage, "Reduce size of non-free image... and drops to the error routine, I tried to look up the syntax of that command (not a lot of documentation) and it does not seems to fully agree with his format. Ronhjones  (Talk) 23:29, 30 December 2016 (UTC)[reply]
OTOH, I just looked at the test image, have you cracked it? Ronhjones  (Talk) 23:31, 30 December 2016 (UTC)[reply]

BRFA filed. Dat GuyTalkContribs 09:19, 1 January 2017 (UTC)[reply]

@DatGuy: And approved I see - Is it now running? I'll stop the original running. I see it was that "open" statement that was the issue I had! Ronhjones  (Talk) 00:34, 3 January 2017 (UTC)[reply]
@DatGuy: Is this running? ~ Rob13Talk 11:36, 27 February 2017 (UTC)[reply]
Yes, although irregularly. I run it when I see more than one page in the category. Dat GuyTalkContribs 14:54, 27 February 2017 (UTC)[reply]
@DatGuy: Is there no way this could be hosted on Labs and run continuously? This task needs to be done fairly rapidly, as every image that hasn't been resized is essentially a copyright violation. Using high resolution images when low resolution images would work fails our own local non-free use criteria, but it also fails fair use under US copyright law (which is why we have the local criteria). The WMF could be served DMCA notices on these images if they aren't handled swiftly. ~ Rob13Talk 15:50, 3 March 2017 (UTC)[reply]
@BU Rob13: No, it can't. I'll run the file a lot more often, however the module pyexiv2 uses a dll called libexiv2python. This runs fine on my Windows machine, but since dll files are for Windows, they do not work on Labs, which uses Linux. Dat GuyTalkContribs 23:08, 4 March 2017 (UTC)[reply]
@BU Rob13: Actually, I think I found a workaround. I'll try and make it run 12:pm daily. Dat GuyTalkContribs 16:29, 5 March 2017 (UTC)[reply]

Bot to help with FA/GA nomination process

Resolved

The process is as follows: (Pasted from FA nomination page):

Before nominating an artic)le, ensure that it meets all of the FA criteria and that peer reviews are closed and archived. The featured article toolbox (at right) can help you check some of the criteria. Place {{FAC}} should be substituted at the top of the article talk page at the top of the talk page of the nominated article and save the page. From the FAC template, click on the red "initiate the nomination" link or the blue "leave comments" link. You will see pre-loaded information; leave that text. If you are unsure how to complete a nomination, please post to the FAC talk page for assistance. Below the preloaded title, complete the nomination page, sign with ~~~~ and save the page.

Copy this text: Wikipedia:Featured article candidates/name of nominated article/archiveNumber (substituting Number), and edit this page (i.e., the page you are reading at the moment), pasting the template at the top of the list of candidates. Replace "name of ..." with the name of your nomination. This will transclude the nomination into this page. In the event that the title of the nomination page differs from this format, use the page's title instead.

May be a bot could automate that process? Thanks.47.17.27.96 (talk) 13:08, 16 January 2017 (UTC)[reply]

This was apparently copied here from WP:VPT; the original is here. --Redrose64 🌹 (talk) 21:34, 16 January 2017 (UTC)[reply]
I think that at WP:VPT, the IP was directed here - see here. TheMagikCow (talk) 19:40, 17 January 2017 (UTC)[reply]
There is some information that is required from the user, both with the FAC and GAN templates, that can't be inferred by a bot but requires human decision making. I don't think this would be that useful or feasible. BlueMoonset (talk) 21:35, 22 January 2017 (UTC)[reply]
Declined Not a good task for a bot. The GA nomination process is already largely automated. The FA nomination process requires a nominating statement, which is really the only thing not already made easy here. A bot wouldn't cut down on the work involved. ~ Rob13Talk 15:48, 3 March 2017 (UTC)[reply]

Website suddenly took down a lot of its material, need archiving bot!

Per Wikipedia_talk:WikiProject_Academic_Journals#Urgent:_Beall.27s_list, several (if not) most links to https://scholarlyoa.com/ and subpages just went dead. Could a bot help with adding archive links to relevant citation templates (and possibly bare/manual links too)? Headbomb {talk / contribs / physics / books} 00:31, 19 January 2017 (UTC)[reply]

Cyberpower678, could you mark this domain is dead in IABot's database so that it will handle adding archive urls? — JJMC89(T·C) 01:13, 19 January 2017 (UTC)[reply]
@Cyberpower678: ? Headbomb {talk / contribs / physics / books} 10:50, 2 February 2017 (UTC)[reply]
Sorry, I never got the first ping. I'll mark it in a moment.—CYBERPOWER (Chat) 16:52, 2 February 2017 (UTC)[reply]
Only 61 urls were found in the DB with the domain.—CYBERPOWER (Chat) 17:39, 2 February 2017 (UTC)[reply]
@Cyberpower678: Well that's 61 urls that we needed! Would it be possible to have a list of those urls, or is that complicated? It would be really useful to project members to have those centralized in one place. Headbomb {talk / contribs / physics / books} 20:04, 13 February 2017 (UTC)[reply]
I would but, the DB is under maintenance right now.—CYBERPOWER (Be my Valentine) 20:06, 13 February 2017 (UTC)[reply]
I'll ping you next week then. Headbomb {talk / contribs / physics / books} 20:07, 13 February 2017 (UTC)[reply]
@Cyberpower678:. Headbomb {talk / contribs / physics / books} 21:00, 22 February 2017 (UTC)[reply]
The interface link will be made available soon, but...
Giant list removed. It may still be seen in the page history. Anomie 23:03, 24 February 2017 (UTC)[reply]
Cheers.—CYBERPOWER (Chat) 06:11, 24 February 2017 (UTC)[reply]
Please don't dump giant lists of stuff in this page. Put them in a subpage in your userspace and link to them instead. Thanks. Anomie 23:03, 24 February 2017 (UTC)[reply]

@Cyberpower678:, I may have been unclear in my request, but what I meant was is is possible to have a consolidated list of the archived versions and also have a bot update the current citation templates (and bare links, if any) with the archived version? Headbomb {talk / contribs / physics / books} 18:19, 24 February 2017 (UTC)[reply]

@Headbomb: I'm not sure I fully understand. Searching by archive is not easy. I need to ping the DB directly. It likely wouldn't be accurate because sometimes an archive only shows up if it's trying to fix the dead link. It usually doesn't bother sniffing out an archive if the link isn't dead. So you would need to run the bot on those articles to get an accurate list of what has an archive and what doesn't.—CYBERPOWER (Around) 16:29, 4 March 2017 (UTC)[reply]

Non-free images used excessively

I'd like a few reports, if anyone's able to generate them.

1) All images in Category:Fair use images, defined recursively, which are used outside of the mainspace.

2) All images in Category:Fair use images, defined recursively, which are used on more than 10 pages.

3) All images in Category:Fair use images, defined recursively, which are used on any page that is not anywhere in the text of the file description page. i.e. If "File:Image1.jpg" was used on page "Abraham Lincoln" but the text "Abraham Lincoln" appeared nowhere on the file page.

If anyone can handle all or some of these, it would be much appreciated. Feel free to write to a subpage in my userspace. ~ Rob13Talk 20:29, 21 January 2017 (UTC)[reply]

No bot needed for tasks 1 and 2:
  1. https://tools.wmflabs.org/betacommand-dev/nfcc/NFCC9.html
  2. https://tools.wmflabs.org/betacommand-dev/nfcc/high_use_NFCC.html
Task 3 was done by User:BetacommandBot, but the bot and its master have been since blocked. User:FairuseBot, I think. I'd very much like to see this task being done by a bot. – Finnusertop (talkcontribs) 20:42, 21 January 2017 (UTC)[reply]
Still need task 3 here. ~ Rob13Talk 15:46, 3 March 2017 (UTC)[reply]

Move GA reviews to the standard location

There are about 3000 Category:Good articles that do not have a GA review at the standard location of Talk:<article title>/GA1. This is standing in the way of creating a list of GAs that genuinely do not have a GA review. Many of these pages have a pointer to the actual review location in the article milestones on the talk page, and these are the ones that could potentially be moved by bot.

There are two cases, the easier one is pages that have a /GA1 page but the substantive page has been renamed. An example is 108 St Georges Terrace whose review is at Talk:BankWest Tower/GA1. This just requires a page move and the milestones template updated. Note that there may be more than one review for a page (sometimes there are several failed reviews before a pass). GA reviews are identified in the milestones template with the field actionn=GAN and the corresponding review page is found at actionnlink=<review>. Multiple GA reviews are named /GA1, /GA2 etc but note that there is no guarantee that the review number corresponds to the n number in actionn.

The other case (older reviews, example 100,000-year problem) is where the review took place on the article talk page rather than a dedicated page. This needs a cut and paste to a /GA1 page and the review transcluding back on to the talk page. This probably needs to be semi-automatic with some sanity checks by human, at least for a test run (has the bot actually captured a review, is it a review of the target article, did it capture all of the review). SpinningSpark 08:30, 22 January 2017 (UTC)[reply]

Discussion at Wikipedia talk:Good articles/Archive 14#Article incorrectly listed as GA here? and Wikipedia:Village pump (technical)/Archive 152#GA reviews SpinningSpark 08:37, 22 January 2017 (UTC)[reply]

Bumping to keep thread live. SpinningSpark 00:51, 25 March 2017 (UTC)[reply]

Klisf.info dead links

For some time Russian soccer stats website Klisf.info is inactive, inavailable. There are many links to this website (either as incline references or simple external links like the one from this article) and they should be tagged as dead links (at least). --XXN, 12:54, 22 January 2017 (UTC)[reply]

No one bot operator is interested in this task? This is an important thing, there are a lot of articles based on only one Klisf.info dead link, and the WP:VER is problematic. I don't request (yet) to remove these links - just tag them as dead, and another bot will try to update them with a link to an archived version, if possible. The FOOTY wikiproject was notified some time ago, but there is nothing controversial. XXN, 13:55, 10 February 2017 (UTC)[reply]

There are 148 links. Listed here. All the best: Rich Farmbrough, 13:20, 27 April 2017 (UTC).[reply]

Add https to ForaDeJogo.net

Please change foradejogo.net links to https. I have already updated its templates. SLBedit (talk) 19:24, 22 January 2017 (UTC)[reply]

@SLBedit: see User:Bender the Bot and its contribs. You can contact directly the bot operator, probably. XXN, 13:59, 10 February 2017 (UTC)[reply]
I'll keep it in mind. --bender235 (talk) 15:40, 10 February 2017 (UTC)[reply]

User's recognized content list

List like Wikipedia:WikiProject Physics/Recognized content generated by User:JL-Bot/Project content seems very neat. Is it possible to generate and maintain the same list, tied to a user instead of a Wikiproject? For example, I can use it to have a list of DYK/GA/FAs credited to me in my user page. HaEr48 (talk) 03:51, 23 January 2017 (UTC)[reply]

Let's ping JLaTondre (talk · contribs) on this. Headbomb {talk / contribs / physics / books} 04:43, 23 January 2017 (UTC)[reply]
He replied in User talk:JL-Bot#Generating User-centric recognized content and said that he doesn't have time to add this new feature right now, and the way such a thing can be implemented is a bit different from JL-Bot's existing implementation. So probably we need new bots. HaEr48 (talk) 06:50, 9 February 2017 (UTC)[reply]

Bot to delete emptied monthly maintenance categories

I notice that we have a bot, AnomieBOT that automatically creates monthly maintenance categories (Femto Bot used to do it earlier). Going by the logs for a particular category, I find that it has been deleted and recreated about 10 times. While all recreations are by bots, the deletions are done by human adminstrators. Why so? Mundane, repetitive tasks like the deletion of such categories (under CSD G6) when they get emptied should be done by bots. This bot task is obviously non-controversial and absolutely non-contentious, since AnomieBOT will recreate the category if new pages appear in the category. 103.6.159.93 (talk) 14:21, 23 January 2017 (UTC)[reply]

Needs wider discussion. It should be easy enough for AnomieBOT III to do this, but I'd like to hear from the admins who actually do these deletions regularly whether the workload is enough that they'd want a bot to handle it. Anomie 04:54, 24 January 2017 (UTC)[reply]
Are these already being tagged for CSD by a bot? I don't work CAT:CSD has much as I used to, but rarely see these in the backlog there now. — xaosflux Talk 14:08, 24 January 2017 (UTC)[reply]
I think they are tagged manually by editors. Anyway, this discussion is now shifted to WP:AN#Bot to delete emptied monthly maintenance categories, for the establishment of consensus as demanded by Anomie. 103.6.159.67 (talk) 14:12, 24 January 2017 (UTC)[reply]
Thanks for taking it there, 103.6.159.67. It looks like it's tending towards "support", if that keeps up I'll write the code once the discussion there is archived. I also see some good ideas in the comments, I had thought of the "only delete if there are no edits besides AnomieBOT" condition already but I hadn't thought of "... but ignore reverted vandalism" or "don't delete if the talk page exists". Anomie 03:21, 25 January 2017 (UTC)[reply]
@Xaosflux: No, {{Monthly clean-up category}} (actually {{Monthly clean-up category/core}}) automatically applies {{Db-g6}} if the category contains zero pages. Anomie 03:12, 25 January 2017 (UTC)[reply]
My experience shows this is safe to delete. They can even be recreated when needed (usually a delayed reversion in a page edit history). -- Magioladitis (talk) 23:09, 24 January 2017 (UTC)[reply]
The question isn't if they're safe to delete, that's obvious. The question is whether the admins who actually process these deletions think it's worth having a bot do it since there doesn't seem to be any backlog. Anomie 03:12, 25 January 2017 (UTC)[reply]
Category:Candidates for uncontroversial speedy deletion is almost always empty when I drop by it. — xaosflux Talk 03:39, 25 January 2017 (UTC)[reply]

The AN discussion is archived now, no one opposed. I put together a task to log any deletions such a bot would make at User:AnomieBOT III/DatedCategoryDeleter test‎, to see if it'll actually catch anything. If it logs actual deletions it might make I'll make a BRFA for actually doing them. Anomie 14:45, 31 January 2017 (UTC)[reply]

@Anomie: Is it useful to keep this section unarchived at this point, or can it be archived to make it easier for botops to find open tasks? ~ Rob13Talk 15:45, 3 March 2017 (UTC)[reply]
There's probably no real need to keep it unarchived. Anomie 17:02, 3 March 2017 (UTC)[reply]

Bot to remove old warnings from IP talk pages

There is consensus for removing old warnings from IP talk pages. See Wikipedia talk:Criteria for speedy deletion/Archive 9#IP talk pages and Wikipedia:Village pump (proposals)/Archive 110#Bot blank and template really, really, really old IP talk pages.. This task is being done using AWB by BD2412 for several years now. Until around 2007, it was also being done by Tawkerbot.

I suggest that a bot should be coded up to remove all sections from IP talk pages that are older than 2 years, and add the {{OW}} template to the page if it doesn't already exist (placed at the top of the page, but below any WHOIS/sharedip templates) There are many reasons why this should be done by a bot. (i) Bot edits marked as minor do not cause the IPs to get a "You have new messages" notification, when the IP talk page is edited. (ii) Blankings done using AWB also remove any WHOIS/sharedip templates, for which there is no consensus. (iii) This is a type of mundane task that should be done by bots. Human editors should not waste their time with this, rather spend it at tasks that require some human intelligence. 103.6.159.93 (talk) 14:41, 23 January 2017 (UTC)[reply]

Needs wider discussion. These are pretty old discussions to support this sort of mass blanking of talk pages. If I recall correctly, an admin deleted a bunch of IP user talk pages a while back and this proved controversial. This needs a modern village pump discussion. ~ Rob13Talk 20:21, 24 January 2017 (UTC)[reply]
Here is one such discussion that I initiated. I think that two years is a bit too soon. Five years is reasonable. When I do these blankings with AWB, I typically go back seven, just because it is easy to skip any page with a date of 2010 or later on hte page. I think some flexibility could be built in based on the circumstances. An IP address from which only one edit has ever been made, resulting in one comment or warning in response, is probably good for templating after no more than three years. I would add that I intentionally remove the WHOIS/sharedip templates, because, again, these are typically pages with nothing new happening in the past seven (and sometimes ten or eleven) years. We are not a permanent directory of IP addresses. bd2412 T 01:01, 25 January 2017 (UTC)[reply]
@BU Rob13: don't be silly. The is consensus for this since 2006. Tawkerbot did it till 2007 and BD2412 has been doing it for years, without anyone disputing the needs for doing it on his talk page. You correctly remember that MZMcBride used an unapproved bot to delete over 400,000 IP talk pages in 2010. That was obviously controversial since there is consensus only for blankings, not for deletions. Any new discussion on this will only result in repetition of arguements. The only thing that needs discussion is the approach. 103.6.159.84 (talk) 04:29, 25 January 2017 (UTC)[reply]
  • I am filling a BRFA as soon as this get consensus. --- Magioladitis (talk) 20:27, 24 January 2017 (UTC)[reply]
  • I wrote above "remove all sections from IP talk pages that are older than 2 years". I realise that this was misunderstood. What I meant was remove the sections in which the last comment is over 2 years old. This is more moderate proposal. Do you agree with this, BD2412? 103.6.159.84 (talk) 04:29, 25 January 2017 (UTC)[reply]
    I have two thoughts on that. First, I think that going after individual sections, as opposed to 'everything but the top templates' is a much harder task to program. I suppose it would rely on the last date in a signature in the section, or on reading the page history. Secondly, I think that there are an enormous number of pages to deal with that would have all sections removed even under that criteria, so we may as well start with the easy task of identifying those pages and clearing everything off of them. If we were to go to a section-by-section approach, I would agree with a two year window. bd2412 T 04:35, 25 January 2017 (UTC)[reply]
As mentioned, deletion should NOT be done (and is also not requested), deletion results in hiding tracks that may be of interest (either discussions on a talkpage of an IP used by an editor years ago that has relevance to edits to mainspace pages (every now and then there are edits with a summary 'per discussion on my talk'), and it hides that certain IPS that behaved bad were actually warned (company spamming in 2010, gets several warnings, sits still for 7 years, then someone else spams again - we might consider blacklisting with reasoning 'you were warned in 2010, and now you are at it again' - it may be a different person behind a different IP, and the current editor may not even be aware of the situation of 2 1/2 years ago, it is the same organisation that is responsible). If the talkpage 'exists', and we find the old IP that showed the behaviour, it is easy to find the warnings back; if it involves 15 IPs of which 2 were heavily warned, and those two pages now are also redlinks, we need someone with the admin bit to check deleted revisions on 15 talkpages - in other cases, anyone can do it.
Now, regarding blanking: what would be the arguments against archiving threads on talkpages where:
  1. the thread is more than X old (2 years?)
  2. the IP did not edit in the last Y days (1 year?)
We would just insert a custom-template in the header like {{IPtalkpage-autoarchive}} which is pointing to the automatically created archives and which provides a lot of explanation, and we have a specified bot that archives these pages as long as the conditions are met. Downside is only that it would preserve utter useless warnings (though, some editors reply to warnings and go in discussion, and are sometimes right, upon which the perceived vandalism is re-performed), upside is that it preserves also constructive private discussions.
(@BD2412: regarding your "I think that going after individual sections, as opposed to 'everything but the top templates' is a much harder task to program" - the former is exactly what our archiving bots do). --Dirk Beetstra T C 05:51, 25 January 2017 (UTC)[reply]
As far as I am aware, editors have previously opposed archiving of IP talk pages and so this would require wider discussion at an appropriate forum first. Regarding removal of warnings by section, I don't think there is any need to bother about the time the IP last edited -- the whole point of removing old warnings is to ensure that the current (or future) users of the IPs don't see messages that were intended for someone who used the IP years ago. Ideally, a person who visit their IPtalk should see only the messages intended for that person. 103.6.159.84 (talk) 06:19, 25 January 2017 (UTC)[reply]
That consensus could have changed - it may indeed need a wider community consensus. As I read the above thread, however, removal is not only restricted to warnings, it mentions remove the sections in which the last comment is over 2 years old, which also would include discussions. Now, archiving is not a must, one is allowed to simply delete old threads on ones 'own' talkpage.
Whether you archive, or delete - in both cases the effect is the same: the thread that is irrelevant to the current user of the IP is not on the talkpage itself anymore. And with highly fluxional IPs, or with IPs that are used by multiple editors at the same time it is completely impossible to address the 'right editor', you will address all of them. On the other hand, some IPs stay for years with the same physical editor, and the messages that are deleted will be relevant to the current user of the page, even if they did not edit for years. And that brings me to the point whether the editor has been editing in the last year (or whichever time period one choses) - if the IP is continuously editing there is a higher chance that the editor is the same, as when an IP has not been editing for a year (though in both cases, the IP can be static or not static, thwarting that analysis and making it needful to check on a case-by-case basis, which would preclude bot-use). --Dirk Beetstra T C 10:53, 25 January 2017 (UTC)[reply]
I favour archiving using the {{wan}} template rather than blanking. It alerts future editors that there have been previous warnings. If the IP belongs to an organisation, they might just possibly look at the old warnings and discover that the things they are about to do were done before and were considered bad. SpinningSpark 12:07, 25 January 2017 (UTC)[reply]
I think that archiving for old IP talk pages is very problematic. One of the main reasons I am interested in blanking these pages is to reduce link load - the amount of dross on a "What links here" page that obscures the links from that page to other namespaces, which is particularly annoying when a disambiguator is trying to see whether relevant namespaces (mainspace, templates, modules, files) are clear of links to a disambiguation page. All archiving does for IP talk pages is take a group of random conversations - link load and all - and disassociate them from their relevant edit history, which is what a person investigating the IP address is most likely to need. This is very different from archiving article talk pages or wikispace talk pages, where we may need to look back at the substance of old discussions. bd2412 T 14:08, 25 January 2017 (UTC)[reply]
Agree with that. I also don't think archiving of IP talk pages is useful. In any case, it needs to be discussed elsewhere (though IMO it's unlikely to get consensus). There is no point in bringing it up within this bot request. 103.6.159.89 (talk) 15:59, 25 January 2017 (UTC)[reply]
I see the point of that, but that is also the reason why some people want to see what links to a page - where the discussions were. The thread above is rather unspecific, and suggests to blank ALL discussions, not only warnings. And that are the things that are sometimes of interest, plain discussions regarding a subject, or even discussions following a warning. If the talkpage-discussions obscure your view, then you can choose to select incoming links per namespace.
@103.6.159.89: if there is no consensus to blank, but people are discussing whether it should be blanking or archiving or nothing, then there is no need for a discussion here - bots should simply not be doing this. I agree that the discussion about what should be done with it should be somewhere else. --Dirk Beetstra T C 03:29, 26 January 2017 (UTC)[reply]
You can not choose to select incoming links per namespace if you need to see multiple namespaces at once to figure out the source of a problem. For example, sometimes a link return appears on a page that can not actually be found on that page, but is transcluding from another namespace (a template, a portal, a module, under strange circumstances possibly even a category or file), and you need to look at all the namespaces at once to determine the connection. It would be nice if the interface would allow that, but that would be a different technical request. bd2412 T 17:06, 28 January 2017 (UTC)[reply]
I agree that that is a different technical request. But the way this request is now written (to remove all sections from IP talk pages that are older than 2 years) I am afraid that important information could be wiped. I know the problems with the Wikimedia Development team (regarding feature requests etc., I have my own frustrations about that), but alternatives should be implemented with extreme care. I would be fine with removal of warnings (but not if those warnings result in discussion), but not with any other discussions, and I would still implement timing restrictions (not having edited for x amount of time, etc.). --Dirk Beetstra T C 07:32, 29 January 2017 (UTC)[reply]
If there is a really useful discussion on an IP talk page that has otherwise gone untouched for half a decade or more, than that discussion should be moved to a more visible location. We shouldn't be keeping important matters on obscure pages, and given the hundreds of thousands of existing IP talk pages, there isn't much that can be more obscure than the random set of numbers designating one of those. (Yes, I know they are not really random numbers, but for purposes of finding a particular one, they may as well be). bd2412 T 17:02, 5 February 2017 (UTC)[reply]
@BD2412: and how are you going to see that (and what is the threshold of importance)? When you archive it is at least still there, with blanking any discussion is 'gone'. --Dirk Beetstra T C 03:54, 9 February 2017 (UTC)[reply]
Then people will learn not to leave important discussions on IP talk pages with no apparent activity after half a decade or more. bd2412 T 04:13, 9 February 2017 (UTC)[reply]
Your kidding, right? Are we here to collaboratively create an encyclopedia, or are we here to teach people a lesson? --Dirk Beetstra T C 05:49, 9 February 2017 (UTC)[reply]
We are not here to create a permanent collection of random IP talk page comments. bd2412 T 00:33, 14 February 2017 (UTC)[reply]
But these are not a (collection of) random IP talk page comment(s). --Dirk Beetstra T C 09:55, 7 March 2017 (UTC)[reply]
I agree. There is no benefit in hiding the warning history of IPs and making editors search through the history to find it. The most common case of IPs that collect masses of warnings is schools (and other public institutions) who have a fixed IP address. Schools all too frequently get to the stage where they get blocked for years. The old warnings are a good measure of how well the school controls misuse of IT. It is bad for the encyclopaedia if this past history is not visible. When the block expires and the vandalism starts up again, it is perfectly obvious that it is not going to stop and the IP can be blocked again quickly. This is less likely to happen if the warnings have been wiped. As I said earlier, it is preferable to archive them so a reviewing admin can immediately see that there is past behaviour to look at. Dynamic IPs, on the other hand, rarely collect more than one or two warnings before the IP changes so we are really looking at a mostly non-problem there. SpinningSpark 16:35, 7 March 2017 (UTC)[reply]

If the problem is link load (as according to BD2412), then a better solution is a bot to unlink pages in old posts rather than remove the posts altogether. SpinningSpark 16:38, 7 March 2017 (UTC)[reply]

I'm fine with a bot doing that unlinking as well. For more complex pages, that makes sense. For the tens of thousands of pages containing nothing but a single warning perhaps five years old or more, this permanent record is useless, and possibly detrimental if an innocent user comes to edit from that IP address years later. bd2412 T 03:45, 26 April 2017 (UTC)[reply]

WP:UAAHP

Hi, is it possible for a bot, such as DeltaQuadBot, to remove stale reports at the UAA holding pen (those blocked and those with no action in seven days), like it does with blocked users and declined reports at WP:UAAB? If this is not possible I would be happy to create my own bot account and have it do this task instead. Thanks! Linguisttalk|contribs 22:23, 28 January 2017 (UTC)[reply]

You should ask DeltaQuad if she would consider adding it to her bot. Also, is this something that the UAA admins want? — JJMC89(T·C) 22:39, 28 January 2017 (UTC)[reply]
I haven't asked the UAA regulars but I'm sure this would be helpful. In fact, I'm almost the only one who cleans up the HP and it would be helpful to me. Linguisttalk|contribs 22:41, 28 January 2017 (UTC)[reply]
This would certainly be helpful if it could remove any report that is more than seven days old, where the account has not edited at all. This is the bulk of what gets put in the holding pen, so keeping it up to date would be quite simple if these type of reports were removed automatically. Beeblebrox (talk) 22:10, 19 February 2017 (UTC)[reply]

One-off bot to ease archiving at WP:RESTRICT

This isn't urgent, or even 100% sure to be needed, but it looks likely based on this discussion that we will be moving listings at WP:RESTRICT to an archive page if the user in question has been inactive for two years or more. Some of the restrictions involve more than one user and would require a human to review them, but it would be awesome if a bot could determine that if a user listed there singly had not edited at all in two or more years it could automatically transfer their listing to the archive. There are aloso some older restrictions that involved a whole list of users (I don't think arbcom does that anymore), and in several of those cases all of the users are either blocked or otherwise totally inactive. This would only be needed once, just to reduce the workload to get the archive started. (the list is extremely long, which is why this was proposed to begin with) Is there a bot that could manage this? Beeblebrox (talk) 18:46, 4 February 2017 (UTC)[reply]

Ongoing would be better, and even bringing back "resurrected" users might be helpful too. All the best: Rich Farmbrough, 01:01, 5 February 2017 (UTC).[reply]
 Doing... All the best: Rich Farmbrough, 23:25, 13 February 2017 (UTC).[reply]
Awesome, the discussion was archived without a formal close, but consnesus to do this is pretty clear. Beeblebrox (talk) 20:57, 15 February 2017 (UTC)[reply]
I don't mean to be a pest, and as always I note I know nothing about bot operations, but I am wondering if this is still happening at some point? Beeblebrox (talk) 06:28, 1 March 2017 (UTC)[reply]

Requesting bot for wikisource

I'm not sure exactly what to say here, at least in part because I'm not sure exactly what functions we are necessarily seeking a bot to do. But there is currently a discussion at wikisource:Wikisource:Scriptorium#Possible bot about trying to get some sort of bot which would be able to generate an output page roughly similar to Wikipedia:WikiProject Christianity#Popular pages and similar for the portals, author, and categories over there at wikisource. I as an individual am not among the most knowledgeable editors there. On that basis, I think it might be useful to get input from some of the more experienced editors there regarding any major issues which might occur to either a bot developer or them but not me. Perhaps the best way to do this would be to respond at the first linked to section above and for the developer to announce himself, perhaps in a separate subsection of the linked to thread there, to iron out any difficulties. John Carter (talk) 14:31, 6 February 2017 (UTC)[reply]

How about a bot to update (broken) sectional redirects?

When a section heading is changed, it breaks all redirects targeting that heading. Those redirects then incorrectly lead to the top of the page rather than to the appropriate section.

Is this desirable and feasible? If so, how would such a script work? The Transhumanist 22:14, 6 February 2017 (UTC)[reply]

This may turn out to be a WP:CONTEXTBOT. How often do people delete the section entirely, or split the section into two (then which should the bot pick?), or revise the section such that the redirect doesn't really apply anymore? Can the bot correctly differentiate these cases from cases where it can know what section to change the target to?
Such a script would presumably work by watching RecentChanges for edits that change a section heading, and then would check all redirects to the article to see if they targeted that section. It would probably want to delay before actually making the update in case the edit gets reverted or further edited. Anomie 22:29, 6 February 2017 (UTC)[reply]

Script works intermittently

Hi guys, I'm stuck.

I forked the redlink remover script above, with an eye toward possibly developing a bot from it in the future, after I get it to do what I need on pages one-at-a-time. But first I need to get it to run. Sometimes it works and sometimes it doesn't (mostly doesn't).

For example, the original worked on Chrome for AlexTheWhovian but not for me. But later, it started working for no apparent reason. I also had the fork I made (from an earlier version) working on two machines with Firefox. But I turned one off for the night. And in the morning, it worked on one machine and not the other.

The script I'm trying to get to work is User:The Transhumanist/OLUtils.js.

I'm thinking the culprit is a missing resource module or something.

Is there an easy way to track down what resources the script needs in order to work? Keep in mind I'm a newb. The Transhumanist 01:41, 11 February 2017 (UTC)[reply]

After some trial and error, I learned the following: in Firefox, if I run the Feb 28 2016 version of User:AlexTheWhovian/script-redlinks.js and if I use it to strip redlinks from a page (I didn't save the page), then I can load the 15:05, December 26, 2016 version and it works.

Does anyone have any idea why using one script (not just loading it) will cause another script to work? I'm really confused. The Transhumanist 05:33, 11 February 2017 (UTC)[reply]

Maybe one has dependencies that it doesn't load itself, instead relying on other scripts to load them. --Redrose64 🌹 (talk) 21:55, 11 February 2017 (UTC)[reply]
The author said it was stand alone. (They are both versions of the same script). I now have them both loaded, so I can more easily use the first one (User:The Transhumanist/redlinks Feb2016.js) to enable the other (User:The Transhumanist/OLUtils.js). Even the original author doesn't know why it isn't working.
What's the next step in solving this? The Transhumanist 06:46, 12 February 2017 (UTC)[reply]
You've changer the outer part: that's what I would suspect, maybe not loading the mw library properly. Possibly the best way is to make the changes step-by-step, with a browser restart between. (Or better still binary chop.) All the best: Rich Farmbrough, 22:32, 13 February 2017 (UTC).[reply]
@Rich Farmbrough: Fixed it. Wasn't easy. And it was strange. It required another script to be loaded just to work -- turned out they shared a localStorage slot name. Translated the lingo line by line, and discovered it was working weird because of a function invocation being placed out of context, at the start of the script. There was also a function invocation missing from a conditional in the body of the script. The script now runs stand-alone (without the crutch of the other version being run). What a headache that was. The Transhumanist 03:31, 11 March 2017 (UTC)[reply]
@The Transhumanist: Good work! All the best: Rich Farmbrough, 14:35, 11 March 2017 (UTC).[reply]

Creating a list of red-linked entries at Recent deaths

I request a bot to create and maintain a list consisting of red-linked entries grabbed from the Deaths in 2017 page, as and when they get added there. These entries, as you may know, are removed from the "Deaths in ... " pages if an article about the subject isn't created in a month's time. It would be useful to maintain a list comprising of just the red entries (from which they are not removed on any periodic basis) for editors to go through. This would increase the chances of new articles being created. Preferably at Wikipedia:WikiProject Biography/Recent deaths red list, or in the bot's userspace to begin with. (In the latter case, the bot wouldn't need any BRFA approval.) 103.6.159.71 (talk) 12:54, 15 February 2017 (UTC)[reply]

Check book references for self-published titles

This is in response to this thread at VPT. So here's the problem. We have a list of vanity publishers whose works should be used with extreme caution, or never (some of these publishers exclusively publish bound collections of Wikipedia articles). But actually checking if a reference added to Wikipedia is on this list is time consuming. However, it occurs to me that in some cases it should be simple to automate. At any Amazon webpage for a book, there is a line for the publisher, marked "publisher". On any GoogleBooks webpage, there is a similar line to be found in the metadata hiding in the page source. If an ISBN is provided in the reference, it can be searched on WorldCat to identify the publisher.

So it seems to me like a bot should be able to do the following:

1) Watch recent changes for anything that looks like a link or reference to a book, such as a "cite book" template, a number that looks like an ISBN, or a link to a website like Amazon or GoogleBooks
2) Follow the link (if to Amazon or GoogleBooks), or search the ISBN (if provided), to identify the publisher
3) Check the publisher against the list of vanity publishers
4) Any positive hits could then be automatically reported somewhere on Wikipedia. There could even be blacklisted publishers (such as those paper mirrors of Wikipedia I mentioned) that the bot could automatically revert, after we're sure there are few/no false positives

What do people think? Doable? Someguy1221 (talk) 00:13, 16 February 2017 (UTC)[reply]

Linkfix: www.www. to www.

Resolved

We have 87 links in the form www.www.foo.bar which should really be www.foo.bar - the form www.www. is normally a fault. A simple link checker with text replacement would help.--Oneiros (talk) 13:49, 16 February 2017 (UTC)[reply]

OK - I will have a look into this. TheMagikCow (talk) 17:19, 16 February 2017 (UTC)[reply]
BRFA filed TheMagikCow (talk) 10:33, 18 February 2017 (UTC)[reply]

Could someone have one of their bots update this page frequently? A bot once updated it, but stopped in 2014. MCMLXXXIX 16:59, 16 February 2017 (UTC)[reply]

Hi 1989. We have Special:LongPages. Is that insufficient? --MZMcBride (talk) 05:30, 17 February 2017 (UTC)[reply]
Yes. The list only shows articles while the page I referenced has talk pages. MCMLXXXIX 09:21, 17 February 2017 (UTC)[reply]
I have popped up a page on tool labs that lists the fifty longest talk pages that are not user talk page or sub-pages. Hope this helps. - TB (talk) 12:35, 17 February 2017 (UTC)[reply]

Bot to update Alexa ranks

OKBot apparently used to do this, but blew up in April 2014 and has never been reactivated. It would be quite handy as there's a lot of articles that contain Alexa ranks and they do change frequently. Triptothecottage (talk) 05:35, 18 February 2017 (UTC)[reply]

@Triptothecottage: I've made a bot request on Wikidata (here), because it seems an easier solution to put the data there so it can be used on other projects as well. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
10:06, 15 April 2017 (UTC)[reply]
@Jc86035: Nice! Thanks! Triptothecottage (talk) 10:26, 15 April 2017 (UTC)[reply]

WP 1.0 bot

Hi, there is a problem with WP 1.0 bot that produces the various project assessment tables and logs of changes to article assessment. The bot has not been working since early February and both of the stated maintainers are no longer active. We need some one to get the bot operating again and possibly a couple of people who could take over the maintenance of the bot. Any offers? Keith D (talk) 23:51, 19 February 2017 (UTC)[reply]

@Keith D: Oh no ... that's a bit of a mess. Have you tried reaching out to the maintainers via email? In the absence of a handing over of existing code, a bot operator would need to start from scratch. Someone could definitely do it (not me ... but someone), but it would take longer. ~ Rob13Talk 00:13, 20 February 2017 (UTC)[reply]
Thanks, sorry for not putting brain in gear I had forgotten about e-mail. Keith D (talk) 13:08, 20 February 2017 (UTC)[reply]
@Keith D and BU Rob13: There is a formal procedure for adding maintainers/taking over an abandoned project: Tool Labs Abandoned tool policy. --Bamyers99 (talk) 14:47, 20 February 2017 (UTC)[reply]
Is there any update on this? The bot is still not running properly, although it does run if you start it manually. I understand that Theo has been contacted. Is there anyone with the skill to maintain this bot, which is quite critical for many WikiProjects. Thanks, Walkerma (talk) 15:39, 22 March 2017 (UTC)[reply]
Most of what it used to do can be done automatically by having a full set of WikiProject categories. Whether it has advanced since then I don't know.
All the best: Rich Farmbrough, 20:43, 24 April 2017 (UTC).[reply]

Request for bot to remove any wikilink at a page that redirects back to the same page or section

I request a bot to remove any wikilink at a page that redirects back to the same page or section. Thanks.Anythingyouwant (talk) 03:08, 22 February 2017 (UTC)[reply]

It isn't clear to me exactly what is being asked for. If a link points to a redirect that points to a different section in the original article, the link should not be removed. If anything, it should be replaced with a section link, see Wikipedia:Manual of Style/Linking#Section links (second paragraph). Anyway, in all cases care is needed for redirects that have recently been created from existing articles. Sometimes such redirects are controversial and will be reverted. Thincat (talk) 08:55, 22 February 2017 (UTC)[reply]
I said the same section, not a different section. Here is an example of what the bot would do. In that example, the redirect has existed for years (since 2013).Anythingyouwant (talk) 17:22, 22 February 2017 (UTC)[reply]

This is already part of CHECKWIKI. I can do them semi-automatically. -- Magioladitis (talk) 17:51, 22 February 2017 (UTC)[reply]

Magioladitis@ This is not a good idea. Redirects with possibilities. All the best: Rich Farmbrough, 21:16, 24 April 2017 (UTC).[reply]
True. I only fix those which the target actually matches the page title. -- Magioladitis (talk) 22:38, 24 April 2017 (UTC)[reply]

Replace br tags with plainlists in Infobox television

I would like a bot to replace br tags with plainlists in Infobox television. -- Magioladitis (talk) 10:31, 26 February 2017 (UTC)[reply]

Please provide a few diffs to give an idea of which parameters, etc. we're talking about. ~ Rob13Talk 11:21, 27 February 2017 (UTC)[reply]

Reformation

Protestant Reformation was moved to Reformation. I'd like a bot to replace the many piped links [[Protestant Reformation|Reformation]] by the simple link. --Gerda Arendt (talk) 10:14, 27 February 2017 (UTC)[reply]

Needs wider discussion. @Gerda Arendt: That's probably more trouble than it's worth. Such an edit would be a purely cosmetic fix to the wiki markup, which violates WP:COSMETICBOT. You could seek consensus that this is a useful bot task at a broad community venue, but I doubt that would be easy to build. The piped links don't hurt anything, so probably not worth your time. ~ Rob13Talk 11:25, 27 February 2017 (UTC)[reply]
If it's not easy - looked easy enough to me - I will just do the "cosmetics" myself. --Gerda Arendt (talk) 11:32, 27 February 2017 (UTC)[reply]
@Gerda Arendt: It's technically trivial, but there would need to be strong consensus for overriding COSMETICBOT in this instance. That would have to come at a venue like WP:VPT or something similar, probably. ~ Rob13Talk 11:41, 27 February 2017 (UTC)[reply]
As I said before: If it's not easy (which includes easy to achieve) I will do the cosmetics myself ;) --Gerda Arendt (talk) 11:45, 27 February 2017 (UTC)[reply]

Gerda Arendt It's not cosmetic to actually point to the correct article. -- Magioladitis (talk) 12:06, 27 February 2017 (UTC)[reply]

I did it for the four templates on the page, but agree that there, it didn't even fall under pipe linking. --Gerda Arendt (talk) 12:10, 27 February 2017 (UTC)[reply]
Piece of cake. -- Magioladitis (talk) 12:18, 27 February 2017 (UTC)[reply]

This may not be WP:COSMETICBOT, but it certainly is WP:NOTBROKEN. Headbomb {talk / contribs / physics / books} 12:27, 27 February 2017 (UTC)[reply]

It's misleading to pipe to a redirect when the correct term is shown on the text. Moreover, it only had to change 4 templates. -- Magioladitis (talk) 12:34, 27 February 2017 (UTC)[reply]
How does that mislead? How does bypassing a redirect change the visual output of the page (or anything else, for that matter). ~ Rob13Talk 12:35, 27 February 2017 (UTC)[reply]

Headbomb, see what happens when the mouses hovers over the link. Thanks for claryfying that Rob's argument was wrong. -- Magioladitis (talk) 12:37, 27 February 2017 (UTC)[reply]

Do you mean this link: Reformation? What the mouse hovering reveals is that we are complicated, but perhaps that needs to be shown a few more times. - Of course the visual appearance is the same, but why go via a redirect? In articles I write, I will not do that. --Gerda Arendt (talk) 12:46, 27 February 2017 (UTC)[reply]

Gerda Arendt did not ask for [[Protestant Reformation]] to change but only for [[Protestant Reformation|Reformation]]. -- Magioladitis (talk) 12:38, 27 February 2017 (UTC)[reply]

This is textbook WP:NOTBROKEN. I don't see what's so hard to understand about it. Headbomb {talk / contribs / physics / books} 12:40, 27 February 2017 (UTC)[reply]

NOTBROKEN reads: It is almost never helpful to replace [[redirect]] with [[target|redirect]]. It does not say about [[redirect|target]] with [[target]] because this would allow people to redirect to mispellings, invalid redirects, etc. The first case shows correct when the mouse hovers over the link, the second is misleading. -- Magioladitis (talk) 12:43, 27 February 2017 (UTC)[reply]

Related(?) comment: I try to imagine how would my neighbors would react to a link like [[FYROM|Republic of Macedonia]] this one. Hehe. -- Magioladitis (talk) 12:55, 27 February 2017 (UTC)[reply]

  • Whether or not changing all instances of [[Protestant Reformation|Reformation]] to [[Reformation]] by bot is WP:COSMETICBOT is subject to WP:CONSENSUS. I think Rob was right to point out that such consensus needs to established before a bot can proceed with operating such task. Thus far the discussion here shows no consensus either way. If my opinion were asked I'd side with those who adopt the COSMETICBOT approach.
  • Regarding the applicability of WP:NOTBROKEN it is true that the case is not explicitly mentioned in that guidance. Nonetheless I think the fact that "Protestant Reformation" shows up on mouseover is generally an advantage. Not all readers would in all contexts see the connection to the Protestantism-related topic when seeing Reformation in an article: the mouseover clarifies that even without clicking the bluelink. So "don't fix what isn't broken" applies as a general principle I think (whether or not the specific case is literally explained in the NOTBROKEN guidance). --Francis Schonken (talk) 13:19, 27 February 2017 (UTC)[reply]
    • My disagreement is on the pipe. If we agree that the correct place to link is the "Protestant Reformation" then the correct link in the page should be [[Protestant Reformation]] (Independent for the fact that this is a redirect). My example is to show that. In Greek articles I would use FYROM per the Manual of Style and I would avoid the use of RoM in all cases. This is not dependet from the fact that the English Wikipedia uses RoM as the page title.-- Magioladitis (talk) 13:31, 27 February 2017 (UTC)[reply]
      • IMHO your argumentation is misleading. There's nothing "misleading" in [[Protestant Reformation|Reformation]] (whether with or without mouseover). The [[FYROM|Republic of Macedonia]] example is of no relevance: we're not discussing it, we're discussing changing all instances of [[Protestant Reformation|Reformation]] to [[Reformation]] by bot. If people need to understand the intricacies regarding FYROM / Republic of Macedonia before they can understand what's going on regarding (Protestant) Reformation I think that strengthens what I was trying to say above: not all people would upon reading "Reformation" automatically understand that in Wikipedia context this usually means "Protestant Reformation", in which case what shows up on mouseover is helpful. --Francis Schonken (talk) 13:45, 27 February 2017 (UTC)[reply]
        • OK. Thanks, Magioladitis (talk) 13:50, 27 February 2017 (UTC)[reply]
        • (ec) My mouseover shows "The Reformation (from Latin reformatio, "restoration, renewal"), also referred to as the Protestant Reformation ..." bold enough even without repetition by a redirect name. --Gerda Arendt (talk) 13:54, 27 February 2017 (UTC)[reply]

Autoassess drafts

As a follow-up to the task to autoassess redirects, I would like to propose the similar autoassessment of drafts in draftspace. That is, drafts in draftspace tagged with WikiProjects as "stubs" or "C"-class having those parameters commented out so that the template can automatically and correctly autoassess the draft as draft-class. @Enterprisey czar 05:12, 1 March 2017 (UTC)[reply]

@Enterprisey: Could you handle this? Seems like a very easy extension of your existing task. Just comment out the code determining what is a redirect and instead pull a list of all pages in the draft namespace. ~ Rob13Talk 05:15, 1 March 2017 (UTC)[reply]
As an observation, not all WikiProject banners recognise Draft-class - all those with the vanilla "standard" scale do not (for example, {{WikiProject Beauty Pageants}}, {{WikiProject Community}}), and some of those with custom scales do not do so either (for example, {{WikiProject The Simpsons}}), {{WikiProject South Park}}). In such cases, if |class= is blank or absent, pages in draft space are automatically set to NA-class; this also happens when explicitly set to |class=draft. --Redrose64 🌹 (talk) 11:02, 1 March 2017 (UTC)[reply]
Sounds like a pretty good idea. I don't know, however, whether there currently are enough drafts with project banners that call them stubs or C-class articles to justify such a task (while reviewing, I certainly don't see many drafts with talk pages, let alone talk pages with banners), but hey, if people think it's useful, I can implement it. Bit busy IRL, so ping me here again for further responses. Enterprisey (talk!) 21:09, 1 March 2017 (UTC)[reply]
Re: projects that don't classify drafts/redirects, the way I see it, it's better to have a bot correctly tag the article as NA than to leave it with the wrong classification. Either way, someone from the project needs to evaluate whether the project banner still belongs on that talk page—the only difference then is whether the classification should stay NA or incorrectly stub/start/etc. czar 01:40, 7 March 2017 (UTC)[reply]
A bot shouldn't need to tag it NA explicitly (it's hard to think of any situation where |class=na is useful). If all the bot does is to blank out the value of the |class= parameter, the code within the subtemplates of {{WPBannerMeta}} (around which most WikiProject banners are built) will autodetect whether the page in subjectspace is a redirect, also which namespace the page is in, and pass a suitable value to the code specific to that WikiProject, which will then automatically set Redirect-Class, Draft-Class, or NA-Class as appropriate. If a WikiProject which didn't recognise Draft-Class later has its project banner amended so that drafts are recognised, there will be no need to send the bot around again.
When the article is moved to mainspace, hopefully its talk page will be moved too, and if |class= is still not set, then the page will automatically change from Draft-Class or NA-Class to Unassessed. --Redrose64 🌹 (talk) 09:40, 7 March 2017 (UTC)[reply]

Fix broken links to NTSB.gov accident briefs

All,

I found a broken link to an NTSB.gov accident brief on the White spirit page. When fixing it, I noticed that the new URL is not too different from the old one, such that it could probably be fixed by a bot. I don't know how to check to see how many URLs of this form are on Wikipedia, though.

The old URL format was: http://www.ntsb.gov/aviationquery/brief2.aspx?ev_id=20020916X01610&ntsbno=NYC02LA181&akey=1

The new URL format is: http://www.ntsb.gov/_layouts/ntsb.aviation/brief2.aspx?ev_id=20020916X01610&ntsbno=NYC02LA181&akey=1

The only difference is changing "aviationquery" to "_layouts/ntsb.aviation".

Thanks! — Preceding unsigned comment added by 174.58.153.20 (talk) 09:58, 3 March 2017 (UTC)[reply]

Only five such links existed in articles, so I fixed them manually. I was able to tell by looking at Special:LinkSearch/ntsb.gov/aviationquery/, if you're curious. Someguy1221 (talk) 10:04, 3 March 2017 (UTC)[reply]
Thanks! And now I know about that search, too. 174.58.153.20 (talk) 21:55, 9 March 2017 (UTC)[reply]

RfD maintenance bot

There are several aspects to a redirect's history that admins need to check before closing a discussion as "delete" (WP:RFD#HARMFUL). A maintenance bot could speed up processing by noting (within the discussion) whether the redirect has a significant edit history (by count or bytes added) or previous moves from that page, etc. I'm thinking of something in line with the AIV clerking bot or the clerking bot that once worked the renames page, for instance. Previously discussed at Wikipedia talk:Redirects for discussion#Maintenance bot. czar 01:32, 7 March 2017 (UTC)[reply]

Replacement of the same PNG->SVG in multiple articles

Disclosure: I have asked the question at Wikipedia:AutoWikiBrowser/Tasks#Replacement of the same PNG->SVG in multiple articles before, but not gotten an answer. Ihave asked the question at Wikipedia:Reference desk/Computing#Replacement of the same PNG->SVG in multiple articles and have been referred here.

Dear Botmasters. I create SVG replacements for PNG images, as requested in Commons:Top 200 logo images that should use vector graphics. Of course I start with those most valuable, as judged by number of wikipedia articles that use them. Once I have uploaded the SVG to Commons and tagged it as being an svg replacement for the png in question, the wikitext in those articles still needs to be updated. Is there a way to automate or semi-automate the replacement of these image in the articles' wikitext? The images I deal with are very common logos, used in 100s of articles spread over multiple wikipedias, in the case of icons sometimes several 1000s of articles. Doing this by hand is insane. Can you please help me? Thank you very much. — Preceding unsigned comment added by Lommes (talkcontribs) 20:13, 9 March 2017 (UTC)[reply]

See c:Commons:GlobalReplace. --Edgars2007 (talk/contribs) 07:44, 16 March 2017 (UTC)[reply]

CSD/AfD/PROD template mover

So recently I have been deleting articles and stumbled upon people who weren't placing deletion templates in the top of the page. I believe, that a bot could handle such template moves. I would like to develop a bot myself, but I need some guidance from more experienced editors. I am really looking forward to the development of such a bot, because those template moves are very tedious to do. Cheers, FriyMan talk 11:01, 10 March 2017 (UTC)[reply]

Featured article candidate statistics

Since early last summer I've been manually collecting information about the featured article candidates process. I've been using this information to post statistical data, including

  • monthly summaries of who has done the most reviewing at FAC (example)
  • notes at FAC discussing the statistics (example)
  • raw data, in a form that could be cut and pasted into a spreadsheet (example)
  • summarized and massaged forms of the data (example)

A couple of weeks ago I proposed at WT:FAC that a bot should place a count of some reviewing and nominating statistics against nominators' names at FAC, as is done at WP:GAN. That would require the data to be accessible to a bot. There's no consensus to do this yet; the discussion is ongoing and an RfC is probably going to be required eventually to decide the question. Even if it's not done in exactly that form, most of the alternatives discussed there would also require a bot.

In addition, the data may be of interest to others, and it's not queryable at the moment. For example, the data (in combination with some other bot-accessible data) would allow one to answer these questions:

  • How many reviews does it take on average to promote a featured article?
  • What's the correlation between editor experience/edit count and chances of getting an article promoted?
  • How much does it help to have previously successfully nominated a featured article?
  • Does peer review help promote an article? How about A-class?
  • Which are the most prolific reviewers?
  • Are any reviewers strongly correlated with successful promotion of the articles they review?
  • What's the count of nominations and reviews for a given editor?

No doubt there are dozens of other questions that could be asked.

I don't know if this is exactly a bot request, but here's what I would like to ask for. I would like some way to make the data I harvest from FAC accessible to any editor to run this sort of query. This is probably initially a toolserver page or something like that. I suppose it could be done with a bot that watches a request page, but a toolserver page seems more natural to me. I have the data in mysql tables at the moment, and can run some of the above queries myself, but some of them require integrating with other data such as edit count, or WP:WBFAN. If someone can write such a tool, I can provide the data in whatever format is needed, and would do so on an ongoing basis. Is anyone interested in working on such a thing? Or is there a better page (maybe WP:VPT) to post this? Mike Christie (talk - contribs - library) 23:43, 15 March 2017 (UTC)[reply]

Is there a bot that can add a category to articles in a list of links but leave the red links untouched?

I have a long mixed list of articles and red links. Is there a bot that can add a category to each of the articles in the list but leave the red links untouched? Abyssal (talk) 14:36, 16 March 2017 (UTC)[reply]

@Abyssal: Technically, that's very easy. What's the list and category? ~ Rob13Talk 15:41, 16 March 2017 (UTC)[reply]
@BU Rob13: Thanks for the quick reply. The category is Category:Paleozoic southern paleotemperate deposits and the list follows: (snip) — Preceding unsigned comment added by Abyssal (talkcontribs) 15:49, 16 March 2017 (UTC)[reply]
List available here. Please don't drop large lists on this page. — JJMC89(T·C) 16:26, 16 March 2017 (UTC)[reply]
Sorry, I figured we'd just delete when we were done so that it would only be there for a bit. Abyssal (talk) 17:10, 16 March 2017 (UTC)[reply]
Abyssal@ I can do this - presumably skipping members of
* Cambrian southern paleotemperate deposits‎
* Carboniferous southern paleotemperate deposits‎
* Devonian southern paleotemperate deposits‎
* Ordovician southern paleotemperate deposits‎
* Silurian southern paleotemperate deposits‎
All the best: Rich Farmbrough, 16:59, 20 April 2017 (UTC).[reply]
  •  Done San Juan Formation is now a dab page. 127 other blue-links were not already categorised into one of the above cats. All the best: Rich Farmbrough, 17:29, 20 April 2017 (UTC).[reply]

Bots needed to replace magic links

Per this RFC closure, "magic links" that are going away should be replaced by their corresponding templates. Is there anyone here who would be willing do these replacements with a bot? It may be best to start a separate BRFA for conversion ISBN, RFC, and PMID (three tasks), with an option to merge them into a single task in order to keep watchlist noise to a minimum.

The relevant tracking categories are Category:Pages using ISBN magic links‎, Category:Pages using PMID magic links‎, and Category:Pages using RFC magic links‎. The prospective bot operator may want to dig up the actual string test that determines whether a magic link is currently applied so that only the existing magic links are converted to templates. There are roughly 380,000 pages affected. – Jonesey95 (talk) 03:43, 20 March 2017 (UTC)[reply]

Wikipedia:Bots/Requests for approval/Yobot 27. --Edgars2007 (talk/contribs) 07:49, 20 March 2017 (UTC)[reply]
That closure predates the RFC. A new BRFA would presumably be approved. Headbomb {talk / contribs / physics / books} 09:55, 20 March 2017 (UTC)[reply]
BRFA filed. Primefac (talk) 14:14, 24 March 2017 (UTC)[reply]

I resubmitted my BRFA. -- Magioladitis (talk) 22:08, 16 April 2017 (UTC)[reply]

Alexa rankings

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Whoops, didn't notice there was already a section on this. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
04:12, 28 March 2017 (UTC)[reply]

Would it be possible to have a bot periodically update Alexa rankings? I think User:OKBot used to do this but it got blocked due to a malfunction and never got fixed. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
05:02, 22 March 2017 (UTC)[reply]

See also #Bot to update Alexa ranks. --Edgars2007 (talk/contribs) 04:00, 26 March 2017 (UTC)[reply]

The above discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.

File PROD bot

Following the consensus at WT:PROD, PROD is being extended to files. The agreement is also that {{Deletable image-caption}} is to be placed by a bot on pages that use the file. The template should also be removed by the bot when the file is deleted or de-PROD'ed. This is essentially a revival of Sambot 11 with different categories. — Train2104 (t • c) 17:11, 24 March 2017 (UTC)[reply]

{{BOTREQ|doing}} Sounds like this might be fun to implement. I'm at WMCON in Berlin this week so coding time is limited, but I'll go ahead and "claim" this task. I've got Twinkle stuff to work on too in relation to the new file PROD process MusikAnimal talk 14:49, 27 March 2017 (UTC)[reply]
{{BOTREQ|coding}} MusikAnimal talk 13:16, 4 April 2017 (UTC)[reply]
@Train2104: I regret to say I'm going to have to back out of this. I will admit I claimed this without giving enough thought into the implementation, and for that I apologize. For me, this is an extremely challenging bot task, and unfortunately to do this right it would require more time than I have to offer. It really doesn't help that the syntax to add images is quite variable and in many ways unpredictable, as opposed to templates which have a more consistent structure. There are some Python libraries and frameworks out there to help with this, such as the MediaWiki Parser from Hell, and even AWB, so bot operators who work with these technologies may be able to do this bot task much easier than I can. Sorry to have misled you! I got somewhat far with my approach to parsing the image syntax, so if another botop needs a few pointers feel free to ping me. Best MusikAnimal talk 20:07, 8 April 2017 (UTC)[reply]

Create a bot for formatting periods of time

We have thousands of navboxes violating WP:MoS, for example with - instead of – between years in timespans, or with spaced ndashes or mdashses instead of nonspaced ndashes between two years. --ExperiencedArticleFixer (talk) 18:15, 24 March 2017 (UTC)[reply]

WP:COSMETICBOT which small horizontal line is used and if it is perfectly formatted is not in any way a crucial or even important issue. Beeblebrox (talk) 19:44, 24 March 2017 (UTC)[reply]
That something is 'crucial' or not is besides the point. Replacing - with – (and similar changes) in navboxes when appropriate is a fine task for a bot, assuming it can avoid the improper dashing things that should not be dashed. Headbomb {talk / contribs / physics / books} 19:56, 24 March 2017 (UTC)[reply]
I agree that if we wanted to make sure we were absolutely consistent in which small horizontal line we used and how they were spaced, that is a perfect task for a bot. I just don't see it as being worth the effort to program and execute a task that makes a tiny visual difference that 99.99% of our readers won't notice and wouldn't care about if they did. Beeblebrox (talk) 20:13, 24 March 2017 (UTC)[reply]
Well, it is worse if a human has to do it! I personally have corrected thousands manually... So, you guys admit it is a perfect task for a bot, I'm proposing it. --ExperiencedArticleFixer (talk) 23:06, 24 March 2017 (UTC)[reply]
There's no "you guys" just me, and I'm not actually a bot operator. That being said; you say it's worse if a human has to do it, and I would argue that nobody has to do it and the encyclopedia suffers no harm of any kind from having the "wrong" small horizontal line somewhere. Bots are here to help improve Wikipedia and defend it from those who try to harm it, not to enforce slavish obedience to obscure punctuation rules made by the few persons who acually think it makes a difference whether we use a hyphen or a dash. Beeblebrox (talk) 22:10, 30 March 2017 (UTC)[reply]
The task is perfect for a bot, and "who cares" isn't a valid objection. If someone wants to code a bot for this, it'll be approved if is meets technical requirements. Headbomb {t · c · p · b} 16:49, 6 April 2017 (UTC)[reply]

Speedy AFC decline bot

A few of us on IRC were chatting about drafts and how much of a pain it can be if someone resubmits a draft without actually changing anything. Could we get a bot that scans through the 0 days ago cat and auto-declines drafts that were resubmitted without any changes? The bot would check to see if the edit immediately preceding a submission was a draft decline (Example). Primefac (talk) 00:45, 26 March 2017 (UTC)[reply]

Doing... ProgrammingGeek talktome 21:10, 9 April 2017 (UTC)[reply]
@Primefac: An AfC reviewer gets a review wrong. What happens then? ~ Rob13Talk 21:47, 9 April 2017 (UTC)[reply]
Funny how four AFC reviewers can be chatting about it and miss the bleeding obvious. You make a very good and completely valid point. Thanks Rob. Primefac (talk) 23:31, 9 April 2017 (UTC)[reply]
Pinging ProgrammingGeek. Hopefully this saves you some work. Primefac (talk) 02:36, 10 April 2017 (UTC)[reply]
Thanks Primefac. To be honest I hadn't started yet. ProgrammingGeek talktome 12:00, 10 April 2017 (UTC)[reply]
@Primefac and ProgrammingGeek: .. I guess this still is a question of how often do you re-decline an unchanged resubmitted AFC vs. one that gets approved after an unchanged resubmittal? I mean, I guess that reviewers get it wrong every now and then, but that is then easier solved by the bot refusing to edit-war (do not auto-decline to 'self'). --Dirk Beetstra T C 12:12, 10 April 2017 (UTC)[reply]
If you are going for a bot like this, I would suggest the decline template says something like "If you believe the reasons this draft was declined are incorrect, please follow the instructions at X, explaining why. If you resubmit the draft without making any changes it may be speedily rejected by a bot without further human review." (note I am not proposing this exact wording be used). Thryduulf (talk) 16:24, 10 April 2017 (UTC)[reply]

Bot to "manually" categorize articles that are currently auto-categored by an infobox

If the year of start is defined (for example, "2014"), Template:Infobox Asian comic series currently automatically categorizes all the articles it or its child templates (like Template:Infobox manhwa) are used in as Category:2014 comics debuts. I want to override this automatic categorization, so I asked about it on its talk page, which started this short discussion. I was told to request a bot which "manually" categorizes the articles that use these infoboxes, before the feature will be deleted, which is why I'm here. ~Mable (chat) 12:38, 26 March 2017 (UTC)[reply]

 Doing... ~ Rob13Talk 20:11, 30 March 2017 (UTC)[reply]
@Maplestrip: To clarify, based on the discussion, I should skip categorizing any pages that already have a webcomic debut category on them, correct? ~ Rob13Talk 20:12, 30 March 2017 (UTC)[reply]
@BU Rob13: That would be nice, if possible. Else, I'd have to manually remove them afterwards, which I can do, but it would be a waste of time of course. ~Mable (chat) 09:41, 31 March 2017 (UTC)[reply]
This is still on my "to-do"; waiting for my two pending bot tasks to be approved. May take a bit. ~ Rob13Talk 21:47, 9 April 2017 (UTC)[reply]
@Maplestrip:  Done semi-automatically with AWB. Note some of the edit summaries are screwed up and just said "Unicodifying" - I accidentally hit the scroll wheel while hovering over the edit summary box of AWB while using it to scroll through diffs for errors. That changes the edit summary to an old version, and it took me about 50 edits to catch the mistake. The actual edits themselves are fine, though, and you can take out the categorization from the template for start year. ~ Rob13Talk 02:04, 15 April 2017 (UTC)[reply]
@BU Rob13: Thank you! I'll be sure to request the template to be edited right away! :) ~Mable (chat) 07:39, 15 April 2017 (UTC)[reply]
  • I will be really pleased when this archaic inconstancy is resolved. All the best: Rich Farmbrough, 17:47, 20 April 2017 (UTC).[reply]
    @Rich Farmbrough, Maplestrip, and BU Rob13: I took care of this specific problem, but I looked into the template and identified that there are other autocategorizations happening. I'm not interested enough in the topic to request a bot for certain specific changes to make, but mayble Maple will have more to request. --Izno (talk) 19:27, 20 April 2017 (UTC)[reply]
    • User:J Greb created many of the comics infoboxes, which do this sort of thing. I sympathise with the idea, but it creates new problems. All the best: Rich Farmbrough, 19:32, 20 April 2017 (UTC).[reply]
      • I suppose it would be best if all such categories are 'manually' added to the articles in the same manner. I honestly don't even understand how most of them work, however. It seems like the template also adds categories based on genres and even publisher? ~Mable (chat) 19:52, 20 April 2017 (UTC)[reply]
        • I'm happy to fix more of these, but I'll need more details on what categories need to be added manually. ~ Rob13Talk 05:32, 21 April 2017 (UTC)[reply]

Remove 'image requested' category from biographies w/photo in infobox

Maybe this applies to a more general category of articles as well. Please see my comment on the WikiProject Biography talk page. ~Eliz81(C) 22:15, 26 March 2017 (UTC)[reply]

A bunch of ideas are being bounced around there, in which it would be helpful for input on just how much bots could help with these types of things. Like question redirects. The Transhumanist 21:43, 27 March 2017 (UTC)[reply]

Might as well create a bot to throw coins into a fountain. --Redrose64 🌹 (talk) 23:21, 27 March 2017 (UTC)[reply]
In the face of accelerating change? The Transhumanist 02:10, 31 March 2017 (UTC)[reply]

Bot questions

There are bot questions at Wikipedia:Village pump (idea lab)#Question redirects. The Transhumanist 23:23, 28 March 2017 (UTC)[reply]

Bot to mass move articles with year ranges

There should be a bot that moves all articles with a date range of the from "yyyy–yy" in parentheses in their titles to titles with date ranges of the form "yyyy–yyyy". It was an established policy to require 4-digit end years in MOS:DATERANGE. GeoffreyT2000 (talk, contribs) 16:38, 28 March 2017 (UTC)[reply]

Any person or bot attempting to fulfill this request will have to be mindful of the exceptions allowed in the RFC outcome. For example, sports season articles, of which there are many (e.g. 1952–53 Boston Celtics season), should not be moved. – Jonesey95 (talk) 19:30, 28 March 2017 (UTC)[reply]
This is probably a "not done" due to WP:CONTEXTBOT. --Izno (talk) 02:14, 29 March 2017 (UTC)[reply]
Could somebody give link to RFC? We might do this step by step, for example at first we move people article and then move forward. --Edgars2007 (talk/contribs) 12:42, 30 March 2017 (UTC)[reply]
I agree. As I mentioned before, we need this bot, that can also correct it in the article's texts. I've corrected thousands of articles but it is too big of a task for a human. --ExperiencedArticleFixer (talk) 14:48, 30 March 2017 (UTC)[reply]

Remove notability tags from articles kept at AfD

Articles whose most recent AfD closed with a result of "keep" should have their notability tags removed if still present. I have done this to Raj Bhavan (Assam), After School (film), Machine (film), and Chakradhari (1954 film); may be this could be a task for a bot. GeoffreyT2000 (talk, contribs) 04:45, 31 March 2017 (UTC)[reply]

In my experience with AfD the loosing side may not appreciate a blanket removal. Probably needs an RfC to show consensus. -- GreenC 21:01, 14 April 2017 (UTC)[reply]
Agree. "Keep" includes "Keep for now" and is not a judgement about notability explicitly. All the best: Rich Farmbrough, 17:51, 20 April 2017 (UTC).[reply]

col → row

Need a bot to cleanup an error I've made. I recently sorted out a specific table on a large number articles in Category:Grand Tour cyclists. Artur Ershov for example before and after. I wrongly used "col" instead of "row". I need a bot to run through that cat and change ! scope="col" | —(new line)| Did not compete to ! scope="row" | —(new line)| Did not compete. BaldBoris 12:06, 31 March 2017 (UTC)[reply]

 Doing... All the best: Rich Farmbrough, 10:46, 26 April 2017 (UTC).[reply]
 Done All the best: Rich Farmbrough, 19:17, 26 April 2017 (UTC).[reply]

Episode list sublist template

Per the discussion at Wikipedia talk:WikiProject Television § Episode list sublist template, a discussion has taken place to update the usage of {{Episode list/sublist}}.

  • From: {{Episode list/sublist|Article being transcluded TO}}
  • To: {{Episode list/sublist|Article being transcluded FROM}}

The following edits would first need to be made to Module:Episode list (which I can easily do as a template editor), but immediately after (this is where the bot request comes in), the following regular-expression find-and-replace would need to be executed by a bot to all articles that use the template (approximately 3,700), to prevent as little disruption as possible between the module implementation and replace implementation.

  • Find: \{\{Episode list\/sublist\s*\|(.*)
  • Replace: {{Episode list/sublist|{{subst:PAGENAME}}

If you've any questions, don't hesitate to ask. Cheers. -- AlexTW 12:10, 3 April 2017 (UTC)[reply]

Alex, just a quick question - in your replace, shouldn't it be {{subst:PAGENAME}} instead of %%title%%? Or are we throwing scrib coding directly into the article? reping Primefac (talk) 16:55, 8 April 2017 (UTC)[reply]
@Primefac: [2] Missed the initial ping, yeah. Now, %%title%% seemed to work when I was testing out the find-and-replace in previews, but if {{subst:PAGENAME}} works better, then definitely! -- AlexTW 17:11, 8 April 2017 (UTC)[reply]
If it works, it works. BRFA filed. Primefac (talk) 17:33, 8 April 2017 (UTC)[reply]

Comment:  %%title%% always works, {{subst:PAGENAME}} does not work within ref tags. All the best: Rich Farmbrough, 21:46, 28 April 2017 (UTC).[reply]

Bot to copy a message from a soft redirect user talk page

Recently a bot posted a message on the talk page of my public editing account. I have that page set as a soft-redirect to the talk page on my main account, so I was surprised to see that the bot couldn't pick up on this. Is there any way a bot could be made to identify messages posted to redirect pages and relocate them over to the main page? I know there aren't that many soft-redirect talk pages, but it still couldn't hurt.--Molandfreak (talk, contribs, email) 19:52, 3 April 2017 (UTC)[reply]

User:Femto Bot used to do this for me. I can look at re-activating that task. All the best: Rich Farmbrough, 17:53, 20 April 2017 (UTC).[reply]

begin(aligned) and end(aligned) to begin(align) and end(align)

Resolved

Please replace all occurences of the strings \begin{aligned} resp. \end{aligned} with \begin{align} resp. \end{align}. The former expressions produce errors in PNG-mode. The latter are OK. See [3] and [4]. Thx - DVdm (talk) 15:59, 4 April 2017 (UTC)[reply]

This only affects a handful of articles, and can easily be done with AWB [5]. Headbomb {t · c · p · b} 18:00, 4 April 2017 (UTC)[reply]
    • [6] reveals a lot more matches. I wonder why the regex search doesn't catch everything... Headbomb {t · c · p · b} 18:04, 4 April 2017 (UTC)[reply]
@Headbomb: Yes, I have been looking at that too. Either the insource-regex search excludes anything inside "\displaystyle {", or the standard search also searches the meta-content of articles, including the styling and such—which we don't need here. So perhaps indeed the 7 hits are the only articles affected. If that's the case I'll be glad to fix them manually. - DVdm (talk) 18:51, 4 April 2017 (UTC)[reply]
 Done: edited the 7 articles. - DVdm (talk) 20:36, 4 April 2017 (UTC)[reply]

Replace links to redirects with "Wikipedia:Wikipedia:" in their titles

Per Wikipedia:Redirects for discussion/Log/2017 March 20#Wikipedia:Wikipedia:Five pillars I'm requesting that the following task be performed by a bot:

Also, in the spirit of that request, I'm also requesting the following two tasks as I don't see them being controversial either:

Thanks! Steel1943 (talk) 20:58, 5 April 2017 (UTC)[reply]

Also, please do no replace any links on any page that starts with "Wikipedia:Redirects for d". Steel1943 (talk) 16:55, 6 April 2017 (UTC)[reply]
Actually, come to think of it, please only replace the links that appear in the "User talk:" namespace. (I'll add that to this request.) Steel1943 (talk) 16:59, 6 April 2017 (UTC)[reply]
  • As long as the bot works properly, I can't imagine why someone would oppose this request; it seems like a basic maintenance procedure that ought easily to be approved. Nyttend (talk) 16:30, 6 April 2017 (UTC)[reply]
@Nyttend: That's what I was thinking as well. Either way, I brought this request to your attention since I know per the discussion, you are against the redirects being deleted, but wasn't sure if you were against their current links being replaced. Steel1943 (talk) 16:42, 6 April 2017 (UTC)[reply]
Support, for what it's worth, ought to be entirely uncontroversial (see WP:BRINT, specifically "spelling errors and other mistakes should be corrected"). Whoever codes the bot may notice that I replaced about 800 of these links already with AWB, before admitting that I was not faster at it than a bot would be. Ivanvector (Talk/Edits) 17:20, 6 April 2017 (UTC)[reply]
Steel1943, there's a huge difference between "don't delete this redirect" and "don't change this redirect". It's like any other erroneous link that's been used a lot: it should be kept (in the deletion sense) because it's present in lots of places, but it shouldn't be kept (in the present-in-current-versions-of-pages sense) because it's an error. Nyttend (talk) 00:22, 7 April 2017 (UTC)[reply]
@Nyttend: I know; I was, more or less, ensuring that I wasn't assuming your stance on replacing the links. I thought there wouldn't be any controversy, but I pinged the participants in the discussion to make sure. Steel1943 (talk) 02:10, 7 April 2017 (UTC)[reply]
Sure, and thank you! Aside from everything else, it demonstrates that you're not trying to stack the deck. Nyttend (talk) 02:13, 7 April 2017 (UTC)[reply]
  • Support. Should be uncontroversial work. ---- Patar knight - chat/contributions 17:50, 6 April 2017 (UTC)[reply]
  • Support. Perhaps there should only be one of these routine bots for each task (link changing, template orphaning, etc), with a common protected workpage similar to WP:CFDW. – Train2104 (t • c) 20:22, 6 April 2017 (UTC)[reply]
  • Support, double namespace prefix titles are errors, and this request should be uncontroversial per Ivanvector. — Godsy (TALKCONT) 00:57, 7 April 2017 (UTC)[reply]
  • Support for the specific cases listed. Double namespace prefix titles are usually errors but there are possible exceptions. Thryduulf (talk) 09:25, 7 April 2017 (UTC)[reply]
  • BRFA filed Primefac (talk) 17:15, 8 April 2017 (UTC)[reply]

Fixing autocorrection error

MS Office tends to autocorrect of the into oft he. For some reason, also Wikipedia is affected (see insource:/ oft he /). I guess the errors may be fixed using AWB. --Leyo 14:24, 6 April 2017 (UTC)[reply]

A full search of Wikipedia mainspace produces 25 returns--and regardless of such, wouldn't be good for a bot to do per WP:CONTEXTBOT. --Izno (talk) 15:18, 6 April 2017 (UTC)[reply]
The search result is incomplete. --Leyo 16:08, 6 April 2017 (UTC)[reply]
Unlikely, and you are welcome to prove your statement. The regex search performed using your search link timed out for me at a similar magnitude (21?), and quotations for our purposes here work because we are only reviewing for the exact phrase. --Izno (talk) 17:13, 6 April 2017 (UTC)[reply]
Google, which might lag, finds 75 or so. --Izno (talk) 17:14, 6 April 2017 (UTC)[reply]
I don't think that's due to autocorrect but due to poor keyboard layout generally, something to do with thumb rhythm on the spacebar for very short words. I make the same mistake several times a day. I did it just now while typing "time sa day", then again typing "I did itj ustn ow". I've had too much coffee. Ivanvector (Talk/Edits) 17:24, 6 April 2017 (UTC)[reply]
This looks like a perfect Wikipedia:Adopt-a-typo candidate. And searching for "oft he" (including the quotation marks) should do the trick. P.S. I just fixed all of those, but "ofthe" appears to have another 50 or so instances in article space. As with "oft he", not all of them are errors. – Jonesey95 (talk) 02:54, 7 April 2017 (UTC)[reply]

Non-free image bot

Could someone code a bot that does the following:

  1. Checks each non-free image on the site. (Category:Wikipedia non-free files)
  2. For each article the non-free image is used in, check if that article's name is somewhere within the file description page.
  3. If not, comment out that image from that specific article with the following edit summary "File lacks a non-free use rationale for this article; see WP:NFCC#10c"

This would be incredibly helpful. ~ Rob13Talk 14:50, 6 April 2017 (UTC)[reply]

We had one once, but it died; I'm certain that I requested a replacement some time in the last two years, it's probably in this page's archives. --Redrose64 🌹 (talk) 15:27, 6 April 2017 (UTC)[reply]
Coding... — JJMC89(T·C) 08:34, 9 April 2017 (UTC)[reply]
BRFA filed. — JJMC89(T·C) 05:50, 10 April 2017 (UTC)[reply]

Non-free image rationales linking to redirects

Could a bot produce a list (at user:Thryduulf/NFUR with redirects) of images in Category:Wikipedia non-free files where the description page includes a link to a redirect in the article namespace. Ideally I'd like this list as a sortable table with two columns, the first with a link to the file description page, the second with a link to the redirect. Each redirect should get a separate entry in the table (so if a file links to two redirects it gets two entries).

After the report is generated I may request further bot action (possibly as part of the bot request above), but what will depend on the scale and details of what is found here. Thanks. Thryduulf (talk) 16:41, 6 April 2017 (UTC)[reply]

Site-Wide Fix of Cornell USC Links

I discovered today in this article that Cornell University, the #1 site for looking up U.S. law code, changed the format for their URLs. Since I do not run a bot nor have the time to learn, I'm requesting someone to write a very simple script.

Here are example old and new URLs:

Old format looks like this:

http://www#.law.cornell.edu/uscode/uscode##/usc_sec_##_########^----###-.html
  • Note that I do not know if any old format links have just www. so assume that they can.
  • Similarly, assume www##. can exist just in case.
  • The ^ represents a letter that may or may not exist.

This is typical, which means a script would need to crawl through every page on the site, find URLs with the old format:

  • Change http: to https:
  • Change www#.law to www.law
  • Change /uscode##/ to /text/#/ or /text/##/
    • Make sure to remove leading zeroes entirely. i.e. 11 becomes 11, but 08 becomes 8
  • Remove usc_sec_##_ entirely.
  • Remove leading zeroes from ########
    • i.e. 00001101 becomes 1101
  • Include any letter following the 8 digit number but before ----
  • Remove ----###-.html entirely.

Probably also need to change the accessdate on the refs. - sarysa (talk) 00:40, 7 April 2017 (UTC)[reply]

Coding... Your example "old" ref is actually incorrect, and there's a ton of variation, but I count about 6000+ articles from which to base my regex, so I'll start looking into it. Primefac (talk) 20:15, 9 April 2017 (UTC)[reply]
BRFA filed. Primefac (talk) 14:53, 10 April 2017 (UTC)[reply]

Adoption Category Backlog

Hi! My name is Jamesjpk. Latley I have been patrolling the category Wikipedians seeking to be adopted in Adopt-a-user. In this category, people are listed because they want experienced users to help them grasp the rules of Wikipedia. The main problem with this category however, is that there are many in-active users. It takes a long time to find users that need adoption and that are active enough for adoption. A guideline in this category is that a user should be removed if they have been inactive for over a month. The problem is, that usres in this category are sometimes over a year old. I think a bot would help this situation.

Bot Steps:

1. Check if a page is a talk page or a user page.

If a page in the category is a talk page or a user page move onto step 2.
If a page in the category is not a talk page or a user page, then move onto step 2b

2. Check to see if the user has edited in the past month.

If the user has edited in the past month, then move onto the next user.
If the user has not edited in the past month, move onto step 3.
2b. Remove the {{adoptme}} tag from the page.
Move onto step 2c once the {{adoptme}} tag has been removed
2c. Put in the edit summary "This template should be moved to a user page or a user talk page"

3. Remove the {{adoptme}} tag from the page.

Move onto step 4 once the {{adoptme}} tag has been removed 4. Check if a page is a talk page or a user page. :If the page is a user page then fill the edit summary with "See talk page" and go onto step 5. :If the page is a talk page, then remove the <nowiki>{{adoptme}} tag and put {{subst:Adoption notice expired for bots}} at the bottom of the page.

5. Move onto the user's talk page, and add {{subst:Adoption notice expired for bots}} at the bottom of the page. — Preceding unsigned comment added by Jamesjpk (talkcontribs) 19:47, 9 April 2017 (UTC)[reply]

Doing... ProgrammingGeek talktome 12:04, 10 April 2017 (UTC)[reply]

BRFA filed ProgrammingGeek talktome 17:27, 12 April 2017 (UTC)[reply]
Just in case you haven't seen it, the policy is on the top of Category:Wikipedians seeking to be adopted in Adopt-a-user. It says

{{This is a redirect}} was deprecated on October 3, 2016 and replaced with {{Redirect category shell}}. {{This is a redirect}} has over 250,000 transclusions. If we can get a bot to convert {{This is a redirect}} to {{Redirect category shell}}, it would be very helpful. —MRD2014 📞 contribs 02:25, 13 April 2017 (UTC)[reply]

@MRD2014 and Paine Ellsworth: wouldn't it be easier to convert {{This is a redirect}} into a wrapper for {{redirect category shell}} and then subst out of existence? It looks like the main difference between the two is one takes multiple named params and the other just takes one. Primefac (talk) 15:53, 13 April 2017 (UTC)[reply]
To editors MRD2014 and Primefac: it might help to know that Christian75 has an AWB setup for the conversion. Perhaps there is a need to create a temporary category for {{This is a redirect}} that will hold all of its transclusions in one place?  Paine Ellsworth  put'r there  12:36, 14 April 2017 (UTC)[reply]
Paine Ellsworth, we don't need a category; just use Special:WhatLinksHere or the tools page linked above. Christian75, if you've got the AWB settings I can submit a BRFA using it. Primefac (talk) 12:40, 14 April 2017 (UTC)[reply]
The settings I used in AWB was "find and replace - advanced settings". E.g. replace "{{redr|from plural|from move}} with "{{Redirect category shell|{{R from plural}}{{R from move}}}}", or replace "{{Redr|move|nick}}" with "{{Redirect category shell|{{R from move}}{{R from nickname}}}}" (newlines removed here). And then I had 155 of them (just counted) and when I saw a new combination I added that to the list. But I stopped using it, because I was advised to get a bot account before I continued. Christian75 (talk) 13:08, 14 April 2017 (UTC)[reply]
You actually went and gave manual find/replace with no regex? A bit wasteful, but it works I guess. I'll see if I can convert (using your model as a template) to a wrapper, but if not I'll submit a BRFA (though they're a little backlogged at the mo). Primefac (talk) 00:16, 15 April 2017 (UTC)[reply]
To editors MRD2014, Paine Ellsworth and Christian75: I've wrapped it (basically just safesubsted all the #ifs). I'm going to let it percolate through the system for a bit before getting to the autosubst phase. On that note: Anomie, given that it's going to be substed one way or another, I assume it's not a huge deal if AnomieBOT substs templates on 250k pages? Primefac (talk) 03:20, 15 April 2017 (UTC)[reply]
There's also the issue of protected redirects, AnomieBOT's template subster is not running under the adminbot account. – Train2104 (t • c) 03:27, 15 April 2017 (UTC)[reply]

The issue here is 250k pages with the template. While I'm just pulling numbers out of thin air, I think leaving a hundred or two for manual cleanup isn't really a huge deal. Primefac (talk) 13:37, 15 April 2017 (UTC)[reply]

250k isn't a problem, although I should probably add some code to rotate things so the 250k won't block every other template being substed. Just make sure it substs correctly in all cases before you trigger the bot to start doing it. Anomie 13:55, 16 April 2017 (UTC) For the record, the bot change was made about an hour after that comment. Anomie 11:51, 25 April 2017 (UTC)[reply]
BD2412 has been doing some of those replacements, but it seems like they haven't been doing it correctly. —MRD2014 📞 contribs 02:02, 25 April 2017 (UTC)[reply]
I'm just poking around with it to work out the best process. One snag I have hit: what to do with "This is a redirect" parameters like "e0=Recommend using this as the wikilink when referring to The Guardian in a citation"? For the time being, I have just moved the message outside the template at Ir. Times and Guard., but that seems wrong. bd2412 T 15:37, 29 April 2017 (UTC)[reply]
To editor ­bd2412: The new {{Rcat shell}} has an |h= parameter that does the same thing as the |e0= param in the deprecated template. Just be sure to end it with a pipe symbol or the redirect will be sorted to Category:Miscellaneous redirects.  Paine Ellsworth  put'r there  10:19, 30 April 2017 (UTC)[reply]
Thanks. I'll follow the example in your edit to Ir. Times. Cheers! bd2412 T 13:38, 30 April 2017 (UTC)[reply]

I've been fiddling with this. There are also a number of deprecated px parameters still around. All the best: Rich Farmbrough, 16:31, 29 April 2017 (UTC).[reply]

I've noted that some diligent workers who are converting these have been converting subject pages but not the associated talk pages. If a bot does all the subject pages and "thinks" it is finished, there will still be thousands of transclusions of the deprecated template on any associated talk pages that exist.  Paine Ellsworth  put'r there  10:19, 30 April 2017 (UTC)[reply]

This is the first I am hearing of a talk page component to the task. It would have been nice to have that included in the request. I'm not sure how to begin to address this, except to ask if someone can generate a list of non-matching talk pages. I can't imagine that there are too many. The vast majority of redirects have no talk page. bd2412 T 15:51, 30 April 2017 (UTC)[reply]
Don't know about "vast majority", bd2412, since the subject-page redirects I've tagged in the past few years have had existing talk pages about half the time. (1) if the talk page existed as a redirect, then I tagged it with Redr, (2) if the talk page existed as a talk page, then I topped it with the {{Talk page of redirect}} template and any appropriate project banners (sometimes all these had were Old rfd templates or similar), (3) if the talk page was redlinked on the subject page, I didn't go there – in other words, I don't think talk pages should be created just to tag 'em with rcats, project banners or anything else. The exceptions were redirect talk pages with deletion discussion templates and template /doc, /sandbox and maybe /testcases talk pages, the discussions of which needed to be centralized to the main template talk pages (and BTW, many of these are also tagged with the deprecated template).  Paine Ellsworth  put'r there  16:21, 30 April 2017 (UTC)[reply]
Also not using 1=, for example. All the best: Rich Farmbrough, 18:00, 30 April 2017 (UTC).[reply]

— Preceding unsigned comment added by The Transhumanist (talkcontribs) 01:31, 14 April 2017 (UTC)[reply]

Could someone write a bot (or do this in AWB if that's easier; I don't care) that would look at mainspace pages to find redlinks that meet certain criteria?

  1. Link is red
  2. Link concludes with a parenthetical element that is not closed
  3. If the link were closed, the link would be blue

Whether or not the link is piped shouldn't matter. This might be a basic enough issue to allow the bot to fix it directly, but if you're concerned about CONTEXTBOT issues, I suppose the bot could just generate a list of pages on which this appears and the links on those pages that have this problem. I understand that this is potentially a massive project (you'd have to check every link on 6,841,184 articles), so actually I'll be somewhat surprised if it can be done. I was thinking of asking that this be added to BracketBot's workload, but it's not run since the middle of last year, and its owner is likewise inactive. Nyttend (talk) 02:08, 19 April 2017 (UTC)[reply]

I will try to do this tomorrow. All the best: Rich Farmbrough, 21:23, 25 April 2017 (UTC).[reply]
I ran this for a January dump, there were about 300 hits (including some false positives). I am fixing these now, so this can be considered  Done for now. All the best: Rich Farmbrough, 20:57, 26 April 2017 (UTC).[reply]

The list of pages to be tagged is available at User:Headbomb/sandbox6 and all associated talk pages of those in Category:Women in Red edit-a-thons, Category:Women_in_Red_headers, Category:Women_in_Red_redlink_lists, Category:Women in Red social media, Category:Women in Red templates and their sub categories (they are clean). Just add {{WIR}} at the top of the talk page. If you find \{\{WIR, the page should be skipped, however. User pages should also be skipped. Headbomb {t · c · p · b} 12:40, 19 April 2017 (UTC)[reply]

 Doing... All the best: Rich Farmbrough, 21:25, 23 April 2017 (UTC).[reply]
 Done All the best: Rich Farmbrough, 20:57, 26 April 2017 (UTC).[reply]

Undelete deleted draft namespace redirects

Consensus was achieved at Wikipedia:Village pump (proposals)/Archive 135#Draft Namespace Redirects for not deleting draft namespace redirects for pages moved to the article namespace from the draft namespace. A bot should therefore undelete all deleted draft namespace redirects resulting from moves by Captain Assassin!, KGirlTrucker81, and perhaps some other users with valid mainspace targets per WP:RDRAFT. GeoffreyT2000 (talk) 19:24, 20 April 2017 (UTC)[reply]

I don't know if I would agree that a consensus to not delete these redirects going forward amounts to consensus to undelete those already deleted. (Full disclosure - I'm sure that this would also effect hundreds of draft redirects that I have deleted). bd2412 T 23:35, 24 April 2017 (UTC)[reply]

Tagging run for WikiPedia:WikiProject Women in Red, part 2

See User:Headbomb/sandbox7 for details.

Basically, I'll be compiling lists of articles to be tagged (one per WiR Edit-a-thon, basically, to be tagged with the edit-a-thon specific template).

Right now I've done list 1 and 2 myself. I've got list 3/4/5 ready for a bot, with instructions, and the amount of articles to be tagged is staggering (at least for manual runs). I need someone to do this tagging, because I can't.

Once tagging is done, I'll create new lists. I'll produce new ones, and work my way up to the most recent Edit-a-Thon (#41). Nothing is urgent, but if I could have someone to work with me over the next few days that would be nice. Headbomb {t · c · p · b} 20:36, 20 April 2017 (UTC)[reply]

 Done All the best: Rich Farmbrough, 21:24, 25 April 2017 (UTC).[reply]
Rich Farmbrough You mind if I ping you when I compile the next lists? Headbomb {t · c · p · b} 23:15, 26 April 2017 (UTC)[reply]
That's fine. From the discussion, though, I think most of the later ones are substantially done. All the best: Rich Farmbrough, 06:29, 27 April 2017 (UTC).[reply]
Rich Farmbrough you missed 1 with {{WIR-3}} and quite a few with {{WIR-4}}. Not quite sure what caused this, but I fixed it. As for the other ones, the discussion is off. I'm not sure most are tagged. In 5 edithathons in 2015, there was 736 articles created/improved. If this scales, with 27 editathons in 2016, we're looking at ~4000 articles, rather than the current ~1900 tagged. Headbomb {t · c · p · b} 21:57, 28 April 2017 (UTC)[reply]

Add information on endangered species to Taxobox

I started trying to add the following to the critically-endangered plants on the List_of_critically_endangered_plants#Orchidales:

  • taxobox
| status = CR
| status_system = IUCN3.1
| status_ref = <ref name="iucn redlist">''IUCN database entry page for the species here''</ref>

So I got to Bulbophyllum moratii. In alphabetical order. And that's just the orchids.

It's pretty repetitive. I'd love to have a bot do at least some of this; the IUCN Redlist apparently has a decent API and gives a scientific species name to Zotero scrapers. Such a bot would also be really useful for updating the threat categorizations regularly. For real bonus points, it could also read some of the other status systems, as some endangered species have not been assessed by the IUCN (e.g.), but that would be icing. HLHJ (talk) 21:02, 21 April 2017 (UTC)[reply]

Bryan (3rd edition) parameter modification

There is a template called {{Bryan (3rd edition)}} it was until recently called {{Bryan}}. However that was a confusing name because there is is now another template that links to another edition in the Internet Archive called {{Bryan (1903 edition)}}.

There is a further complication. {{Bryan (3rd edition)}} is in two volumes, but currently there is no volume parameter so all the articles link to volume one in the internet archive even if the entry for the biography is in the second volume. The two volumes break down into:

  • volume 1: A–K (1886)
  • volume 2: L–Z (1889)

There is a category populated by the template called Category:Wikipedia articles incorporating text from Bryan's Dictionary of Painters and Engravers and so it should be possible to place a volume parameter into the instances of the template in article space based on the letter that the articles appear in the category.

The template is now a wrapper around {{cite encyclopedia}} so the parameter that is currently called article= would be better renamed to "title=". If it is an unnamed parameter (never an option, but apparently used by some) it too should be renamed title=

Taking two examples to show what I mean:

under the letter A in the category: {{Bryan|article=APPIANI, Niccolò}} to {{Bryan (3rd edition)|title=APPIANI, Niccolò |volume=1}}
under the letter Z in the category: {{Bryan|Zimmermann, August}} to {{{Bryan (3rd edition)|title=Zimmermann, August |volume=2}}

There is a third option which is no parameters at all in which case the volume as specified by the category should be added:

  • {{Bryan}} {{{Bryan (3rd edition)|volume=''n''}}}

There are currently 989 articles in the category. Yes I know that some will end up with the wrong volume number, but number that are correct after such a transformation will be much closed to 100% than the current situation where about half are linking to the wrong volume.

-- PBS (talk) 22:30, 21 April 2017 (UTC)[reply]

Other than the unnamed parameter issue, this should be fairly straightforward to code. I'm not sure why "some will end up with the wrong volume number" if it's alphabetical and split between K and L, but okay. Primefac (talk) 18:19, 26 April 2017 (UTC)[reply]
I'll try and fix this one this evening. All the best: Rich Farmbrough, 12:32, 27 April 2017 (UTC).[reply]
Rich Farmbrough, are you coding directly into the template (to add an "if no volume given, assign one")? Because I think that makes the most sense. Primefac (talk) 15:00, 27 April 2017 (UTC)[reply]
It's probably worth doing. I'm running through the articles first, looks like you have given explicit volume numbers to many of them. All the best: Rich Farmbrough, 20:11, 27 April 2017 (UTC).[reply]
Indeed it looks as if every use has a volume number. All the best: Rich Farmbrough, 20:19, 27 April 2017 (UTC).[reply]

Yes this request can be shut I've done the lot using AWB. -- PBS (talk) 21:03, 27 April 2017 (UTC)[reply]

Done checkY -- PBS (talk) 21:03, 27 April 2017 (UTC)[reply]

"de-amazon" bot

Per this discussion, many links to Amazon.com can be replaced by more neutral links, like the magic ISBN. Can someone please consider this concept and see whether we can come to a consensus on what is suitable to replace? I presume that replacement should primarily take place in the citations and further-reading sections - in external links sections most can probably be summarily removed (though some external links(-sections) tend to be actually further reading sections). --Dirk Beetstra T C 10:28, 23 April 2017 (UTC)[reply]

I've had a stab at a several manual replacements. The citations, {{cite book}}, need 3 fixes (I think):
  • remove the |asin= parameter or the |id={{ASIN|...}} parameter where a populated |isbn= or |oclc= exist.
(an example of the id= usage)
  • fetch the ISBN from Amazon using the ASIN, populate |isbn= & remove |asin=.
  • fetch the OCLC number from Worldcat using the title, populate |oclc= & remove |asin=.
OCLC contains more than just books, so other cite templates may need to be looked at too. Hope that helps, Cabayi (talk) 13:12, 23 April 2017 (UTC)[reply]
Note that some Amazon links contain ISBNs or are followed by ISBNs. The links can be removed and replaced with "ISBN nnnnnnnnnn", or simply removed and replaced with the text content of the link. If an ISBN is present after an Amazon link to a book's title, this regex has worked well for me:
/\[https*:\/\/[a-z]+\.amazon[a-z\:\/\.\d\-\?\&\=\+\_\%\#\,]+\s+(.+?(?=[\]]))\]/gi, '$1'
Jonesey95 (talk) 14:23, 23 April 2017 (UTC)[reply]
An ASIN is not necessarily also an ISBN. If it is entirely numeric, has 13 digits, and begins either 978 or 979, then it's an ISBN. If it is 10 characters long, and is either entirely numeric or consists of 9 digits followed by the letter X, then it's an ISBN. --Redrose64 🌹 (talk) 23:06, 23 April 2017 (UTC)[reply]
See also Category:CS1 maint: ASIN uses ISBN. – Jonesey95 (talk) 23:09, 23 April 2017 (UTC)[reply]
While it's a Keep, it's as a reference/link of last resort to be avoided where more non-commercial alternatives such as {{OCLC}}, |oclc=, {{ISBN}}, or |isbn= exist. This request is not for simple removal of ASINs but for their replacement where possible. Cabayi (talk) 14:28, 25 April 2017 (UTC)[reply]
I agree there, doesn't amazon also already have ISBN numbers on the product description pages? - Knowledgekid87 (talk) 13:20, 26 April 2017 (UTC)[reply]
For books, yes. Hence the suggested step above,
  • fetch the ISBN from Amazon using the ASIN, populate |isbn= & remove |asin=.
Cabayi (talk) 13:58, 26 April 2017 (UTC)[reply]
Amazon has a valuable resource for users: actual text that often allows them to verify a statement without access to the physical book> ISBN-ASIN and OCLC have no such advantage. The majority of amazon links I have seen on Wiki are designed for this usage. this usage is entirely free and non-commercial. Rjensen (talk) 13:54, 26 April 2017 (UTC)[reply]
Rjensen, {{ISBN}} links to Special:BookSources which links to Google, Amazon (multiple Amazon sites not just the .com site), local libraries and online indexes. That seems more inclusive & open than just one Amazon link to me. Cabayi (talk) 14:02, 26 April 2017 (UTC)[reply]

As I sort of stated in the WT:WPSPAM discussion, I'd support a bot to replace all replaceable Amazon links with ISBN links to Special:BookSources. I'd also consider having the bot replace {{ASIN}} with {{ISBN}} or another template containing the identifiers if an ISBN and other identifiers can be found, and leave other instances of {{ASIN}} where no ISBN can be found alone. Jo-Jo Eumerus (talk, contributions) 14:59, 26 April 2017 (UTC)[reply]

there is a unique function helpful to users and chosen by Wiki editors that vanishes if amazon link is replaced by Special:BookSources which is hard to use and does NOT tell is there is free text to read. The issue is not the existence of the book, it is the existence of an extensive excerpt. Rjensen (talk) 15:27, 26 April 2017 (UTC)[reply]
Amazon is just one one of many book sellers online, one of many who print book excerpts. We don't favor one commercial book seller over another. If the citation is to the book expert ie. the contents of the book, then it should be a book citation with a page number. Amazon product page content is not stable anyway. -- GreenC 15:58, 26 April 2017 (UTC)[reply]
it is not true that Amazon is "one of many who print book excerpts" Removing the link hurts our readers. Rjensen (talk) 05:28, 27 April 2017 (UTC)[reply]
And those excerpts are still available through the ISBN for those that have an ISBN. And I'd like to see how many excerpts are only available on Amazon (and have that number put into context with other links). --Dirk Beetstra T C 06:34, 27 April 2017 (UTC)[reply]
Comment I've done web scraping of Amazon product pages and they are blocking bots. I got around it with a VPN that changes IP every couple page checks, but it's really slow. -- GreenC 15:58, 26 April 2017 (UTC)[reply]
@Green Cardamom: I saw http://search.cpan.org/dist/Net-Amazon/lib/Net/Amazon.pm (which is for perl, which I generally use on Wikipedia bots). That seems to be capable of hooking into their 'REST interface'. Maybe the main site is blocked for bots, and they have an 'API' for bot interfacing? --Dirk Beetstra T C 04:00, 27 April 2017 (UTC)[reply]
@Beetstra: Yes they have API (plural) but I never looked at it. I just did, took a while but found this page [7] for how to register and sending a SOAP request which the Perl library uses. Using their 'Product Advertising API' to de-Amazon Wikipedia would be a worthwhile thing. -- GreenC 04:44, 27 April 2017 (UTC)[reply]
Found a Amazon PHP Library if any PHP programmers are interested. -- GreenC 05:02, 27 April 2017 (UTC)[reply]
...and an Amazon Python Library for the trifecta. -- GreenC 05:15, 27 April 2017 (UTC)[reply]
Down the rabbit hole.. Alternatives to Amazon API. -- GreenC 05:26, 27 April 2017 (UTC)[reply]
I read that using the Amazon API requires an account(s) and you have to prove the API is being used for the purpose of selling Amazon products -- thus its name 'Product Advertising API' -- by providing a link to a website where the API results will be deployed. Thus using the API to de-Amazon Wikipedia would almost surely require subterfuge hiding it's true intent. -- GreenC 15:33, 27 April 2017 (UTC)[reply]
@Green Cardamom: Now don't tell me that we use this API to FILL the references? If so, we areexactly at the point where we should be.
Anyway, all others that can legitimately be de-amazonized could be done by bot. We can do the others by hand if no automated process can be defined. --Dirk Beetstra T C 04:10, 1 May 2017 (UTC)[reply]
Screwed up ping ... the mediawiki software should just understand who I want to ping :-). @Green Caramom:. --Dirk Beetstra T C 04:11, 1 May 2017 (UTC)[reply]

Arbitrary break

Primefac is an idiot and doesn't know how to read. Ignore this section.
  • Comment that original linked thread is almost 4:1 in opposition against blacklisting Amazon. Personal feelings aside, I'm seeing little to no support to remove/replace Amazon via bot, and anything else is going to fall afoul of WP:CONTEXTBOT. Primefac (talk) 18:16, 26 April 2017 (UTC)[reply]
The opposition is to blacklist Amazon because it's a convenient link that beats nothing, and can be used to populate templates automatically. But every one also agrees the amazon link is inappropriate when we have an ISBN. Headbomb {t · c · p · b} 18:20, 26 April 2017 (UTC)[reply]
I am with Headbomb here. We regularly run into sites where the linking is sub-optimal, but where the editor finds green eat convenience in using the link (I am sure that the reasoning here can also be applied to google-books, though that is less aimed at selling, and many other book sites). On all those there is a sauce of spammers that do add (commercial links to) their books to Wikipedia articles in the hope to sell some of their books because readers are following their commercial links. Many of such links could be 'neutralized' through ISBN. It is a bit less convenient, but the functionality, the convenience, is still there (one step more, you go to Special:ISBN, choose Amazon/Google/whatever). If we can run this on Amazon, we can likely also run this on many other online-book retailers. --Dirk Beetstra T C 04:00, 27 April 2017 (UTC)[reply]
Primefac, The closing summary you gave at Wikipedia:Templates for discussion/Log/2017 April 13#Template:ASIN, while accurately recording the Keep overlooked the strong sentiment expressed that it should be kept only as a source of last resort. This discussion here is not about blind removal of asins, but their removal where better, more neutral, less commercial, alternatives already exist or their replacement where the alternatives can be found. Please don't simplify the contending positions to the point where their essence is lost. Cabayi (talk) 08:59, 27 April 2017 (UTC)[reply]
You're exactly right, I rather thoroughly misread this thread and the non-!voting implications of the original linked discussion. Consider myself fully trouted. Primefac (talk) 11:58, 27 April 2017 (UTC)[reply]

A bot to upload OCR of Marathi books

I am using this https://github.com/tshrinivasan/OCR4wikisource to generate OCR of marathi books and it requires bot permission to upload them on mr.wikipedia. — Preceding unsigned comment added by Vaibhawvipul (talkcontribs) 12:01, 27 April 2017 (UTC)[reply]

@Vaibhawvipul: No Wikipedia can host copyright violations, nor can any wiki on Wikimedia servers in fact. Did you write those books? --Izno (talk) 12:30, 27 April 2017 (UTC)[reply]
@Izno: I will just be uploading books under CC license. Especially these https://commons.wikimedia.org/wiki/Category:Books_in_Marathi .
@Vaibhawvipul: Why would you upload OCR of these text to mr.WP if they would probably be better on Commons? --Izno (talk) 13:07, 27 April 2017 (UTC)[reply]

Replacement of NCBI template in gastropods articles

The template {{NCBI}}, now called {{NCBI taxid}}, was used many times in the Wikipedia:WikiProject Gastropods in the External links section. Now the template is deprecated and can be replaced with {{taxonbar}} template.

  • This applies to Category:Gastropods and its subcategories only.
  • This applies to External links section only.
  • When there is template taxonbar in the article, remove the NCBI template from External links section. For example like this: removing NCBI template when there is taxonbar already
  • When there is template NCBI in the External links section, remove the NCBI template and add taxonbar template to the end of External links section (above category).

Thanks. --Snek01 (talk) 20:52, 29 April 2017 (UTC)[reply]

FA by length bot

I would like a bot to keep this page up to date. It does not have to happen more than once a week. It finds all pages that have been FACed, sorts them by length, and refreshes the page. Using the prosecounter tool found in the DYK check would be a bonus. Maury Markowitz (talk) 02:23, 1 May 2017 (UTC)[reply]