Wikipedia:Bots/Requests for approval/JarBot 2


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was

JarBot 2
Operator:

Time filed: 08:51, Tuesday, March 27, 2018 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): python

Source code available: Pywikibot

Function overview:

Links to relevant discussions (where appropriate):

Edit period(s): one time run for 26302 page and after that one time in month or daily

Estimated number of pages affected: 26302 for now

Namespace(s): 0 and 14 14

Exclusion compliant (Yes/No): yes

Function details:

Discussion
Adds commonscat to articles and categorys based on wikidata.--جار الله (talk) 08:56, 27 March 2018 (UTC)


 * All of the estimates above need to be first identified, assuming this is a huge task this will need a wider discussion first. — xaosflux  Talk 14:04, 27 March 2018 (UTC)
 * Let focus only on namespace 14 for now, there is 260864 category that have Commons category and Commons, and the wikidata items that have Commons category and page in enwiki just 287166. That mean there is 26302 page and the edit in categorys is simple.--جار الله (talk) 15:21, 27 March 2018 (UTC)


 * Please post results and diffs here when done with trial run. — xaosflux  Talk 18:03, 28 March 2018 (UTC)
 * 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
 * this is 30 edits but the last check there is:
 * 324175 page have Commons category or Commons or Category redirect
 * 287096 categorys in wikidata items that have Commons category and page in enwiki
 * 63033 categorys that have wikidata items have Commons category and page in enwiki but don't have this templates Commons category or Commons or Category redirect
 * Now the bot skip any category that have this templates: Sisterlinkswp, Commonscat4Ra, Template category, Category commons, Wikipedia category, Commons category, Category redirect, Cc, Wikicommons, Commons Category, CC, Common, Sisterlinks, Commonsimages cat, Ccat, COMMONSCAT, Wikimedia commons cat, Commonscategory, Tracking category, Commons, C cat, Commoncats, Commonscat1A, Commonscat, Commons cat, Sister project links.
 * Is there any templates that need to be add to list?, and is there any templates that need to remove from the list?, thanks.--جار الله (talk) 02:04, 29 March 2018 (UTC)


 * جار الله the edits are looking good, please run this on a bigger selection of articles and report back here (you do not need to list all the individual diffs). The selection of templates you identified look good as well. —  xaosflux  Talk 15:55, 30 March 2018 (UTC)
 * .--جار الله (talk) 18:59, 30 March 2018 (UTC)


 * — xaosflux  Talk 17:20, 31 March 2018 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.