Wikipedia:Bots/Requests for approval/Lightbot 6
Operator: Lightmouse (talk · contribs)
Automatic or Manually assisted: Automatic supervised
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: Delink units of measurement
Links to relevant discussions (where appropriate):
This request duplicates part of the function "Edits may add, remove or modify links to units" in Wikipedia:Bots/Requests for approval/Lightbot 3. That BRFA was very similar to the two previous approvals: Wikipedia:Bots/Requests for approval/Lightbot and Wikipedia:Bots/Requests for approval/Lightbot 2.
Edit period(s): Multiple runs. Often by batch based on preprocessed list of selected target articles.
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): No
Function details:
Edits will delink common units of measurement in accordance with wp:link - What generally should not be linked. Wikipedia has information on what may be regarded as a common unit. For clarity, the following common units are listed as the only targets for this bot. The bot will only delink a unit where all the following bullet points are true:
- it is within a conversion e.g. "300 ft (100 m)"
- it is a unit of length, area, or volume
- it is either an SI unit of length, area, and volume or: inch (linear, square, cube), foot (linear, square, cube), yard (linear, square, cube), mile (statute linear, square, cube)