Wikipedia:Bots/Requests for approval/Petan-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 WT:BRFA. The result of the discussion was
Request Expired.
Operator: Petrb (talk · contribs)
Time filed: 09:09, Saturday March 26, 2011 (UTC)
Automatic or Manually assisted: Automatic
Programming language(s): c++
Source code available: no
Function overview: Updating stuff for huggle
Links to relevant discussions (where appropriate):
Edit period(s): daily
Estimated number of pages affected: 20 - 40
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): N
Function details: Synchronize warning templates of huggle with templates project (it would create a copy of templates and change the syntax)
Discussion
[edit]It would copy the templates from Wiki project user templates to the Template:Huggle templates and changed its syntax to correct for huggle. Petrb (talk) 13:02, 27 March 2011 (UTC)[reply]
- Where does it get the source list of the templates (how would the bot know it has got the right templates)? By what rules does it rename the template? How does it alter the template markup -- i.e. what changes are made and which parts of the templates need to be converted for Huggle?
- Has there been a discussion for the need of Huggle-specific versions for each template? — HELLKNOWZ ▎TALK 13:36, 27 March 2011 (UTC)[reply]
- List is stored in own task config, it only take content of one template and replace other template used by huggle with similar content. If template would contain certain mark it would skip it. Petrb (talk) 16:00, 27 March 2011 (UTC)[reply]
- Changes will be made to part {{ID}} inside (replace 2 to 1, 1 to 2 and insert few more). Petrb (talk) 16:02, 27 March 2011 (UTC)[reply]
- So you make the list of affected templates yourself? That's fine and means any templates incorrectly converted are human error, not bot's.
- Can you give an example of a template to-be-converted, I opened some from Wiki project user templates, but they had no such {{ID}}? What do there 1, 2 mean and what are the few others? I'm afraid BRFA needs explicit details, so that the BAG know exactly what they are approving. — HELLKNOWZ ▎TALK 16:38, 27 March 2011 (UTC)[reply]
- Yes if you open Template:Huggle/warn-spam-2 and Template:Uw-spam2 in source code you would find the difference, templates created by the project are ok and community agree with them while templates of huggle are outdated some people were asking if we could update them so they would look like regular templates used by other tools Petrb (talk) 16:45, 27 March 2011 (UTC)[reply]
- Concerning what those symbols are, its for instance article name. Petrb (talk) 16:47, 27 March 2011 (UTC)[reply]
- Ah, you meant unnamed parameters {{{1}}}, {{{2}}}, etc. I got confused because you only used two {{ -- i.e. transclusion/parser functions.
- Does the bot create new templates too or only updates existing ones? — HELLKNOWZ ▎TALK 17:00, 27 March 2011 (UTC)[reply]
- No it only changes all current Petrb (talk) 17:12, 27 March 2011 (UTC)[reply]
- Concerning what those symbols are, its for instance article name. Petrb (talk) 16:47, 27 March 2011 (UTC)[reply]
Approved for trial (5 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Let's see what the edits entail. — HELLKNOWZ ▎TALK 17:12, 27 March 2011 (UTC)[reply]
Trial complete. Done Petrb (talk) 18:43, 27 March 2011 (UTC)[reply]
- The copied interwikis and {{Templatesnotice}} are not applicable to the Huggle templates. — HELLKNOWZ ▎TALK 19:01, 27 March 2011 (UTC)[reply]
Please do the testing in userspace and not template space; your trial was for 5 edits and ended almost a week ago. Please also fix the incorrect interwiki links your bot edits introduced by copying the original templates. — HELLKNOWZ ▎TALK 12:38, 3 April 2011 (UTC)[reply]
- It's fixed now Petrb (talk) 17:08, 4 April 2011 (UTC)[reply]
Approved for extended trial (5 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — HELLKNOWZ ▎TALK 08:17, 12 April 2011 (UTC)[reply]
Trial complete. Petrb (talk) 10:50, 16 April 2011 (UTC)[reply]
Approved for extended trial (5 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. 5 unique edits to templates previously not edited by you or your bot, and without intermediate edits (this is specified as "unsupervised", after all). — HELLKNOWZ ▎TALK 16:56, 17 April 2011 (UTC)[reply]
No such templates exist Petrb (talk) 18:49, 20 April 2011 (UTC)[reply]
- You'll need to create some testcases and then run the bot over them to show how it will work on its own. MBisanz talk 07:18, 17 May 2011 (UTC)[reply]
A user has requested the attention of the operator. Once the operator has seen this message and replied, please deactivate this tag. (user notified) Any update? MBisanz talk 23:14, 12 June 2011 (UTC)[reply]
Request Expired. No problem restarting when operator is active. MBisanz talk 20:13, 24 July 2011 (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.