Wikidata:Requests for permissions/Bot/333Bot
- 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) 21:08, 30 November 2024 (UTC)[reply]
333Bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Alien333 (talk • contribs • logs)
Task/s: Add missing sitelinks to english wikisource based on their header templates there.
Code:
At s:User:Alien333/test#333Bot (will be run on PAWS toolforge in the end, as PAWS doesn't allow for automated running).
Function details: For wikisource pages in the Author, Portal, and Main namespaces, if their header template (which is mandatory there) contains the parameter wikidata along with a valid (Q[0-9]+) QID, but the item at that QID does not have the enws page as a sitelink, add this sitelink.
Volume: not very high, right now it would make about 140 edits, and then a few from time to time when QIDs are manually added to wikisource pages.
Frequency: I intend to make it weekly, or monthly, a) to give time to users to add themselves the sitelinks, and b) because this quantity doesn't warrant daily editing.
Before I understood that there were that many, I intented to go through it semi-automatedly with a variant of the current code (just asking for input("y/n:") before adding the sitelink, the logic is the same). The resulting edits (10 of them) can be judged here. It did not count any false positives.
— Alien 3
3 3 07:54, 22 November 2024 (UTC)[reply]
- I made 50 test edits (Special:Contribs/333Bot). In four of the first six, before I fixed it, it made some errors by replacing links. It will now never replace any sitelink, and only add one when there is none. (Most of the edits ended up being around biographical dictionaries, but it's a coincidence, it's only the 50 the PageGenerator gave first.) — Alien 3
3 3 17:27, 23 November 2024 (UTC)[reply]
- Support as a useful task, thanks for adding sitelinks. :) Thanks. Mike Peel (talk) 10:31, 24 November 2024 (UTC)[reply]