From Wikipedia, the free encyclopedia

This is a message board for coordinating and discussing bot-related issues on Wikipedia (also including other programs interacting with the MediaWiki software). Although this page is frequented mainly by bot owners, any user is welcome to leave a message or join the discussion here.

If you want to report an issue or bug with a specific bot, follow the steps outlined in WP:BOTISSUE first. This not the place for requests for bot approvals or requesting that tasks be done by a bot. General questions about the MediaWiki software (such as the use of templates, etc.) should be asked at Wikipedia:Village pump (technical).

Archive links for "deadurl=no"

What is the consensus on adding archive links, en masse, to articles when unneeded, IOW "deadurl=no"? This adds an enormous amount of bloat, much of which will not be needed. -- BullRangifer (talk) PingMe 18:51, 28 March 2018 (UTC)

There's been a lot of discussion about this and the end result is "no consensus". I agree it's not a good idea, but other's think it is. -- GreenC 19:53, 28 March 2018 (UTC)
I thought the consensus was in favor of preventing link rot. User:InternetArchiveBot performs this task in order to mitigate link rot, if I am understanding the OP's question correctly. – Jonesey95 (talk) 19:58, 28 March 2018 (UTC)
Like I said, some people agree and others disagree. I'm not here to get into the reasons pro and con. IABot does not add an archive URL to every link on the page (dead or not) by default, is what the OP is saying. It only does if you click the special button in the IABot interface. And not everyone likes that. -- GreenC 20:07, 28 March 2018 (UTC)
The actions are by an editor who adds HUGE amounts of bloat by doing it for nearly 100% live links. Here's one example. Read my edit summary there, then look at their contribution history. I don't see any upside worth this. Adding 100 archive links to some day in the distant future save 5-10 of them? That doesn't make sense. A bot (or editor) should only do this when it's a "deadurl=yes". -- BullRangifer (talk) PingMe 20:17, 28 March 2018 (UTC)
Note the edit summary says "IABotManagementConsole 1.1" - the console has an option check-box to save every link, even when not dead. This is the feature that is controversial. -- GreenC 20:33, 28 March 2018 (UTC)


Where is the BRFA for TohaomgBot (talk · contribs) making edits like these? Who allowed it to be approved with huge gaps being created among the navboxes? --Redrose64 🌹 (talk) 19:55, 3 April 2018 (UTC)

It looks like the original BRFA didn't have that. Time to block? Looks like xoasflux beat me to it. Primefac (talk) 19:58, 3 April 2018 (UTC)
@Redrose64: bot blocked for operating completely off task. Will message the operator. — xaosflux Talk 20:00, 3 April 2018 (UTC)
Notification left at operator's talk on meta:. — xaosflux Talk 20:05, 3 April 2018 (UTC)
  • Related: Wikipedia talk:WikiProject Trains#Metro systems of the world template. --Redrose64 🌹 (talk) 20:14, 3 April 2018 (UTC)
  • @Tohaomg: bots operating here must abide by the Wikipedia:Bot Policy, including the requirement for new tasks to be requested, evaluated, and approved prior to going in to operations. Please review the recent edits and the policy and respond with how you would like to move forward. — xaosflux Talk 20:10, 3 April 2018 (UTC)
    I now notice that User:TohaomgBot doesn't exist, and is actually transcluded from m:User:TohaomgBot. Checking their global contribs, I think that they are from Ukraine, see uk:Користувач:TohaomgBot. --Redrose64 🌹 (talk) 20:47, 3 April 2018 (UTC)
    Looks like it, also got blocked for bot things on fiwiki. Oh well, will wait for them to show up - disruption has stopped with the block. — xaosflux Talk 21:34, 3 April 2018 (UTC)
    Just FYI, operator User:Tohaomg has recently edited their user page (after this block) to indicate they have retired from editing in English Wikipedia for "excessive bureaucracy." Heights(Want to talk?) 05:12, 5 April 2018 (UTC)
    Thanks Heights, from what I can tell at Special:CentralAuth/TohaomgBot, getting blocked for policy violations has become common for this account. Nothing else to do at this time. — xaosflux Talk 18:59, 5 April 2018 (UTC)
    (edit conflict) Perhaps they merely claim to be retired. See Special:Contributions/ --Redrose64 🌹 (talk) 19:01, 5 April 2018 (UTC)
    Either way, the rogue bot issue has been dealt with. Primefac (talk) 14:59, 6 April 2018 (UTC)
  • Commenting as a member of BAG, this user was advised before that if they do it again, their bot will be blocked. This user has chosen to ignore that advice, and I am inclined to revoke bot approval entirely if this botop wishes to ignore our bot policies.—CYBERPOWER (Chat) 16:11, 6 April 2018 (UTC)


@Cyde: Cydebot (talk · contribs) has been acting up lately, here's one of the many examples. Cards84664 (talk) 02:31, 11 April 2018 (UTC)

I'm wondering if it was this edit by BrownHairedGirl (talk · contribs), where an extra space (possibly two) was used - ; [[ Wikipedia:Categories for discussion/Log/2018 April 3]] instead of ;[[Wikipedia:Categories for discussion/Log/2018 April 3]]. --Redrose64 🌹 (talk) 07:48, 11 April 2018 (UTC)
Thanks for the ping, @Redrose64.
Damn. I'm pretty sure my extra space was the culprit. Sorry.
I should have spotted the leading space in the source, but having missed that I was reassured that it rendered OK.
Obviously I should have taken more care, and will keep a close eye on this one in future ... but it also seems to me that this is a case for a small tweak to the bot. --13:35, 11 April 2018 (UTC) — Preceding unsigned comment added by BrownHairedGirl (talkcontribs)

How can I increase the API request limit?

I'm developing a bot that examines articles for signs of undisclosed paid editing. It's only gathering data, not making any edits. There are some API queries that I make where it would be useful to be able to return 5000 rather than 500 results at a time. Do I just apply for this like any other bot? I'm an admin and am using my rights for some queries. Ideally, I'd just have the bot flag added to this account, but I'm not sure if that's done. SmartSE (talk) 22:40, 22 April 2018 (UTC)

@Smartse: both sysops and bots have the same 'noratelimit' capability - so if you want this to run on a non-admin account you can apply for a bot flag. That being said, if you are pulling huge numbers of queries ensure you are using maxlag, running in series, and otherwise following all of the mw:API:Etiquette - you can use the standard BRFA process. If you are dealing with very very large results you may be better using a dump. — xaosflux Talk 22:53, 22 April 2018 (UTC)
@Xaosflux: both sysops and bots have the same 'noratelimit' capability Do you mean I can already request 5000? I think I tried before... but that may have been before I had OAuth working properly. Can you give me an idea of "huge numbers"? At the moment I'm maybe making a few per second at max. mw:API:Exturlusage is one where I need more returned. I have downloaded the dump of mw:Manual:Externallinks_table but it doesn't contain namespace information (despite having a column for it). If you know a better way to count how many links there are to specific domain then please let me know! SmartSE (talk) 23:13, 22 April 2018 (UTC)
@Smartse: From what I can tell, "highlimit" is already 500, normal users are 50 (from mw:API:Query). So if you want to move this to a bot and have it work at the same speed as your sysop account it will need a bot flag. "A few per second" (at 5000) per second is 900,000 results per min, thats a good way to get blocked by operations. — xaosflux Talk 23:26, 22 April 2018 (UTC)
Also the 'ratelimit' is about how often you can ask, not the size of the result (which is the limits I listed above). — xaosflux Talk 23:28, 22 April 2018 (UTC)
For /w/api.php?action=query&format=json&list=exturlusage&, I get 5000 using my bot. Check for "limits": { "exturlusage": 5000 } in the response. I only get 500 on this account. — JJMC89(T·C) 05:21, 23 April 2018 (UTC)
Retrieved from ""
This content was retrieved from Wikipedia :'_noticeboard
This page is based on the copyrighted Wikipedia article "Wikipedia:Bots/Noticeboard"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA