Commons:Bots/Requests/JeffGBot 5
< Commons:Bots | Requests
Operator: Jeff G. (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought:
Use COM:AWB, COM:JWB, or COM:VFC to do mundane non-controversial maintenance things at higher speeds than humans are expected to perform, while not clogging up recent changes.Specifically, substitute templates that must be substituted in the intended namespaces. There are 212 such templates which transclude {{Must be substituted}} in their descriptions and are therefore listed here per this count, but some of the templates may not be transcluded at present. Of course, VFC can only be used in filespace. I have already made 309 such edits (listed here) to subst Template:PD-Trademark-Text-Logo using JWB and my main account, without enhanced speed and edit summary, but the process would be more efficient if I were allowed to go faster using my bot account and flag.
Automatic or manually assisted: Manually assisted for AWB and JWB, automatic for VFC
Edit type (e.g. Continuous, daily, one time run): One time runs at the discretion of the operator, one template at a time
Maximum edit rate (e.g. edits per minute): 60 edits per minute for semiautomatic AWB and JWB or as fast as VFC can go
Bot flag requested: (Y/N): N (already have it)
Programming language(s): AWB, JWB, or VFC (Compiled C++, JavaScript)
— Jeff G. ツ please ping or talk to me 13:31, 30 March 2018 (UTC)
Discussion
- OK with me as long as detailed edit summaries are used. --EugeneZelenko (talk) 14:00, 30 March 2018 (UTC)
- @EugeneZelenko: My initial summary is "Bot: Substing Template:TEMPLATENAMEHERE. (Task 5)", but I am open to suggestions. — Jeff G. ツ please ping or talk to me 14:04, 30 March 2018 (UTC)
- Please perform some test edits on the bot account. --Schlurcher (talk) 22:29, 1 April 2018 (UTC)
- @Schlurcher: Here are 21 test edits substing Template:Flickr author with JWB. I need help in telling VFC how to select such files, if that is even possible. — Jeff G. ツ please ping or talk to me 23:10, 1 April 2018 (UTC)
- Try mw:Help:CirrusSearch#Hastemplate --Zhuyifei1999 (talk) 23:34, 1 April 2018 (UTC)
- @Zhuyifei1999: Thanks, I will. — Jeff G. ツ please ping or talk to me 23:48, 1 April 2018 (UTC)
- Try mw:Help:CirrusSearch#Hastemplate --Zhuyifei1999 (talk) 23:34, 1 April 2018 (UTC)
- @Schlurcher: Here are 21 test edits substing Template:Flickr author with JWB. I need help in telling VFC how to select such files, if that is even possible. — Jeff G. ツ please ping or talk to me 23:10, 1 April 2018 (UTC)
- I'm generally very supportive of this task. There are some comments I have regarding the test edits and the task in general.
- To some extent this task should also be educational to the user adding the template in the first place. It would be good to have subst: somewhere in the edit summary. Something like: Bot: Applying subst: to Template:TEMPLATENAMEHERE. (Task 5)"
- For {{Flickr author}} a recursive subst is necessary: {{subst:Flickr author|nsid=XXXX|name=John Doe|subst=subst:}}. Otherwise, the #if are not resolved leading to ugly code. See: [1] for an example and [2] for an explanation.
- I'm not sure if templates should be substed outside of their intended namespace. Discussion-worthy example from the test edits is: [3]. Another examples might be the template {{Npd}}. This template is intended to be used in the file namespace. I'm not sure if it should be, for example, substed in the user namespace. Users may place it there just as a template for further use.
- --Schlurcher (talk) 21:13, 4 April 2018 (UTC)
- Recursive subst is now done automatically on the template code side without needing
|subst=subst
, using a documented workaround --Zhuyifei1999 (talk) 01:21, 5 April 2018 (UTC)- @Schlurcher and Zhuyifei1999: Thank you for your comments. I can certainly use that summary and check for the need to recursively subst. An enabled template like {{Npd}} could lead to deletion in seven days if the enabler is not careful, no matter what I do. — Jeff G. ツ please ping or talk to me 02:05, 5 April 2018 (UTC)
- Thanks, no further comments. --Schlurcher (talk) 16:48, 6 April 2018 (UTC)
- @Schlurcher: You're welcome. — Jeff G. ツ please ping or talk to me 07:08, 7 April 2018 (UTC)
- Thanks, no further comments. --Schlurcher (talk) 16:48, 6 April 2018 (UTC)
- @Schlurcher and Zhuyifei1999: Thank you for your comments. I can certainly use that summary and check for the need to recursively subst. An enabled template like {{Npd}} could lead to deletion in seven days if the enabler is not careful, no matter what I do. — Jeff G. ツ please ping or talk to me 02:05, 5 April 2018 (UTC)
- Recursive subst is now done automatically on the template code side without needing
- Could you please describe why in Special:Diff/294948008 the subst should have been done? To be honest, I don't get that.
In any case I'd advise to double check if the templates in question are marked as subst-only for good reason, as it may be difficult to undo that later without knowing who did the substs. --Krd 06:50, 7 April 2018 (UTC)- @Krd: I'm sorry, I should have considered the need for double subst. You would have to ask User:Jean-Frédéric why the template should be substed in the first place per this edit. — Jeff G. ツ please ping or talk to me 07:08, 7 April 2018 (UTC)
- I'd say it would be your job as bot operator to make sure in any way that the substs are reasonable, because as said it is way more difficult as normal to detect and undo mistakes. --Krd 07:21, 7 April 2018 (UTC)
- @Krd: Point taken. In this case, both substs looked reasonable in HTML, the single subst not so much in wikitext. — Jeff G. ツ please ping or talk to me 07:29, 7 April 2018 (UTC)
- I'd still say this should be undone, the wikitext of the file page is unreadable now. --Krd 05:39, 15 April 2018 (UTC)
- @Krd: @Zhuyifei1999 undid what I saw as the unreadability 01:20, 5 April 2018 (UTC) in this edit. Do you think "[[flickruser:aljazeeraenglish|Al Jazeera English]]" is unreadable? I don't. — Jeff G. ツ please ping or talk to me 11:02, 15 April 2018 (UTC)
- @Krd: I have fixed the rest in these edits. — Jeff G. ツ please ping or talk to me 12:21, 23 April 2018 (UTC)
- I'd still say this should be undone, the wikitext of the file page is unreadable now. --Krd 05:39, 15 April 2018 (UTC)
- @Krd: Point taken. In this case, both substs looked reasonable in HTML, the single subst not so much in wikitext. — Jeff G. ツ please ping or talk to me 07:29, 7 April 2018 (UTC)
- I'd say it would be your job as bot operator to make sure in any way that the substs are reasonable, because as said it is way more difficult as normal to detect and undo mistakes. --Krd 07:21, 7 April 2018 (UTC)
- @Krd: I'm sorry, I should have considered the need for double subst. You would have to ask User:Jean-Frédéric why the template should be substed in the first place per this edit. — Jeff G. ツ please ping or talk to me 07:08, 7 April 2018 (UTC)
- @Jeff G.: I don't support nor see the grounds for approval of "Use COM:AWB, COM:JWB, or COM:VFC to do mundane non-controversial maintenance things at higher speeds than humans are expected to perform, while not clogging up recent changes", I think you should strike that section and focus on approval for the specific task at hand. "Mundane" and "non-controversial" is very subjective and at this point in time, I do not think you are an experienced enough operator for such approval. Best, ~riley (talk) 07:32, 23 April 2018 (UTC)
- @~riley: I struck it out. — Jeff G. ツ please ping or talk to me 13:15, 23 April 2018 (UTC)
- @Jeff G.: Please make another test run, if possible for different templates. Thank you. --Krd 13:09, 10 May 2018 (UTC)
- @Krd: Ok, here are 41 more edits using AWB, substing two different templates (not at the same time). — Jeff G. ツ please ping or talk to me 14:33, 10 May 2018 (UTC)
- Looks good to me. I'd say this should be approved. --Krd 15:08, 10 May 2018 (UTC)
- Agree. We had amble time to comment. @Jeff G.: consider to deactivate that AWB will edit the section instead of the whole article. Imho, it will only unnecessary enlarge the edit summary. --Schlurcher (talk) 16:09, 10 May 2018 (UTC)
- @Schlurcher: Thank you for that suggestion, I found and checked Option "Do not use section edit summaries". It is especially annoying when changing section headers.
Can JeffGBot please be "registered in the Bots section of the checkpage" per en:Wikipedia:AutoWikiBrowser/User_manual#Bots?— Jeff G. ツ please ping or talk to me 01:34, 11 May 2018 (UTC)
- @Schlurcher: Thank you for that suggestion, I found and checked Option "Do not use section edit summaries". It is especially annoying when changing section headers.
- Agree. We had amble time to comment. @Jeff G.: consider to deactivate that AWB will edit the section instead of the whole article. Imho, it will only unnecessary enlarge the edit summary. --Schlurcher (talk) 16:09, 10 May 2018 (UTC)
- Looks good to me. I'd say this should be approved. --Krd 15:08, 10 May 2018 (UTC)
- @Krd: Ok, here are 41 more edits using AWB, substing two different templates (not at the same time). — Jeff G. ツ please ping or talk to me 14:33, 10 May 2018 (UTC)
- Great. You are looking for this page: Commons:AutoWikiBrowser/CheckPage.
The closing buerocrat might be so kind to add you directly.--Schlurcher (talk) 05:02, 11 May 2018 (UTC) (Both you and your bot are listed already)- @Schlurcher: Apologies, this is the first time I am using AWB with a bot flag, and I misinterpreted the reason for the greying-out of some of the boxes on the "Bots" tab (the reason now is that "Auto save" wasn't checked; before it was because I didn't have the bot flag). I contemplate setting "Delay" to 1 "seconds between edits" and checking 'Suppress "using AWB" in edit summary'. With those settings, I just did 37 edits substing {{Please link images}} at a rate of 29 edits/min. Commons:Message templates and its children don't subst, I think changing that would need consensus and might be a bad idea because they document the current state of affairs dynamically by design. — Jeff G. ツ please ping or talk to me 02:20, 12 May 2018 (UTC)
- Great. You are looking for this page: Commons:AutoWikiBrowser/CheckPage.
Approved. --Krd 05:32, 13 May 2018 (UTC)