Misplaced Pages

:Bots/Requests for approval/Lightbot 4: Difference between revisions - Misplaced Pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Misplaced Pages:Bots | Requests for approval Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 21:20, 13 July 2010 editLightmouse (talk | contribs)Pending changes reviewers148,333 edits Discussion← Previous edit Revision as of 21:22, 13 July 2010 edit undoLightmouse (talk | contribs)Pending changes reviewers148,333 edits DiscussionNext edit →
Line 83: Line 83:
: As for an edit summary, it should reflect what the bot is actually doing. Ideally the summaries for the 4 edits you link above would be "adding metric conversion for mph using <nowiki>{{convert}}</nowiki>", "adding metric conversion for inches using <nowiki>{{convert}}</nowiki>", "adding metric conversion for square feet using <nowiki>{{convert}}</nowiki>", and "adding metric conversion for miles, acres using <nowiki>{{convert}}</nowiki>", although just "automatically adding metric conversions using <nowiki>{{convert}}</nowiki>" would be ok. ]] 21:12, 13 July 2010 (UTC) : As for an edit summary, it should reflect what the bot is actually doing. Ideally the summaries for the 4 edits you link above would be "adding metric conversion for mph using <nowiki>{{convert}}</nowiki>", "adding metric conversion for inches using <nowiki>{{convert}}</nowiki>", "adding metric conversion for square feet using <nowiki>{{convert}}</nowiki>", and "adding metric conversion for miles, acres using <nowiki>{{convert}}</nowiki>", although just "automatically adding metric conversions using <nowiki>{{convert}}</nowiki>" would be ok. ]] 21:12, 13 July 2010 (UTC)


::Thanks. The code is sophisticated enough to parse a page for lots of units. I gave those examples because they were simple to understand. In reality, one edit might do 2 conversions of miles, 3 conversions of feet, 1 modification of a link, and a change of format from kW to KW. The next edit might do a completely different combination. The next edit might do a different combination again. That's why the edit summary is generic. ] (]) 21:20, 13 July 2010 (UTC) ::Thanks. The code is sophisticated enough to parse a page for lots of units. I gave those examples because they were simple to understand. In reality, one edit might do 2 conversions of miles, 3 conversions of feet, 1 modification of a link, and a change of format from KW to kW. The next edit might do a completely different combination. The next edit might do a different combination again. That's why the edit summary is generic. ] (]) 21:20, 13 July 2010 (UTC)

Revision as of 21:22, 13 July 2010

Lightbot 4

Operator: Lightmouse (talk · contribs)

Automatic or Manually assisted: Automatic

Programming language(s): AWB, monobook, vector, manual

Source code available: Source code for monobook or vector are available. Source code for AWB will vary but versions are often also kept as user pages.

Function overview: Janitorial edits to units

Links to relevant discussions (where appropriate):
This request duplicates the 'units of measure' section of Misplaced Pages:Bots/Requests for approval/Lightbot 3. That BRFA was very similar to the two previous approvals: Misplaced Pages:Bots/Requests for approval/Lightbot and Misplaced Pages:Bots/Requests for approval/Lightbot 2.

Edit period(s): Continuous

Estimated number of pages affected: Individual runs of tens, or hundreds, or thousands.

Exclusion compliant (Y/N): Yes, will comply with 'nobots'

Already has a bot flag (Y/N): Yes

Function details:
I would like to make it explicit that I will be editing units of measure in a variety of forms.

  • A 'unit of measure' is any sequence of characters that relates to measurement of things. This includes but is not limited to units defined by the BIPM SI, the US NIST or any other weights and measures organisation or none at all. This includes but is not limited to time, length, area, volume, mass, speed, power.
  • Edits may add or modify metric or non-metric units.
  • Edits may modify the format.
  • Edits may add, remove or modify templates that involve units.
  • Edits may add, remove or modify links to units.

Discussion

I'm sorry, did I miss something or are you not "indefinitely prohibited from using any automation whatsoever on Misplaced Pages"? - EdoDodo 13:30, 13 July 2010 (UTC)

Currently, yes. I have just applied to have the restriction lifted. However, an arbitrator said I need to come here first. So here I am. :) Lightmouse (talk) 14:09, 13 July 2010 (UTC)
Okay. - EdoDodo 14:14, 13 July 2010 (UTC)

Given your past history, I have a number of concerns:

  • What will you do to prevent any repeat of the behavior that led to the ArbCom finding of fact Lightbot repeats its own errors?
  • I recall much drama over how you used to respond to talk page comments (and even remove the "stop" command) using your bot account. Do you commit to never using your bot account to respond to talk page comments or make any other edits besides those for approved tasks, as required in WP:BOTPOL#Bot accounts?
  • You state that your bot will honor {{nobots}}. Will it also comply with {{bots|deny=Lightbot}} and variations?
  • As stated, this request is far too broad and far to vague; Lightbot 3 was quite controversial for that very reason, and things have become more strict since then. Please specify exactly the types of changes the bot will be doing rather than vaguely stating "may add, remove or modify". I understand this may be a long list, and I note that explicitly listing each change does mean that adding a new type of change will require a new BRFA.
    • Note that ArbCom also asks for a statement "indicating specifically which functions you will be performing".
  • "Units of measure" should similarly be more defined. Template:Convert/list of units has an extensive list of units, which may be incorporated by reference. Are there other units on which you intend to work?
  • The edit summary you used previously, "unit/dates/other", does not fit with WP:BOTPOL's requirement that the bot "uses informative messages, appropriately worded, in any edit summaries or messages left for users". Please address this.

Given the controversy Lightbot's activities generated both before and during the ArbCom case, we must be particularly careful here to ensure that the community wants this done and wants Lightmouse to be doing it. I have posted notices at WP:AN, WP:VPR, WP:BON, and User talk:Lightbot to attempt to gather community input. If anyone knows of other pages where Lightbot's previous activities were extensively discussed (e.g. MOS, WikiProject, or template talk pages), please post a similar notice in those places and mention that you did so here. Please keep in mind WP:CANVAS. Anomie 17:32, 13 July 2010 (UTC)

I'd be happy to provide a list of units of measure. It might take a little effort to compile but I can do it. Would that help? Lightmouse (talk) 19:42, 13 July 2010 (UTC)
Done. I used various 'units of measure' related categories on Misplaced Pages to create a list at User:Lightmouse/list_created_from_categories_referring_to_units_of_measure. As suggested, there is also the list of units of measure addressed by Template:Convert/list of units. There are also lists maintained by the official SI authority, by the British and US weights and measures authorities and by others. In the event of a dispute about whether something is a 'unit of measure', I'm sure the knowledgeable people at wp:mosnum can arbitrate. Has anyone ever seen any such disputes? Lightmouse (talk) 20:58, 13 July 2010 (UTC)
It's entirely unclear to me from this request what, exactly, the bot would do. Can you give an example of what you think a typical edit would be like? Beyond My Ken (talk) 19:55, 13 July 2010 (UTC)

Please remember that Lightbot was already approved to edit units of measure. This approval request is a word-for-word copy of the units of measure section of Lightbot 3. So there are thousands of examples in the contributions. For example:

If anyone knows of a better edit summary, please feel free to suggest it.
This application stands on its own merit. It doesn't require anyone to read other BRFAs if they don't wish to.
AWB has a method of addressing bot exclusions that is used by other bot owners. I'll do the same.
Feel free to look at one example of AWB code that was used in the past. Lightmouse (talk) 20:23, 13 July 2010 (UTC)

So, to be clear, is doing conversions such as the examples you post the sole task of the bot? Beyond My Ken (talk) 20:54, 13 July 2010 (UTC)
No. It will do more than just add conversions.
  • Edits may add or modify metric or non-metric units. For example, this may add a conversion or fix an error in an existing conversion.
  • Edits may modify the format. For example, this may change 'KW' into 'kW' or 'kmph' into 'km/h'.
  • Edits may add, remove or modify templates that involve units. The diff examples given above show it adding templates. It may also remove or modify templates as part of maintenance e.g. if the templates themselves need updating.
  • Edits may add, remove or modify links to units. For example, it might add a link to obscure units, remove a link from a common unit, or correct a wrong or misdirected link.
I hope that helps. Regards Lightmouse (talk) 21:10, 13 July 2010 (UTC)
(edit conflict) Note that Lightbot 3 probably shouldn't have been approved given the lack of consensus evident in that discussion, and in reaction to criticism from the community (in part due to the approval of Lightbot 3) we have tried to become more careful about requiring a strong consensus and about not approving vague or overly-broad tasks. Although to be fair most (but by no means all) of the controversy there was related to dates rather than units.
While examples of edits are nice, we need to know exactly what types of edits are being approved here. For example, "Wrap measurements using US customary units with {{convert}} to also display them with the corresponding metric units" could appropriately describe the above 4 edits.
As for an edit summary, it should reflect what the bot is actually doing. Ideally the summaries for the 4 edits you link above would be "adding metric conversion for mph using {{convert}}", "adding metric conversion for inches using {{convert}}", "adding metric conversion for square feet using {{convert}}", and "adding metric conversion for miles, acres using {{convert}}", although just "automatically adding metric conversions using {{convert}}" would be ok. Anomie 21:12, 13 July 2010 (UTC)
Thanks. The code is sophisticated enough to parse a page for lots of units. I gave those examples because they were simple to understand. In reality, one edit might do 2 conversions of miles, 3 conversions of feet, 1 modification of a link, and a change of format from KW to kW. The next edit might do a completely different combination. The next edit might do a different combination again. That's why the edit summary is generic. Lightmouse (talk) 21:20, 13 July 2010 (UTC)
Category: