The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Approved.

Operator: Ganeshk (talk)

Automatic or Manually Assisted: Automatic

Programming Language(s): Python using pywikipedia framework

Function Summary: To create UNLOC codes for Indian city articles

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

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

Function Details:

I had received a request to create UNLOC codes for Indian city articles. I wrote the code and did a test run. You can see the log page at User:Ganeshbot/UNLOC. The data file has about 550 locations. The bot checks if the related city article exists, and then creates a redirect to the city article. It skips adding redirect to missing city articles. Please approve and I can let the bot run in a supervised mode. I expect it to be done within 2 hours. Thank you, Ganeshk (talk) 04:16, 21 May 2008 (UTC)[reply]

Discussion

[edit]

Great, that was fast. Some little notes, stuff that has to be taken care of.

GK:It will look for Waluj (Aurangabad). If it does not exist, it will not create the redirect.
GK:Yes, it follows redirects and uses the target page when creating the article. See in User:Ganeshbot/UNLOC/UN/LOCODE:INACH in User:Ganeshbot/UNLOC.
GK:It will link to the dab page...a human will need to disambiguate.
GK:Fixed this and have done a fresh run. See User:Ganeshbot/UNLOC

Thanks a lot, I think this can really become a great tool. UnLoCode (talk) 09:05, 21 May 2008 (UTC)[reply]

GK:I have answered inline above. Please check and let me know if it is okay. Regards, Ganeshk (talk) 02:35, 22 May 2008 (UTC)[reply]

STOP. The bot was run without approval. DO NOT run it again. Doing so can result in the bot being blocked. Thanks, CWii(Talk|Contribs) 19:09, 21 May 2008 (UTC)[reply]

I made the stop sign smaller...hope you don't mind. I should have run my test run in my sandbox...my bad. I wanted to get an approval before I proceed any further. I have fixed issues reported above and did a test run in bot's userpages. I think that is okay per policy. Thanks for your attention, Ganeshk (talk) 02:35, 22 May 2008 (UTC)[reply]

Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. As this bot is running other tasks, a link to the diffs caused by this task would be good when you're done. dihydrogen monoxide (H2O) 10:32, 27 May 2008 (UTC)[reply]

Thank you. I will get back to you once I am done with 50 edits. Ganeshk (talk) 13:46, 27 May 2008 (UTC)[reply]
Completed 50 trial edits. See Contributions. Thanks, Ganeshk (talk) 03:46, 28 May 2008 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.