Commons:Bots/Requests/YiFeiBot (26)
< Commons:Bots | Requests
Operator: Zhuyifei1999 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: From COM:BWR, mostly similar to Commons:Bots/Requests/YiFeiBot_(20), differences:
- Operate on {{Authority control}} in subcategories of Category:Pages using authority control without Wikidata
- Get the WikiData IDs from connected interlanguages links (articles only) in the category page, instead of from interwiki links in the creator template. Interlanguage link filtering from Commons:Bots/Requests/YiFeiBot_(22) is re-used here
- Instead of using the multi-line template syntax of creator templates, this will use the minified one-line template syntax for added
|Wikidata=
parameter. - No reporting mismatch of authority IDs: I don't think anyone watch them anyways. Besides, {{Authority control}} has been made to report them automatically via categories.
Automatic or manually assisted: Automatic unsupervised
Edit type (e.g. Continuous, daily, one time run): weekly
Maximum edit rate (e.g. edits per minute): 6 edits / min
Bot flag requested: (Y/N): N
Programming language(s): python: pywikibot
Zhuyifei1999 (talk) 09:36, 22 June 2016 (UTC)
Discussion
- Test run
Done 20 edits --Zhuyifei1999 (talk) 09:43, 22 June 2016 (UTC)
- Can't the wikidata stuff be directly pulled by some magic? --Krd 10:19, 22 June 2016 (UTC)
- Magic? I haven't taught my bot magic-crafting; in fact, I don't know much magic here. Perhaps you can find a magician for me? --Zhuyifei1999 (talk) 11:37, 22 June 2016 (UTC)
- Can't the wikidata stuff be directly pulled by some magic? --Krd 10:19, 22 June 2016 (UTC)
- The test run looks good. The bot logic should be very simple, so I do not expect much misfiring. All the mismatches are reported in Category:Pages using authority control with parameters where I (I do not notice anybody else doing it) clean them by hand. As for pulling wikidata items by some magic. I can not think of a way to do it. The wikidata items might be already linked to the categories through Commons category (P373) but there is no way for us to detect it (that I know of). In the mean time our {{Authority control}} templates are much better off with more up-to-date Wikidata identifiers. and Wikidata can benefit from merging with Commons identifiers. Please approve. --Jarekt (talk) 13:05, 22 June 2016 (UTC)
- I think will be good idea to change edit summary text to make clear that Wikidata ID is added to Template:Authority control call. --EugeneZelenko (talk) 13:59, 22 June 2016 (UTC)
Done 21 edits Special:Diff/199670971 had an unexpected space (fixed now) --Zhuyifei1999 (talk) 16:26, 22 June 2016 (UTC)
If there are no objections, I think task should be approved. --EugeneZelenko (talk) 14:03, 24 June 2016 (UTC)
Agree --Jarekt (talk) 18:47, 24 June 2016 (UTC)