Bugs item #1988290, was opened at 2008-06-08 20:18 Message generated for change (Comment added) made by wikipedian You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1988290...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: interwiki Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Marc-Etienne Vargenau (vargenau) Assigned to: Nobody/Anonymous (nobody) Summary: Bot wants to remove existing eo: pages
Initial Comment: [Ordinateur-de-Cathy-Vargenau:~/Applications/Escarbot/pywikipedia] vargenau% python interwiki.py en:vreux Checked for running processes. 1 processes currently running, including the current process. Getting 1 pages from wikipedia:en... [[en:vreux]]: [[en:vreux]] gives new interwiki [[ro:vreux]]
[[en:vreux]]: [[en:vreux]] gives new interwiki [[eo:vre]] [[en:vreux]]: [[en:vreux]] gives new interwiki [[es:vreux]]
Getting 1 pages from wikipedia:fr... Getting 1 pages from wikipedia:zh... Getting 1 pages from wikipedia:eo... NOTE: [[eo:vre]] does not exist Getting 1 pages from wikipedia:es...
======Post-processing [[en:vreux]]====== Updating links on page [[ro:vreux]]. Changes to be made: nlturat: [[eo:vre]] - [[eo:vre]]
ERROR: Found incorrect link to eo in [[ro:vreux]] Submit? ([y]es, [n]o, [g]ive up)
----------------------------------------------------------------------
Comment By: Daniel Herding (wikipedian)
Date: 2008-08-21 12:20
Message: Logged In: YES user_id=880694 Originator: NO
The interwiki bot now runs on all the described examples without any problems.
Also, I just fixed the summary message bug that julianmendez described.
----------------------------------------------------------------------
Comment By: Julian Mendez (julianmendez) Date: 2008-08-02 18:55
Message: Logged In: YES user_id=1600163 Originator: NO
Hello, The interwiki links seem to be right, but the summaries are still wrong. Please, have a look at:
http://eo.wikipedia.org/w/index.php?title=Belorusio&diff=1862920&old...
(r5771)
Thank you. Regards, Julian.
----------------------------------------------------------------------
Comment By: Marc-Etienne Vargenau (vargenau) Date: 2008-06-11 10:11
Message: Logged In: YES user_id=1118700 Originator: YES
Hello,
I ran my bot on page vreux, the interwikis should be OK not.
Regards,
Marc-Etienne
----------------------------------------------------------------------
Comment By: Multichill (multichill) Date: 2008-06-10 21:54
Message: Logged In: YES user_id=1777493 Originator: NO
Ok i now see your problem. I did http://nl.wikipedia.org/w/index.php?title=.cx&diff=12689610&oldid=12... to have a hint ( i added [[eo:.cx]] )
Getting 1 pages from wikipedia:eo... NOTE: [[eo:.c]] is redirect to [[eo:.c]] Getting 1 pages from wikipedia:cv...
That's really strange. Further on:
======Post-processing [[nl:.cx]]====== Updating links on page [[zh:.cx]]. No changes needed Updating links on page [[ro:.cx]]. No changes needed Updating links on page [[th:.cx]]. No changes needed Updating links on page [[tk:.cx]]. Changes to be made: Kaldiriliyor: [[eo:.c]] - [[eo:.cx]]
ERROR: Found incorrect link to eo in [[tk:.cx]] Submit? ([y]es, [n]o, [g]ive up)
ERROR: Found incorrect link to eo in [[tk:.cx]] Submit? ([y]es, [n]o, [g]ive up) n Updating links on page [[az:.cx]]. No changes needed Updating links on page [[tg:.cx]]. No changes needed Updating links on page [[pl:.cx]]. No changes needed Updating links on page [[no:.cx]]. No changes needed Updating links on page [[ja:.cx]]. No changes needed Updating links on page [[nl:.cx]]. Changes to be made: Eraf: [[eo:.c]] - [[eo:.cx]]
ERROR: Found incorrect link to eo in [[nl:.cx]] Submit? ([y]es, [n]o, [g]ive up)
etc etc etc,
I noticed these two functions in wikipedia.py:
decodeEsperantoX: decode Esperanto text using the x convention. encodeEsperantoX: convert wikitext to the Esperanto x-encoding.
def decodeEsperantoX(text): """ Decode Esperanto text encoded using the x convention.
E.g., Cxefpagxo and CXefpagXo will both be converted to <C4><88>efpa<C4><9D> o. Note that to encode non-Esperanto words like Bordeaux, one uses a double x, i.e. Bordeauxx or BordeauxX.
def encodeEsperantoX(text): """ Convert standard wikitext to the Esperanto x-encoding.
Double X-es where necessary so that we can submit a page to an Esperanto wiki. Again, we have to keep stupid stuff like cXxXxxX in mind. Maybe someone wants to write about the Sony Cyber-shot DSC-Uxx camera series on eo: ;) """
These functions are probably broken. Why is this hack anyway?
----------------------------------------------------------------------
Comment By: Carsrac (carsrac) Date: 2008-06-10 21:39
Message: Logged In: YES user_id=2066902 Originator: NO
An other example is [[.cx]] try add an iw link that from any of the popular languages to eo. There is an eo article called [[eo:.cx]], but no redirect can make sure that the correct eo will detected by the bot. Maybe there is an overtranslation going on. If I translate [[ro:vreux]] to eo I will try to create [[eo:vreux]] and not [[eo:vre]]. In the past did it work, but for several days it doesn't work any more.
----------------------------------------------------------------------
Comment By: Marc-Etienne Vargenau (vargenau) Date: 2008-06-09 10:46
Message: Logged In: YES user_id=1118700 Originator: YES
Hello,
Perhaps a better example is fr:Deux-S%C3%A8vres that links to eo:Deux-S%C3%A8vres
My example with vreux was bad as in fact the interwiki was indeed eo:vre
Best regards,
Marc-Etienne
----------------------------------------------------------------------
Comment By: Multichill (multichill) Date: 2008-06-09 10:28
Message: Logged In: YES user_id=1777493 Originator: NO
Does any of the pages link to the correct eo article? http://en.wikipedia.org/wiki/%C3%89vreux links to http://eo.wikipedia.org/wiki/%C3%89vre%C5%AD ( [[eo:vre]] )
----------------------------------------------------------------------
Comment By: Marc-Etienne Vargenau (vargenau) Date: 2008-06-09 10:07
Message: Logged In: YES user_id=1118700 Originator: YES
Hello,
Sorry if I was not clear enough, but you totally missed the point.
Of course, page eo:vre does not exist. The correct page is eo:vreux
The problem is that the bot incorrectly translates "ux" to "".
Best regards,
Marc-Etienne
----------------------------------------------------------------------
Comment By: Multichill (multichill) Date: 2008-06-08 21:28
Message: Logged In: YES user_id=1777493 Originator: NO
This is not an error. http://eo.wikipedia.org/wiki/%C3%89vre%C5%AD does not exist
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1988290...
pywikipedia-l@lists.wikimedia.org