----- Forwarded message from "Jason Y. Lee" jylee@cs.ucr.edu -----
From: "Jason Y. Lee" jylee@cs.ucr.edu To: pywikipediabot-users@lists.sourceforge.net Subject: [pyWikipediaBot-users] Recent changes Sender: pywikipediabot-users-admin@lists.sourceforge.net Date: Fri, 7 Oct 2005 17:35:29 -0700
Is there anything in the pywikipedia framework that outputs the recent changes?
Hello,
A suggestion for replace.py
Due to the days when not all characters could be used (my guess), there are still wikilinks looking like this (in dutch):
[[Servie|Servië]] or vice versa.
Replace.py would correct this as following: [[Servië|Servië]]. Could someone maybe improve the bot so that it would be changed to [[Servië]].
Thanks and keep up the good work.
nl:londenp/pjetter
"Peter van Londen" wikipedia.pjetter@bluewin.ch wrote:
A suggestion for replace.py
Due to the days when not all characters could be used (my guess), there are still wikilinks looking like this (in dutch):
[[Servie|Servië]] or vice versa.
Replace.py would correct this as following: [[Servië|Servië]]. Could someone maybe improve the bot so that it would be changed to [[Servië]].
It is not necessary to change the bot. Just run it twice: the first time change "[[Servie|Servië]]" to "[[Servië]]". The second time change all the remaining "Servie" to "Servië".
Russ Blau
2005/10/11, Peter van Londen wikipedia.pjetter@bluewin.ch:
Hello,
A suggestion for replace.py
Due to the days when not all characters could be used (my guess), there are still wikilinks looking like this (in dutch):
[[Servie|Servië]] or vice versa.
Replace.py would correct this as following: [[Servië|Servië]]. Could someone maybe improve the bot so that it would be changed to [[Servië]].
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.
-- Andre Engels, andreengels@gmail.com ICQ: 6260644 -- Skype: a_engels
2005/10/12, Andre Engels andreengels@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@gmail.com ICQ: 6260644 -- Skype: a_engels
André
Thanks for the answer, but the bot changed also the following:
[[Italie|Ita]] to [[Italië]] instead of [[Italië|Ita]]
So about 50% of 26 were good, the other ones I had to correct afterwards manually.
Kind regards,
Pjetter/Londenp
-----Ursprüngliche Nachricht----- Von: wikibots-l-bounces@wikimedia.org [mailto:wikibots-l-bounces@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@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@gmail.com ICQ: 6260644 -- Skype: a_engels
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@wikimedia.org [mailto:wikibots-l-bounces@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@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@gmail.com ICQ: 6260644 -- Skype: a_engels
wikibots-l@lists.wikimedia.org