Jump to content

Wikipedia:Bots/Requests for approval/FrescoBot 2

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Basilicofresco (talk | contribs) at 13:37, 28 December 2009 (useless piping). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Operator: Basilicofresco

Automatic or Manually assisted: Auto

Programming language(s): python (pywikipedia)

Source code available: ask me

Function overview: remove useless piping within wikilinks

Links to relevant discussions (where appropriate): Wikipedia talk:Piped link#Changing existing links to piped links with capital first letter?

Edit period(s): monthly (or less) using the dump file

Estimated number of pages affected: 16k (guess based on random articles sampling)

Exclusion compliant (Y/N): Y

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

Function details: as stated in Wikipedia:Piped link#When not to use we should never use piped links to convert first letter to lower case. This well-tested bot will correct occurences like [[Country code second-level domain|country code second-level domain]]. Already in use on italian Wikipedia.

More examples:

  • [[Meteor shower|meteor shower]] --> [[meteor shower]]
  • [[meteor shower|meteor shower]] --> [[meteor shower]]
  • [[Meteor shower|Meteor shower]] --> [[Meteor shower]]
  • [[meteor shower|Meteor shower]] --> [[Meteor shower]]

Discussion