Wikipedia:Bots/Requests for approval/KasparBot


 * 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 Symbol keep vote.svg Approved

KasparBot
Operator:

Time filed: 11:29, Wednesday, April 8, 2015 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Java

Source code available: General API, especially NormdatenTask2

Function overview: The Bot will analyse all articles in namespace 0 which embed Template:Authority control. For every property of this template the bot checks if it is stored in wikidata. If not it will add a claim on Wikidata (KasparBot is a bot on Wikidata). If Wikidata has conflicting information the Article will be skipped. After this the bot checks whether all information is stored in wikidata now. In that case the information will be removed from wikipedia and a plain  will be included.

Links to relevant discussions (where appropriate):

Edit period(s): one time run

Estimated number of pages affected: 280,000

Exclusion compliant (Yes/No): Yes

Already has a bot flag (Yes/No): No

Function details:
 * fetch all articles with
 * fetch the corresponding wikidata item
 * fetch the key-value-pairs of that template in this article
 * compare with the articles wikidata item
 * 1) template value = wikidata claim → Okay
 * 2) no wikidata claim → add wikidata claim → Okay
 * 3) template value ≠ wikidata claim → skip
 * if everything is okay the bot replaces  with

Discussion

 * Have you considered doing something to identify those articles where the values are not the same (maybe similar to Category:Official website different in Wikidata and Wikipedia), so humans can go back and make the appropriate fixes? GoingBatty (talk) 01:59, 9 April 2015 (UTC)
 * As mentioned in function details all articles/wikidata entities with conflicting information will be skipped. I could add a category membership but implementing this functionality in the authority control template is in my eyes the best option. Even though it isn't important for the bot's task. -- T.seppelt (talk) 06:01, 9 April 2015 (UTC)
 * Thanks - asked at Template talk:Authority control instead. GoingBatty (talk) 21:33, 9 April 2015 (UTC)
 * Great! -- T.seppelt (talk) 07:09, 10 April 2015 (UTC)

((BAG assistance needed))

-- Magioladitis (talk) 15:38, 24 April 2015 (UTC)

-- T.seppelt (talk) 21:36, 24 April 2015 (UTC)

T.seppelt please provide me some diffs. -- Magioladitis (talk) 09:37, 25 April 2015 (UTC)

Please have a look at the bot's contribs. Some examples:, , ,. I didn't notice any mistakes. Regards, --T.seppelt (talk) 11:05, 25 April 2015 (UTC)

T.seppelt Before requesting a flag and starting the bot please add a description of the task at User:KasparBot with a link here. -- Magioladitis (talk) 19:17, 25 April 2015 (UTC)

-- Magioladitis (talk) 19:13, 25 April 2015 (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.