Wikipedia:Bot requests
Commonly Requested Bots |
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
- WP:AWBREQ, for simple tasks that involve a handful of articles and/or only needs to be done once (e.g. adding a category to a few articles).
- WP:URLREQ, for tasks involving changing or updating URLs to prevent link rot (specialized bots deal with this).
- WP:SQLREQ, for tasks which might be solved with an SQL query (e.g. compiling a list of articles according to certain criteria).
- WP:TEMPREQ, to request a new template written in wiki code or Lua.
- WP:SCRIPTREQ, to request a new user script. Many useful scripts already exist, see Wikipedia:User scripts/List.
- WP:CITEBOTREQ, to request a new feature for WP:Citation bot, a user-initiated bot that fixes citations.
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).
Legend |
---|
|
|
|
|
|
Manual settings |
When exceptions occur, please check the setting first. |
Bot-related archives (v·t·e) |
---|
Bot to purge Main Page cache each day
This is a request for a bot to purge the cache of Main Page every day at 00:00 (UTC), when three of the five dynamic sections are supposed to switch to the next date's templates. This also would enable us to add the current date (based on UTC) to the top of the page (something currently under consideration). —David Levy 23:17, 14 December 2008 (UTC)
- that will do very little as purging is primarily client side and not server side. βcommand 23:18, 14 December 2008 (UTC)
- I don't follow. I can load a page for the first time (or the first time since clearing by cache) and see outdated transclusions until I purge Wikipedia's cache (http://en.wikipedia.org/w/index.php?title=[page name]&action=purge). —David Levy 00:33, 15 December 2008 (UTC)
- Even if you purge it, it does not mean that I wont get an old copy. All of the database slave servers need purged which happen naturally once a page is edited. βcommand 00:37, 15 December 2008 (UTC)
- I also thought purging affects other people viewing the page afterwards. Wikipedia:Purge and mw:Manual:Purge support this as I read them, for example the latter saying "It is typically utilised to clear the cache and ensure that changes are immediately visible to everyone.". The posts by βcommand and above in #DYK Purge bot by Mr.Z-man are the first time I have seen the statement that purging only has a local effect. Is there documentation for this? PrimeHunter (talk) 00:47, 15 December 2008 (UTC)
- Like PrimeHunter, this is the first that I've heard of that. Assuming that this is accurate, is there any way (other than performing an edit) to ensure that a page's transclusions are updated for everyone loading it? —David Levy 00:57, 15 December 2008 (UTC)
- Anyone? —David Levy 03:13, 18 December 2008 (UTC)
I could be wrong, but I believe at least certain ParserFunctions have an auto-purge function built into them. Things like {{CURRENTDAY}} specifically. --MZMcBride (talk) 00:42, 15 December 2008 (UTC)
- I can vouch that {{#time}} doesn't, I have the time on my userpage and it stops updating after a while until I purge. I can code something up for this task (it won't take long) and it can be used if required. Foxy Loxy Pounce! 07:40, 23 December 2008 (UTC)
- Done The code is finished. Just let me know if you guys decide to use it and I'll file a BRFA. Foxy Loxy Pounce! 08:11, 23 December 2008 (UTC)
- Thanks! It would be helpful to implement the script now, as this would update that the main page's dynamic content at the turn of each day. —David Levy 12:36, 29 December 2008 (UTC)
JerryBot
Template:Main transclusion target link examiner bot
See also: Denied Bugzilla Request
Could somebody please create a bot for me that would do the following:
- Import Special:Whatlinkshere/Template:Main
- For each entry in the above list, find each transclusion of Template:Main
- For each such transclusion, verify that the target linked is not a dab, redlink, or redirect
- As dab's are found, generate a generate a list of pages that require updates
- As Redlinks are found, generate a list of pages that require investigation
- As redirects are found, replace the target link with that of the redirect, and generate a log of such actions
Additional requirements:
- The bot should employ an emergency shutdown button feature
- The bot should be configurable via an onwiki parameter page:
- limit size of each log to 'x' entries
- configure how often to run
I would like to be able to run this as *MY* bot... so I am looking for a bot-creator who is willing to make this bot for me. I will then go through the process of getting it approved.
Thanks, Jerry delusional ¤ kangaroo 01:21, 22 December 2008 (UTC)
- This should be possible, but I'll need to do some fiddling with code. I'll see what I can do and get back to you. Foxy Loxy Pounce! 08:16, 23 December 2008 (UTC)
- Ok, I've written several base functions for the detection of dab pages etc successfully, I'm now writing the code for the actual bot. Foxy Loxy Pounce! 13:29, 23 December 2008 (UTC)
- IMO, this is probably something that'd be better served with a DB dump, there's *a lot* of pages that transclude {{Main}}. Q T C 17:25, 23 December 2008 (UTC)
- I agree, according to the API, there's 71,030 pages that use the template. This bot would have to load each page that transcludes it and the target page. That's over 140,000 page loads per run if each article only uses it once with one target. Mr.Z-man 19:13, 23 December 2008 (UTC)
- Not done then. I'm afraid I have no experience with database queries and do not have the bandwidth to download database dumps. I'll have to give this task to another user. Foxy Loxy Pounce! 20:53, 23 December 2008 (UTC)
- I agree, according to the API, there's 71,030 pages that use the template. This bot would have to load each page that transcludes it and the target page. That's over 140,000 page loads per run if each article only uses it once with one target. Mr.Z-man 19:13, 23 December 2008 (UTC)
Using the API is fine. --MZMcBride (talk) 00:29, 24 December 2008 (UTC)
- Hm, I guess if it does it efficiently, using prop=templates and &redirects rather than just pulling the page text for all the target pages it would be fine. Also in reply to Foxy Loxy, the database dumps that include page text are in the XML format used by Special:Export. Mr.Z-man 00:38, 24 December 2008 (UTC)
- Coding... Foxy Loxy Pounce! 23:13, 24 December 2008 (UTC)
- Still doing... Just putting in the final touches to the code, and setting up configuration via Wikipedia. I am also trying to get an account on the toolserver to possibly make this tool accessible to more users. Foxy Loxy Pounce! 03:21, 29 December 2008 (UTC)
- I'm having some issues with controlling the script via Wikipedia. While I try and fix that, feel free to contact me on my talk page and request a list of articles matching your defined criteria. Foxy Loxy Pounce! 09:01, 29 December 2008 (UTC)
- Jerry, you should probably go ahead and file the BRFA, the code should be completed by the time the BRFA is. Foxy Loxy Pounce! 23:16, 29 December 2008 (UTC)
- Still doing... Just putting in the final touches to the code, and setting up configuration via Wikipedia. I am also trying to get an account on the toolserver to possibly make this tool accessible to more users. Foxy Loxy Pounce! 03:21, 29 December 2008 (UTC)
DYK success in leading to GA and FA articles
(reposted from here) Suntag, I noticed your conversation with Daniel Case, and I just had an idea that seems like it might be up your alley.... I don't know how we would go about actually implementing this or keeping track of these kinds of things, but maybe it would be cool to have a list of DYK articles that go on to make GA or FA. (since the DYK credit template is transcluded in the talk page, the easiest way might be to have a bot that goes through all pages where that is transcluded, and return all pages that also have GA or FA in their {{ArticleHistory}}.) Of course, who knows, maybe such a list would just be embarrassing (what if we find that 95% of DYK articles stagnate and get ignored after their big day?) but if not, it may be fun to think about. —Politizer talk/contribs 16:44, 23 December 2008 (UTC)
- Bot request - Per the above, please have a bot revise the }} portion of the {{dyktalk}} template to read
|GA=yes}}
for each talk page listed in Category:Wikipedia Did you know articles that also is listed in Category:Wikipedia good articles. In addition, please have the bot revise the }} portion of {{dyktalk}} template to read|FA=yes}}
for each talk page listed in Category:Wikipedia Did you know articles that also is listed in Category:Wikipedia featured articles. The bot tagging will populate Category:Wikipedia Did you know articles that are good articles and Category:Wikipedia Did you know articles that are featured articles. Thanks. -- Suntag ☼ 17:08, 23 December 2008 (UTC)- Coding... Please have the template edited to support those parameters so I can finish the coding. Anomie⚔ 17:52, 23 December 2008 (UTC)
- The edited template code is at User:Politizer/Dyktalk, but I'm waiting for an admin to paste it into Template:Dyktalk (which is protected). Also, if it's not too late, can you change your code to fill in
FC=yes
rather thanFA=yes
(simply because there might be some featured lists as well as featured articles)? —Politizer talk/contribs 20:26, 23 December 2008 (UTC) - Actually, shouldn't it be ok to run the bot before the template is ready? The template is transcluded in talk pages, so the worst that can happen if you add stuff like
|GA=yes
to the template calls, is that it will have a dummy parameter sitting around doing nothing...and then as soon as the template code itself is edited then those parameters would start working. (I assume that's what would happen?) —Politizer talk/contribs 20:29, 23 December 2008 (UTC) - Oh, one last thing...you probably know this already, but just in case: I believe the bot will be run repeatedly (every month or so, something random like that) so I guess it would be necessary to have some code telling it not to add
|FC=yes
or|GA=yes
if the template already has that text. Apologies if you already knew about that; I figured I should just mention it in case. —Politizer talk/contribs 20:33, 23 December 2008 (UTC)- Easy to add "FC" instead of "FA". It would be nice if the parameters were functional before the run, but only because the bot can skip loading the page text at all when it sees the correct categories present (which saves time and bandwidth); it'll work fine without it, just slightly slower, and once the template is updated you'll have to wait for the job queue to get around to populating the categories. I wanted to see the code just to make sure the parameters weren't named "ga" instead of "GA" or anything like that and to see if "Yes", "YES", "1", or anything else would be accepted in addition to "yes" (there's no need for anything besides "yes", but sometimes people code templates to support the extra possibilities). I did already add code to check if GA/FC is already present, and in fact I also included code to remove the GA/FC if the page has been demoted. Anomie⚔ 20:49, 23 December 2008 (UTC)
- The edited template code is at User:Politizer/Dyktalk, but I'm waiting for an admin to paste it into Template:Dyktalk (which is protected). Also, if it's not too late, can you change your code to fill in
- Coding... Please have the template edited to support those parameters so I can finish the coding. Anomie⚔ 17:52, 23 December 2008 (UTC)
BRFA filed Wikipedia:Bots/Requests for approval/AnomieBOT 17. Anomie⚔ 23:24, 23 December 2008 (UTC)
- Awesome! I could probably add functionality for "Yes," "YES," and "1" if you want (I imagine 1 is a lot more common than Yes and YES), but for now I won't go changing anything while you're still working the bot. —Politizer talk/contribs 00:13, 24 December 2008 (UTC)
- No, leave it as just "yes". Anomie⚔ 01:51, 24 December 2008 (UTC)
- Ok, that's fine with me. Just so you know, there is a discussion here about this...as it turns out, a lot of articles have the {{ArticleHistory}} template, rather than the {{DYKtalk}} template, on their talk page, so things might get a little more complicated than we thought (since any bot that runs a couple times to populate the categories Category:Wikipedia Did you know articles that are good articles and Category:Wikipedia Did you know articles that are featured articles will probably have to be able to deal with that template as well. —Politizer talk/contribs 21:34, 26 December 2008 (UTC)
- The bot shouldn't have to care about ArticleHistory, as that shouldn't need any extra parameters to add the categories. Anomie⚔ 02:20, 27 December 2008 (UTC)
- Yep, I think that's correct...I just realized that and made a note of it in the discussion at WT:DYK. —Politizer talk/contribs 16:03, 27 December 2008 (UTC)
- The bot shouldn't have to care about ArticleHistory, as that shouldn't need any extra parameters to add the categories. Anomie⚔ 02:20, 27 December 2008 (UTC)
- Ok, that's fine with me. Just so you know, there is a discussion here about this...as it turns out, a lot of articles have the {{ArticleHistory}} template, rather than the {{DYKtalk}} template, on their talk page, so things might get a little more complicated than we thought (since any bot that runs a couple times to populate the categories Category:Wikipedia Did you know articles that are good articles and Category:Wikipedia Did you know articles that are featured articles will probably have to be able to deal with that template as well. —Politizer talk/contribs 21:34, 26 December 2008 (UTC)
- No, leave it as just "yes". Anomie⚔ 01:51, 24 December 2008 (UTC)
- Awesome! I could probably add functionality for "Yes," "YES," and "1" if you want (I imagine 1 is a lot more common than Yes and YES), but for now I won't go changing anything while you're still working the bot. —Politizer talk/contribs 00:13, 24 December 2008 (UTC)
Note: I've withdrawn the BRFA as it seems this is no longer wanted. Hopefully Gimmetrow updates GimmeBot to convert the 76 or so uses of {{dyktalk}} on GA/FA pages to {{ArticleHistory}}. Anomie⚔ 04:11, 28 December 2008 (UTC)
Could someone please get a bot to sort each of the articles in Category:Blackpool F.C. seasons by season? For example, Blackpool F.C. season 1896–97 should have [[Category:Blackpool F.C. seasons|1896-97]] at the bottom, and Blackpool F.C. season 2007–08 should have [[Category:Blackpool F.C. seasons|2007-08]] at the bottom. If anyone could do this for me, that would be much appreciated. Thanks. – PeeJay 20:03, 23 December 2008 (UTC)
- By the way, the reason I'm not doing this myself is because there are over 100 articles in the category. – PeeJay 09:22, 24 December 2008 (UTC)
Change of brackets
The 259 deprecated {{coor d}} templates on Cities of the Ancient Near East have a name
parameter, many of which include square brackets, for example: name=Eshnunna [Tell Asmar]
. These need to be changed to parentheses, like name=Eshnunna (Tell Asmar)
in order that the templates can be converted to {{Coord}}. The presence of square brackets elsewhere in the raw code precludes a simple search-and-replace. Can someone do the necessary, please? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 21:35, 23 December 2008 (UTC)
- Done - a simply regex took care of it: "name=([^\[}]*)\[([^\]]*)\]" -> "name=$1($2)" --ThaddeusB (talk) 21:57, 23 December 2008 (UTC)
- That's great; thank you. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 22:08, 23 December 2008 (UTC)
Coordinate template conversion
Many of the sub-pages of List of United Kingdom locations use {{coor d}}, which was deprecated some time ago. I thought these had already been changed to {{Coord}}; but apparently not. Can someone do that, please? A simple change of the string {{coor d
to {{coord
should be all that's needed, but there are a lot of instances on a good many pages. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 22:16, 23 December 2008 (UTC)
Calling all bot and script writers!
I just discovered Wikipedia:WikiProject Check Wikipedia and it is awesome. Any help in cleaning out some of these backlogs would be very much appreciated. Cheers. --MZMcBride (talk) 06:45, 24 December 2008 (UTC)
- I can't say I agree with most of the "these HTML tags aren't needed" comments there, sometimes the HTML style syntax is better. For example, you can't supply inline CSS styles for a wikitext list, and sometimes having lots of apostrophes around can confuse the parser where <b>/<i> won't. Anomie⚔ 14:44, 24 December 2008 (UTC)
- Most of problems are right up AWB's alley but not really bot fixable. BJTalk 15:07, 24 December 2008 (UTC)
A newbie welcoming bot?
THat would be nice, cuz then ppl dont have to be on 24/7 to keep up w/ the constant stream of users. If u know how, contact me, and tell me what to do for it.
- See Wikipedia:Bots/Frequently denied bots. Xclamation point 15:26, 24 December 2008 (UTC)
- Bots just don't have that personal touch :). Imagine if you lived in the world of The Jetsons and you just moved into your new apartment and sent Rosie the Robot Maid over with a pie to welcome you. It's just not the same. davidwr/(talk)/(contribs)/(e-mail) 16:38, 24 December 2008 (UTC)
Converting "as of" links
It's a request to change the deprecated "as of" links (as of 2000, etc) to the new system {{as of}}. Explicitly, it should remove the as of links, listed here, and replace them with {{As of|year}}
or {{As of|year|month}}
. The only little problem is that the template is case-sensitive: if it's a lowercase, it should add lc=on. The case where there is a day is more complicated. Though they are less common, so it can be revisited later or done (semi-)manually. This is completely supported by consensus: the as of links are deprecated and the new mosnum is even more strict on date links, while the as of template is widely used. Cenarium (Talk) 23:13, 25 December 2008 (UTC)
- Lightbot has already been used for this, see for example [1]. You could discuss further work with the operator. PrimeHunter (talk) 23:50, 25 December 2008 (UTC)
- I have done that. Thanks for the information, Cenarium (Talk) 14:17, 26 December 2008 (UTC)
Move date articles to Portal namespace
Most articles in Category:Days in 2005 and Category:Days in 2003 need to be moved out of article space to Portal space.
Rather than having the article February 12, 2005, it should be in the portal namespace at Portal:Current events/2005 February 12, like the more recent Portal:Current events/2008 November 23. We should have articles for month year (February 2005), but not month day, year. They, as they are not actual articles, should be in the portal namespace and transcluded to the month article, like how Portal:Current events/2008 September 6 is transcluded to September 2008.
This is already a set precedent, and this is how it has been done for more recent years. Earlier years, however, were not updated and moved to Portal:Current events. Thanks Reywas92Talk 02:37, 27 December 2008 (UTC)
Need someone to take over my bots
I'm leaving and so I need an admin who is willing to take over User:DYKBot and User:DYKadminBot. The source code is here (PHP) although it has some problems. Anyone willing to do this? ~ User:Ameliorate! (with the !) (talk) 02:13, 28 December 2008 (UTC)
- I volunteer myself :-) If that is ok. I already run one bot myself (User:LoxyBot) and have another task in creation. I have access to a stable server and am applying for access to the Toolserver. Foxy Loxy Pounce! 23:22, 29 December 2008 (UTC)
- I can run DYKBot, but I'm not an admin so I can't run DYKadminBot. Let me know if you'd like me to (I do have much coding experience, and I run my own bot). 2DC 23:23, 29 December 2008 (UTC)
- The problem, Foxy Loxy, is that in order to run DYKadminbot, you would likely have to be an admin to run it. I would run it, but I don't have enough experience with DYK. Xclamation point 23:28, 29 December 2008 (UTC)
- Ah yes, good point. Well, I suppose that pulls me out of volunteering. Foxy Loxy Pounce! 23:34, 29 December 2008 (UTC)
- Thanks for the offers, however Nixeagle has agreed to take over the bots. 125.238.97.30 (talk) 03:20, 30 December 2008 (UTC)
- The problem, Foxy Loxy, is that in order to run DYKadminbot, you would likely have to be an admin to run it. I would run it, but I don't have enough experience with DYK. Xclamation point 23:28, 29 December 2008 (UTC)
- I can run DYKBot, but I'm not an admin so I can't run DYKadminBot. Let me know if you'd like me to (I do have much coding experience, and I run my own bot). 2DC 23:23, 29 December 2008 (UTC)
Nutcracker
There are a lot of articles entitled "List of birds of xxxx" and "Wildlife of xxxx" that have links to nutcracker that really should go to nutcracker (bird). Could someone fix these with a bot? Colonies Chris (talk) 19:03, 28 December 2008 (UTC)
- There don't appear to be any such links. Has this been done already? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 12:35, 29 December 2008 (UTC)
- Done - looks like Canis Lupus took care of them --ThaddeusB (talk) 02:48, 30 December 2008 (UTC)
MoveBOT
I'm moving a bunch of articles to comply with WP:DASH, and things would be a lot easier if there was a bot that could handle the moving, double redirect checking etc...
The links are compiled here : User:Headbomb/Move
The bot would move them to the en dash version automatically, correct article text to use en dashes, then check and fix double redirect. Is this doable?Headbomb {ταλκκοντριβς – WP Physics} 08:54, 18 December 2008 (UTC)
- Coding... LegoKontribsTalkM 00:02, 19 December 2008 (UTC)
- Cool beans.Headbomb {ταλκκοντριβς – WP Physics} 01:42, 20 December 2008 (UTC)
- Restored from the archives.Headbomb {ταλκκοντριβς – WP Physics} 11:19, 29 December 2008 (UTC)
Cleanup task
I'm requesting that a bot remove the outdated transclusions of Template:Afd-mergefrom. This would be accomplished by checking to see whether the page title supplied as the first parameter now is a redirect (and if so, whether it leads to the page corresponding to the talk page on which the template is transcluded). If both conditions are met, the template should be removed. If only the first condition is met, the talk page on which the template is transcluded should be added to a list for manual analysis. If neither condition is met, no action should be taken. —David Levy 03:13, 18 December 2008 (UTC)
- Comment - This template is part of the instructions at Wikipedia:Articles for deletion/Administrator instructions. -- Suntag ☼ 19:19, 20 December 2008 (UTC)
- Indeed, the template is used to inform users of consensus established at AfD to merge another article's content into the article associated with the talk page on which the tag appears. This is a request for a bot to remove outdated advice to perform mergers that already have been completed. —David Levy 02:13, 21 December 2008 (UTC)
- De-archived request. —David Levy 20:52, 29 December 2008 (UTC)
BRFA filed Wikipedia:Bots/Requests for approval/AnomieBOT 20. Please let me know how often you'd like the thing to run, where it should report, and whether removing the {{afd-mergefrom}} when the AFDed page has been deleted is a good idea. Anomie⚔ 22:52, 29 December 2008 (UTC)
Wikify List of townlands in County Kilkenny
The web version of table2wiki.py choked on List of townlands in County Kilkenny, returning an empty page. It's a 400K+ source file that needs to be wikified. This should trim the source down considerably. Thanks. davidwr/(talk)/(contribs)/(e-mail) 02:38, 30 December 2008 (UTC)
- Done No need for a bot, just a little script-assisted editing. Anomie⚔ 02:52, 30 December 2008 (UTC)