The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was  Approved.

Operator: Path slopu (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 10:12, Saturday, September 7, 2019 (UTC)

Automatic, Supervised, or Manual: supervised

Programming language(s): JWB

Source code available: JWB

Function overview: Adding navigation boxes in the bottom of articles.

Links to relevant discussions (where appropriate):

Edit period(s): as needed

Estimated number of pages affected: thousands

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): No

Function details: I would like to use bot for adding navboxes in the articles of appropriate topics.

For example, adding navboxes listed in Category:District templates and its subcategories in approprite article.

I am doing this with my normal account with JWB.

eg: [1], [2], [3]

I'd like to extend this activity with the help of bot. Thank you.

Discussion[edit]

Is there some kind of process to decide which articles require which navbox? Jo-Jo Eumerus (talk, contributions) 17:52, 7 September 2019 (UTC)[reply]
Seconded. As it stands there is a CONTEXTBOT issue. Primefac (talk) 18:45, 7 September 2019 (UTC)[reply]
Also, am I reading this correctly that you want permission to make an unknown number of edits to an unknown list of pages to place an unspecified template at the bottom? Primefac (talk) 18:45, 7 September 2019 (UTC)[reply]
@Jo-Jo Eumerus and Primefac:, Hi greetings, I am doing this job successfully with my normal account. We can find and list appropriate articles from categories. For example articles in Category:Villages in Kottayam district (only an example) can be listed for one run in JWB and add template (here ((Kottayam district))) in articles which haven't it. We can add a particular template in one run in appropriate articles listed from a category and its subcategories.
The number of pages editing is as much as possible. All the edits will be supervised. That is I'll make a list of categories for adding templates and complete the task in one category in one run, which is doing now with my normal account. Articles in each category have an appropriate template to be added. The category may have hundreds of pages (normally 150-300). Regards. --PATH SLOPU 15:56, 8 September 2019 (UTC)[reply]
If it's going to be fully-supervised, you could create an alternate "JWB" account, request AWB access, and skip the bot process altogether. Primefac (talk) 16:56, 8 September 2019 (UTC)[reply]
@Primefac: Hi greetings, can I use this account (Pathbot) for that instead of new account? Regards.PATH SLOPU 04:34, 9 September 2019 (UTC)[reply]
I assume the addition of these navboxes is considered relatively uncontroversial? Also, what do you suspect the frequency/speed to be of these editing runs? Primefac (talk) 23:50, 12 September 2019 (UTC) (please do not ping on reply)[reply]
It will be nearly 150 to 400 pages in one run (usual case, but bot can list upto 5000 pages). Each edit will be saved within 1 second. It may decrease or increase depending on network connection, etc.--PATH SLOPU 08:06, 13 September 2019 (UTC)[reply]
((BAGAssistanceNeeded))-PATH SLOPU 12:54, 19 September 2019 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Account has been added to the AWB checkpage. Primefac (talk) 00:46, 24 September 2019 (UTC)[reply]
Trial complete.Completed the trial (50 edits) using JWB. Contribs--Special:Contributions/Pathbot. Please check. Regards.--PATH SLOPU 14:47, 24 September 2019 (UTC)[reply]
((BAGAssistanceNeeded))--PATH SLOPU 15:25, 30 September 2019 (UTC)[reply]
A couple of comments (not doing any approvals or anything because this is one of my first BRFA edits while a BAG member): edits of the pattern "add the navbox for X district to all articles in 'Category:Villages in X district'" are likely to involve lots of human supervision, so I suspect that part may not need a BRFA. However, the function overview and details are very broad, and cover much more than just doing that.
Also, regarding the edits: it looks like the navbox is going on the same line as the categories in at least one case (see this edit). I don't think that's the usual convention, so you probably want to drop another newline or two somewhere in your regular expressions. Enterprisey (talk!) 03:40, 6 October 2019 (UTC)[reply]
Enterprisey, Thank you for the comment. I fixed the issue (navbox and category in same line) in the pages which the bot have edited. I will consider this in my future edits. Regards. PATH SLOPU 08:40, 6 October 2019 (UTC)[reply]
@Path slopu: Since this is a supervised AWB run, will you look out for that the issue (navbox and category in the same line) and resolve it? (or do you have another mitigation in mind?) Apologies if the question seems odd or repetitive, just want to clarify. --TheSandDoctor Talk 01:20, 12 October 2019 (UTC)[reply]
TheSandDoctor, Hi greetings, I have fixed the issue after the post of Enterprisey by making changes in RegEx. Please see this. I won't try to add navboxes and categories in same line in future edits. Thank you. PATH SLOPU 10:43, 12 October 2019 (UTC)[reply]

 Approved. Note that since this is a manual/supervised AWB task, I will not be granting the bot flag (i.e. this account is essentially an "AWB" account). On that note, though, please make sure that this task is linked to in the edit summary so that there are fewer questions/issues. Primefac (talk) 12:48, 12 October 2019 (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 WT:BRFA.