Jump to content

Wikipedia:Bots/Requests for approval/InterwikiConversionBot

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by CO (talk | contribs) at 01:19, 7 August 2007 (Discussion). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Operator: TheFearow

Automatic or Manually Assisted: Automatic

Programming Language(s): Java

Function Summary: Replaces basic external links to sites that are available via interwiki to interwiki links

Edit period(s) (e.g. Continuous, daily, one time run): Most likely weekly

Edit rate requested: 8 edits per minute

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

Function Details:

Converts external links to sites like meta, mediawiki.org, commons, etc to interwiki links. It will also convert links to things like google, which can be searched using an interwiki prefix, as can many other sites. It ignores any URL with more than the basic params (for other wikis, ?title=, and on google, q=query, and similair on other wikis.).

Discussion

This code is not complete, but I am putting forward a BRFA as it does not appear to be anything complex, and shouldn't be too hard to code. There are 437 links to google on just one style of URL. Meta has over 1000 (including complex params, but its still a lot, as most are basic ones that can be converted), and likely more than 5000. Matt/TheFearow (Talk) (Contribs) (Bot) 23:22, 6 August 2007 (UTC)[reply]

How will you replace the link? Regexes? ~ Wikihermit 01:19, 7 August 2007 (UTC)[reply]