Jump to content

Wikipedia:Bots/Requests for approval/Kumar Appaiah Bot

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Kumar Appaiah (talk | contribs) at 22:02, 31 August 2009 (Bot summary). 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: Kumar Appaiah

Automatic or Manually assisted: Manually assisted

Programming language(s): Python

Source code available: http://en.wikipedia.org/wiki/User:Kumar_Appaiah_Bot/bot.py

Function overview: Substitute the latitude/longitude parameters on the page with supplied command line arguments

Edit period(s): One time run

Estimated number of pages affected: Several runs, each run affecting 10-20 pages. But each run affects only one page as of now.

Exclusion compliant (Y/N): (I don't know)

Already has a bot flag (Y/N):

Function details: The bot is run as <bot> -page:Article -latitude:<decimal_latitude> -longitude:<decimal_longitude>. This pulls the page specified, and replaces the latitude and longitude fields (which I expect to be blank in the pages I expect to edit), and puts Wikipedia latitude and longitude text in it's place. For instance:

python coord_bot.py -page:Achampatti -latitude:10.6690900 -longitude:78.9530500

would replace the blank latd, lats etc. with:

latd = 10 | latm = 40 | lats = 9 |
longd = 78 | longm = 57 | longs = 11 |

(keeping the fields sane).

Please let me know if more information is needed. Thanks. - Kumar Appaiah (talk) 22:02, 31 August 2009 (UTC)[reply]

Discussion