User talk:CategorizationBot
Welcome Before you ask please check the FAQ. |
Please make this bot stop edit warring with another bot[edit]
Hi Multichill, can you and Doc Taxon figure out at way to stop CategorizationBot from edit warring with User:TaxonBot? So far, there have been three rounds of CatBot claiming that this screenshot is uncategorized, followed by TaxonBot saying (correctly) that it is categorized. I'm not sure where the problem lies (perhaps there's something odd about {{Wikipedia-screenshot}}?), but I'd like to have it fixed. Thanks (and good luck!), WhatamIdoing (talk) 04:42, 30 May 2015 (UTC)
- Don't use templates to add images to topic categories. Now Category:Wikimedia screenshots is completely overloaded because it's added by the template and many pictures are over categorized. Replace it with a hidden category like Category:Wikimedia screenshots categorized by template, categorize the uncategorized images and remove it tracker category. Multichill (talk) 11:19, 31 May 2015 (UTC)
> Don't use templates to add images to topic categories.
- Is this some sort of policy bot writers can rely on? --McZusatz (talk) 13:17, 31 May 2015 (UTC)
- Compare with this: File:2005-1-7-1-zhwp.gif. This source is of the same kind, categorization by template. But CategorizationBot ignores this file. And a template categorization as this is okay. CategorizationBot should include template categorizations, I don't know its code source. Thank you very much, Doc Taxon (talk) 05:04, 1 June 2015 (UTC)
- If it is not legal in commons to categorize by template, so modify all those templates and include the category to the source of the file pages. To stop the edit warring I added the category to the source now. Thanks again, Doc Taxon (talk) 05:14, 1 June 2015 (UTC)
- @WhatamIdoing: @Doc Taxon: blacklisted to prevent images being bounced around. If this ever gets cleaned up we can always remove it again. Multichill (talk) 10:22, 17 June 2015 (UTC)
- If it is not legal in commons to categorize by template, so modify all those templates and include the category to the source of the file pages. To stop the edit warring I added the category to the source now. Thanks again, Doc Taxon (talk) 05:14, 1 June 2015 (UTC)
Category Blacklist[edit]
Category:Gallery pages with broken file links needs to be blacklisted, I'm getting pissed to remove hundreds, sometimes thousands, of images from this cat every month. --Denniss (talk) 11:07, 16 June 2015 (UTC)
- @Denniss: I'm sorry to hear that. I wasn't aware of this. I'm quite confident this should fix it. Multichill (talk) 10:19, 17 June 2015 (UTC)
- Thanks. --Denniss (talk) 13:57, 17 June 2015 (UTC)
Bots[edit]
You are receiving this message because a technical change may affect a bot, gadget, or user script you have been using. The breaking change involves API calls. This change has been planned for two years. The WMF will start making this change on 30 June 2015. A partial list of affected bots can be seen here: https://lists.wikimedia.org/pipermail/wikitech-l/2015-June/081931.html This includes all bots that are using pywikibot compat. Some of these bots have already been fixed. However, if you write user scripts or operate a bot that uses the API, then you should check your code, to make sure that it will not break.
What, exactly, is breaking? The "default continuation mode" for action=query requests to api.php will be changing to be easier for new coders to use correctly. To find out whether your script or bot may be affected, then search the source code (including any frameworks or libraries) for the string "query-continue". If that is not present, then the script or bot is not affected. In a few cases, the code will be present but not used. In that case, the script or bot will continue working.
This change will be part of 1.26wmf12. It will be deployed to test wikis (including mediawiki.org) on 30 June, to non-Wikipedias (such as Wiktionary) on 1 July, and to all Wikipedias on 2 July 2015.
If your bot or script is receiving the warning about this upcoming change (as seen at https://www.mediawiki.org/w/api.php?action=query&list=allpages ), it's time to fix your code!
- The simple solution is to simply include the "rawcontinue" parameter with your request to continue receiving the raw continuation data (example <https://www.mediawiki.org/w/api.php?action=query&list=allpages&rawcontinue=1>). No other code changes should be necessary.
- Or you could update your code to use the simplified continuation documented at https://www.mediawiki.org/wiki/API:Query#Continuing_queries (example <https://www.mediawiki.org/w/api.php?action=query&list=allpages&continue=>), which is much easier for clients to implement correctly.
Either of the above solutions may be tested immediately, you'll know it works because you stop seeing the warning.
Do you need help with your own bot or script? Ask questions in e-mail on the mediawiki-api or wikitech-l mailing lists. Volunteers at m:Tech or w:en:WP:Village pump (technical) or w:en:Wikipedia:Bot owners' noticeboard may also be able to help you.
Are you using someone else's gadgets or user scripts? Most scripts are not affected. To find out if a script you use needs to be updated, then post a note at the discussion page for the gadget or the talk page of the user who originally made the script. Whatamidoing (WMF) (talk) 19:03, 17 June 2015 (UTC)