AW: [Wikibots-l] Suggestion replace.py
Peter van Londen
wikipedia.pjetter at bluewin.ch
Wed Oct 12 20:17:54 UTC 2005
Hi,
So I tried without -always:r0 and then what happens is you get
following:
[[Italië|Italie]] as a replacement of [[Italie]] which is undesirable
because it is a spelling error.
Alas, I did not find a solution with solve_disambiguation.py, which
would replace the [[Italie]] (which is a redirect-page) with [[Italië]].
I still hope you can build in a solution which would replace a wikilink,
which, after bot-edit, would look like: [[abcdef|abcdef]] with
[[abcdef]].
Besides replace.py would also solve non-linked spelling errors, which is
not the case with solve_disambiguation.py.
Kind regards
nl:Londenp/pjetter
-----Ursprüngliche Nachricht-----
Von: wikibots-l-bounces at wikimedia.org
[mailto:wikibots-l-bounces at wikimedia.org] Im Auftrag von Andre Engels
Gesendet: Mittwoch, 12. Oktober 2005 09:18
An: Wikimedia bot editors discussion
Betreff: Re: [Wikibots-l] Suggestion replace.py
2005/10/12, Andre Engels <andreengels at gmail.com>:
> This is done by using not replace.py, but solve_disambiguation.py with
> the -redir option.
>
> solve_disambiguation.py -redir Servie -always:0
>
> should do the trick.
Actually,
solve_disambiguation.py -redir Servie -always:r0
should be better, because it also changes [[Servie]] to [[Servië]].
--
Andre Engels, andreengels at gmail.com
ICQ: 6260644 -- Skype: a_engels
More information about the Wikibots-l
mailing list