Wikipedia:Bots/Requests for approval/Ganeshbot 3
- 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.
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
editGreat, that was fast. Some little notes, stuff that has to be taken care of.
- INWAL,Waluj (Aurangabad) - where will the bot look? It could maybe look at Waluj and at Aurangabad.
- GK:It will look for Waluj (Aurangabad). If it does not exist, it will not create the redirect.
- does it follow redirects? Maybe the UN has old names, and Wikipedia has new names/spellings.
- 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.
- does it handle dab pages, like
- Kartarpur India vs Pakistan
- Bhuvanagiri Haryana vs Tamil Nadu
- GK:It will link to the dab page...a human will need to disambiguate.
- the redirects should be in the form UN/LOCODE:INAKV not UN/INAKV, compare Category:redirects from UN/LOCODE
- 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]
Approved. --uǝʌǝsʎʇɹoɟʇs(st47) 01:33, 2 June 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.