Wikidata:Requests for permissions/Bot/Pi bot 16
- 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) 19:29, 22 December 2020 (UTC)[reply]
Pi bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Mike Peel (talk • contribs • logs)
Task/s: Import new Commons sitelinks from enwp
Code: Available on BitBucket
Function details: The code looks through en:Category:Commons category link is the pagename and en:Category:Commons category link is defined as the pagename to find Commons category links that can be imported, and then adds them as the Commons sitelink here. These are only cases where the Commons category and the enwp article titles match. It does *not* look through en:Category:Commons category link is locally defined, as that is a more complex case. This should be a high-confidence set of links that can be auto-imported. I've been manually doing this for some time now without issue - and I'd like to stop doing so in favour of an automated script that runs frequently (somewhere between daily and hourly). Example edits are [1], [2], [3]. Thanks. Mike Peel (talk) 20:15, 18 December 2020 (UTC)[reply]