Wikidata:Requests for permissions/Bot/FLOSSbot 4
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 07:32, 20 October 2016 (UTC)[reply]
FLOSSbot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Dachary (talk • contribs • logs)
Task/s: import license from wikipedia for FLOSS items that have no license claim
Code: https://phabricator.wikimedia.org/project/profile/2250/
Function details: FLOSS bot adds the copyright license (P275) to FLOSS software, if no such claim exists. It gets the license from all wikipedia for which a sitelink exists by parsing the software infobox. If all wikipedia have exactly the same license, the claim is created. Otherwise a message is displayed for the editor to resolve the conflicting information. A imported from Wikimedia project (P143) reference is set for each wikipedia in which the license has been found and a retrieved (P813) reference is set with the date at which the claim was created.
The infobox template names and the license field name vary in non predictable ways across wikipedia. The 10 largest wikipedia (as shown on the home page of wikipedia.org) have been tested. Infobox from other wikipedia may be missed if the template does not contain the word Infobox or if the field name is not a translation of the english word License. --Dachary (talk) 21:39, 12 October 2016 (UTC)[reply]
- The bot will be approved in a couple of days provided there have been no objections raised.--Ymblanter (talk) 18:43, 16 October 2016 (UTC)[reply]