Wikipedia:Bots/Requests for approval/AndreasJSbot
- 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 Speedily Approved.
Operator: AndreasJS
Automatic or Manually Assisted: manually assisted
Programming Language(s): python
Function Summary: Replace links to Dachau by those to Dachau Concentration Camp
Edit period(s) (e.g. Continuous, daily, one time run): occasionally
Edit rate requested: 6 edits per minute
Already has a bot flag (Y/N): n/a
Function Details: There are about 200 pages that link to the town of Dachau whereas they should link to Dachau Concentration Camp. I expect that there will be more of these in the future. I would like to change these links.
Discussion
[edit]Please revise your edit rate downwards: the recommended max is 6 per minute, and 20 per minute is not exactly consistent with manual assistance. Are you using pywikipedia for this? I'd have thought that something that allows whole-text previewing would be preferable for the task, since disambiguation inherently requires context. Have you considered using AWB? Alai 15:51, 30 November 2006 (UTC)[reply]
- Also, please register the bot account, and create a user page for it. Thanks. Alai 15:52, 30 November 2006 (UTC)[reply]
- I would love to use AWB, but I do not have a Windows computer at hand, and AWB does not run on a Mac. Any suggestsion? Andreas (T) 16:23, 30 November 2006 (UTC)[reply]
- OK, fair point (I wish it ran under Linux, myself). If you know Python, perhaps you could tweak replace.py to display the whole article text, or a couple of lines of context, before confirming the edit? Otherwise, just exercise caution, and fix unclear instances by hand. Alai 16:34, 30 November 2006 (UTC)[reply]
- I did some tests: solve_disambiguation.py does the job. It works also if the "desamb" page to work on is a regular page that contains the desired link. Andreas (T) 01:02, 1 December 2006 (UTC)[reply]
- OK, fair point (I wish it ran under Linux, myself). If you know Python, perhaps you could tweak replace.py to display the whole article text, or a couple of lines of context, before confirming the edit? Otherwise, just exercise caution, and fix unclear instances by hand. Alai 16:34, 30 November 2006 (UTC)[reply]
- I would love to use AWB, but I do not have a Windows computer at hand, and AWB does not run on a Mac. Any suggestsion? Andreas (T) 16:23, 30 November 2006 (UTC)[reply]
- How do you know which links to the town should be redirected? Its seems unlikely that all of them to. Voice-of-All 19:30, 10 December 2006 (UTC)[reply]
- solve_disambiguation.py "will then automatically loop over all pages which refer to the disambiguation page, and show 30 characters of context on each side of the reference to help you make the decision between the alternatives. (quoted from meta:Solve_disambiguation.py).
The amount of context can be increased by entering "m" = more context. Here is how it looks:
Found 202 references. Will work on 202 pages. Getting 60 pages from wikipedia:en... >>> 1933 <<< e Chats]]". * [[March 20]] - [[Dachau]], the first [[Nazism|Nazi]] [[ Option (#, r#, s=skip link, e=edit page, n=next page, u=unlink, q=quit, m=more context, l=list, a=add new): m >>> 1933 <<< so the first of his "[[Fireside Chats]]". * [[March 20]] - [[Dachau]], the first [[Nazism|Nazi]] [[concentration camp]], is compl Option (#, r#, s=skip link, e=edit page, n=next page, u=unlink, q=quit, m=more context, l=list, a=add new): 20 The following changes have been made: - * [[March 20]] - [[Dachau]], the first [[Nazism|Nazi]] [[concentration camp]], is completed - opened [[March 22]]. + * [[March 20]] - [[Dachau concentration camp|Dachau]], the first [[Nazism|Nazi]] [[concentration camp]], is completed - opened [[March 22]]. Getting a page to check if we're logged in on wikipedia:en Retrieving watchlist for wikipedia:en Parsing watchlist Changing page [[1933]]
Andreas (T) 21:42, 10 December 2006 (UTC)[reply]
Speedily Approved. I debated whether or not to grant the bot flag to this manually assisted bot. Since it is a relatively minor number of edits. Nevertheless, even 200 edits is a lot to clutter the recent changes, so I'm going to approve this. The above example seems sufficient to show how this would work, and it doesn't need approval for manual work anyway, other than the bot flag. -- RM 19:21, 18 December 2006 (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.