Wikipedia:Bots/Requests for approval/Usernamekiran BOT 3
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
Operator: Usernamekiran (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:33, Sunday, July 26, 2020 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): AWB
Source code available: AWB, regex
Function overview: Insert banner on the talkpages of pages that come under the scope of wikiproject organised crime.
Links to relevant discussions (where appropriate): Wikipedia:Bots/Requests for approval/Usernamekiran BOT 2
Edit period(s): 3 to 4 times per week (each run around 10 minutes)
Estimated number of pages affected: more than 5000
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): No
Function details: The issues occurred during Wikipedia:Bots/Requests for approval/Usernamekiran BOT 2 have been rectified now. While making lists, I have been making them very carefully; so there would be no objections or addition to incorrect articles/subjects. The list making process can be seen in the edit history of Wikipedia:WikiProject Organized crime/Bot tagging categories, and Wikipedia:WikiProject Organized crime/Bot tagging categories/documentation.
Previously occurred error: special:diff/843217671, similar edit without error: special:diff/969699784.
The bot will not do any other changes other than adding this banner, except basic things like adding banner shell if banners exceed 3, old ProD.
I am aware there are other bots already approved with task (inlcuding Anomie's). But as I would be creating lists to be tagged sporadically, I do not want to keep nagging/bothering other bot-ops. And as of now I estimated there are somewhere around 5,000 to 8,000 pages that would need to be tagged. —usernamekiran (talk) 23:33, 26 July 2020 (UTC)[reply]
Discussion
[edit]Comment. @Usernamekiran: please can you describe:
- the problems which occurred before, and how you have fixed them.
- How you are making the lists. --BrownHairedGirl (talk) • (contribs) 14:27, 27 July 2020 (UTC)[reply]
- @BrownHairedGirl: In the original error edit special:diff/843217671 the
{{WikiProject Banner Shell|
parameter didnt have|1=
in it, the banner was placed outside the banner shell. The condition was same for special:diff/969699784. How did I fix it? I fixed it, but honestly speaking, I dont remember now how. I had been trying to fix it for few weeks after last BRFA. And even before that, I have been constantly improving it. Here is a discussion with Primefac on their talkpage before BRFA: special:permalink/824793019#AWB_module. Right after BRFA at WT:AWB: special:permalink/854668134#adding talkpage banner. There were many changes in the code, and eventually it was fixed. that was around October-November 2018 (I think). Even though I did not use AWB from my alt ac after August 2018, I am pretty sure I had found the fix before January 2019. - I am currently working on making lists only from Wikipedia:WikiProject Organized crime/Bot tagging categories/documentation. As I am very familiar with the wikiproject, I can easily identify what topics/articles fall under the scope, and which categories can be misleading. For example, Category:American drug traffickers might seem a no problem with being tagged; but a lot of the celebrities have been tagged under this category simply for possession of some recreational drug (including marijuana). This includes Jay-Z. If someone adds banner of "organised crime" on a celebrity's talkpage, the fanboys will go mad. A long time ago, I added the banner to a well reputed, and respected journalist's talkpage. An editor got sort of offended I think, but they politely asked on my talkpage that why I am associating the good man with organised crime. I responded on the talkpage of the article (with DNAU): because of his regular, and quality coverage of organised crime, the wikiproject is interested in him. This is also one of the reasons I dont want someone not familiar with the project working on this. To put it in very short, and simple words: I add the categories to AWB's make list and choose "category", that is non-recursive/base category. No scope for confusion, but because of familiarity and practice, I have got very fast at it.
- If there are further doubts, please ask :) —usernamekiran (talk) 15:51, 27 July 2020 (UTC)[reply]
- Many thanks, usernamekiran, for that detailed and thoughtful reply.
- You evidently know the topic area very well, and understand the many pitfalls. You are clearly v conscientious and know what you are doing, so I hope that the bot gets the go-ahead. --BrownHairedGirl (talk) • (contribs) 16:16, 27 July 2020 (UTC)[reply]
- thank you. Also, this is one more advantage over uninvolved bot-op. Whenever I do some maintenance changes to any article, I tend to read the article. It increases general knowledge through reading, and in this case, just in case the bot errs at some point, I will be able to see it. Although, most likely it will not happen; as I have been adding the banner through AWB, and no errors have come forward yet even though I came across multiple differences in source code of talk pages. —usernamekiran (talk) 18:22, 27 July 2020 (UTC)[reply]
- @BrownHairedGirl: In the original error edit special:diff/843217671 the
update: Apparently, the parameter |1= being missing wasnt the problem. I cant find out what is causing the problem. I have asked Anomie for help. Kindly do not close this BRFA, I am working to find a solution. If you can, please help; it will be appreciated a lot. —usernamekiran (talk) 20:04, 28 July 2020 (UTC)[reply]
- update 2: the problem has been fixed by updating the module.
- I recreated the scenarios where the problem was encountered, and the problem did not resurface: page 1 with glitch, page 1 without glitch.
- first glitch which was encountered two years ago during trial run of the bot: special:diff/843217671. Edit with glitch on July 29: special:diff/970021245. Successful edit on August 3: special:diff/970980182. Successful edit with exact circumstances that of two years ago: special:diff/970981547.
- page 3: added banner with one other banner previously present: special:diff/970974657. with two banners already present + banner shell: special:diff/970974779. successful edit with 1= missing: special:diff/970980576.
- In short: all the scenarios previously occurred, and that I could think of; have been successfully experimented without any errors. The bot is ready to have a trial run. —usernamekiran (talk) 14:37, 3 August 2020 (UTC)[reply]
- update 2: the problem has been fixed by updating the module.
update 3: I have been working on this task using AWB. I have also added basic "find and replace" settings to update non-controversial wikiproject template shortcuts to the full form. eg: for the shortcuts to wikiproject canada, I excluded shortcuts/redirects like "WikiProject Ontario", and "WP Quebec". So far, I have added settings for WikiProject British crime, WikiProject Canada, and WikiProject Cannabis. If it is permitted, then I will keep on including other projects to the the find-and-replace list, as I will be creating the lists carefully. The output doesn't have any problems: diff 1, diff 2, and diff 3. Kindly let me know if this is permitted, or if I shouldn't do this. Every time I make the changes, I will first test them through non-bot AWB. —usernamekiran (talk) 13:55, 10 August 2020 (UTC)[reply]
- clarification: Regarding updating the template shortcuts: I will be updating only shortcuts that do not have "wikiprojects" in them. I am doing this so that banner shell will be added appropriately, and project banners will not occupy visible space on talkpages. —usernamekiran (talk) 15:48, 11 August 2020 (UTC)[reply]
{{BAGAssistanceNeeded}} —usernamekiran (talk) 22:25, 15 August 2020 (UTC)[reply]
- I deactivated the template. Apologies for the impatience. —usernamekiran (talk) 07:20, 17 August 2020 (UTC)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Not sure why this keeps getting overlooked. Primefac (talk) 21:47, 1 September 2020 (UTC)[reply]
- @Primefac: the bot account doesnt have AWB, or the bot flag. —usernamekiran (talk) 21:55, 1 September 2020 (UTC)[reply]
- Fixed. Primefac (talk) 22:15, 1 September 2020 (UTC)[reply]
- @Primefac: I have AWB access now, but not the bot flag. —usernamekiran (talk) 22:26, 1 September 2020 (UTC)[reply]
- Bot's still in trial and does not need it. Primefac (talk) 22:43, 1 September 2020 (UTC)[reply]
- so I perform the edits just like normal AWB? Got a little confused because xaos had given the bot flag last time. Will do the editing in a couple of hours. —usernamekiran (talk) 00:54, 2 September 2020 (UTC)[reply]
- Bot's still in trial and does not need it. Primefac (talk) 22:43, 1 September 2020 (UTC)[reply]
- @Primefac: I have AWB access now, but not the bot flag. —usernamekiran (talk) 22:26, 1 September 2020 (UTC)[reply]
- Fixed. Primefac (talk) 22:15, 1 September 2020 (UTC)[reply]
- @Primefac: the bot account doesnt have AWB, or the bot flag. —usernamekiran (talk) 21:55, 1 September 2020 (UTC)[reply]
Trial complete. Checked all the diffs. No issues found, worked properly under the circumstances where it erred previously. Everything working as expected. Properly updating other templates like {{BLP}}
, changed {{Template:WikiProject Drug Policy|class=|importance=}}
to {{WikiProject Drug Policy|class=|importance=}}
and added banner shell in the same edit, changed {{WPUS}}
to {{WikiProject United States}}
here, no issues with "image requested", or "ITN", "pageview", or other templates. —usernamekiran (talk) 04:50, 2 September 2020 (UTC)[reply]
- @Primefac: not exactly in a hurry, but I think we should get this behind. —usernamekiran (talk) 03:47, 9 September 2020 (UTC)[reply]
- Approved. Please make sure your edit summaries link to this task. Primefac (talk) 16:24, 15 September 2020 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard.