Wikidata:Requests for permissions/Bot/MsynBot 10
- 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) 20:24, 12 November 2022 (UTC)[reply]
MsynBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: MisterSynergy (talk • contribs • logs)
Task/s: manage badges in sitelinks to redirects
Code: currently in my PAWS account here; will be tweaked where necessary, then migrated to the msynbot
Toolforge tool and run from there (roughly weekly)
Function details: now that we finally have the ability to use redirect pages on client wikis as sitelinks (details at Wikidata:Sitelinks to redirects), we can also add the badges sitelink to redirect (Q70893996) and intentional sitelink to redirect (Q70894304) to those sitelinks. While the UI requires users to add those badges for newly connected redirect pages, there are ~500.000 old cases of sitelinks to redirect pages without such a badge, and there are continuously relatively few cases showing up from actions on client wikis (e.g. page that is connected to Wikidata is turned into a redirect). This bot should do away with the backlog and subsequently run weekly in order to keep badges in sync with the redirect status on client wikis. Proposed behavior:
- find sitelink to redirect, but redirect target does not exist on client wiki: remove sitelink
- find sitelink to redirect without any badge: add sitelink to redirect (Q70893996)
- find sitelink to non-redirect with sitelink to redirect (Q70893996) and/or intentional sitelink to redirect (Q70894304) badge: remove sitelink badges
- find sitelink to redirect with both sitelink to redirect (Q70893996) and intentional sitelink to redirect (Q70894304) badges: remove sitelink to redirect (Q70893996) (as per Wikidata:Sitelinks to redirects, we do not need both badges on the same sitelink)
- write a report for sitelinks to redirects with an unconnected redirect target page (to allow manual inspection by the community)
—MisterSynergy (talk) 08:20, 4 November 2022 (UTC)[reply]
- Support All sounds good to me, thanks! ArthurPSmith (talk) 13:39, 4 November 2022 (UTC)[reply]
- Support The logic makes sense, thank you! --Okami (talk) 14:01, 7 November 2022 (UTC)[reply]
- Support very much needed --Epìdosis 20:08, 7 November 2022 (UTC)[reply]