Wikidata:Requests for permissions/Bot/নকীব বট
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 --Lymantria (talk) 05:08, 12 May 2020 (UTC)[reply]
নকীব বট edit
নকীব বট (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Nokib Sarkar (talk • contribs • logs)
Task/s:
To add/remove Good article badge (Q17437798) of Bengali Wikipedia (bnwiki
) sitelink as a task of Good Article Management
Code: Using PyWikibot where I used the following algorithm:
if(result == "listed"):
updatedData["badges"] = ["Q17437798"]
elif(result == "delisted"):
updateData["badges"] = []
PageObject.data_item().setSitelink(updatedData)
Function details: I have botflag in Bengali Wikipedia for some tasks including managing Good article nominees and related tasks. One of the task is to add/remove Good Article Badge of the candidate according to review result. The bot may not edit all the time (3 time a day); but when a list of good articles will be detected, the bot may have to edit 3-4 edits/minute in order to add/remove badges. --Nokib Sarkar (talk) 23:11, 5 May 2020 (UTC)[reply]
- I am ready to approve this request in a couple of days, provided that no objections will be raised. Lymantria (talk) 16:54, 10 May 2020 (UTC)[reply]