Wikipedia:Bots/Requests for approval/KiranBOT 11
Tools
Actions
General
Print/export
In other projects
Appearance
From Wikipedia, the free encyclopedia
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: Usernamekiran (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:01, Tuesday, September 17, 2024 (UTC)
Function overview: check, and remove QIDs in "Infobox person/Wikidata"
Automatic, Supervised, or Manual:
Programming language(s): pywikibot
Source code available:
Links to relevant discussions (where appropriate): at WP:BOTREQ, permalink
Edit period(s): monthly
Estimated number of pages affected: around 312 as of this request, then as they come
Namespace(s): main, and one page in bot's userspace.
Exclusion compliant (Yes/No): yes
Function details: The bot goes through Category:Infobox person Wikidata using qid, and:
- checks that the
|qid=
value matches the QID of the article's matched Wikidata item - if so, delete the entire
|qid=
line, as in this edit - if they mismatch, add such articles to User:KiranBOT/List of mismatched QID for manual checking and resolution. —usernamekiran (talk) 16:01, 17 September 2024 (UTC)[reply]
Discussion
[edit]- I have already made some null/local saves, and tested the third step from above. The tests were good, and the third step's output can be seen at User:KiranBOT/List of mismatched QID. These wont be cosmetic edits. —usernamekiran (talk) 16:01, 17 September 2024 (UTC)[reply]
- Support as requester. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:59, 17 September 2024 (UTC)[reply]
- {{BAG assistance needed}} —usernamekiran (talk) 08:42, 5 October 2024 (UTC)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — The Earwig (talk) 15:38, 5 October 2024 (UTC)[reply]
- Trial complete. the 50 edits. Since before filing the BRFA, there has been an issue with blank lines. As can be seen in this diff, the bot removes the qid parameter, but leaves a blank line in its position. I tried a lot different methods/regexes, but they were causing other issues, like merging two lines together. Also, there are usually blank lines in "Infobox person/Wikidata". Other than that, there were no issues. —usernamekiran (talk) 20:29, 6 October 2024 (UTC)[reply]
- Blank lines aren't ideal, but they're not a major issue. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:57, 6 October 2024 (UTC)[reply]
- {{BAG assistance needed}} —usernamekiran (talk) 17:05, 13 October 2024 (UTC) Jeez, get distracted for half an hour or so and everyone and their mother pings you... Primefac (talk) 17:20, 13 October 2024 (UTC)[reply]
- Approved. Primefac (talk) 17:20, 13 October 2024 (UTC)[reply]
- 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 Wikipedia:Bots/Noticeboard.