Last modified: 2014-09-20 01:16:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57317, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55317 - [[Special:Export]] not retrieving zh-traditional titles
[[Special:Export]] not retrieving zh-traditional titles
Status: NEW
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 05:04 UTC by Kunal Mehta (Legoktm)
Modified: 2014-09-20 01:16 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 05:04:26 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/793/
Reported by: eugo
Created on: 2008-09-14 09:46:06
Subject: [[Special:Export]] not retrieving zh-traditional titles
Original description:
Pywikipedia \[http\] trunk/pywikipedia \(r5894, Sep 13 2008, 17:27:38\)
Python 2.4.4 \(\#2, Apr 15 2008, 23:43:20\)
\[GCC 4.1.2 20061115 \(prerelease\) \(Debian 4.1.1-21\)\]

Hello,

my bot checked ru:Домашних духов обманув, душа Цянь-нюй расстаётся с телом on ru-WP for interwiki links and found an invalid link to zh-WP and removed it. But this link is valid as you can see. Why does this happen?

Best regards,
Euku
\-----

python interwiki.py  "-start:%D0%94%D0%BE%D0%BC%D0%B0%D1%88%D0%BD%D0%B8%D1%85\_%D0%B4%D1%83%D1%85%D0%BE%D0%B2\_%D0%BE%D0%B1%D0%BC%D0%B0%D0%BD%D1%83%D0%B2,\_%D0%B4%D1%83%D1%88%D0%B0\_%D0%A6%D1%8F%D0%BD%D1%8C-%D0%BD%D1%8E%D0%B9\_%D1%80%D0%B0%D1%81%D1%81%D1%82%D0%B0%D1%91%D1%82%D1%81%D1%8F\_%D1%81\_%D1%82%D0%B5%D0%BB%D0%BE%D0%BC" "-number:1" -lang:ru
Checked for running processes. 1 processes currently running, including the current process.
NOTE: Number of pages queued is 0, trying to add 60 more.
Getting 1 pages from wikipedia:ru...
Getting 1 pages from wikipedia:zh...
NOTE: \[\[zh:????\]\] does not exist
======Post-processing \[\[ru:Domashnikh dukhov obmanuv, dusha Cyan'-nyuj rasstaëtsya s telom\]\]======
Updating links on page \[\[ru:Domashnikh dukhov obmanuv, dusha Cyan'-nyuj rasstaëtsya s telom\]\].
Changes to be made:  udalil: \[\[zh:????\]\]
\- \[\[zh:????\]\]

ERROR: Found incorrect link to zh in \[\[ru:Domashnikh dukhov obmanuv, dusha Cyan'-nyuj rasstaëtsya s telom\]\]
Submit? \(\[y\]es, \[n\]o, \[g\]ive up\)
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 05:04:28 UTC
It has to do with the zh-traditional/zh-simplified distinction. In normal MediaWiki usage, both the simplified and the traditional orthography of Chinese work, but the bot uses \[\[Special:Export\]\], which only works for simplified Chinese.

If you change the link from \[\[zh:倩女离魂\]\] to \[\[zh:倩女離魂\]\], you still go to the same page, but the link will work for the bot as well.
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 05:04:29 UTC
Thanks. But there should be a general solution for this. Is it a MediaWiki bug or should the bot know about all distinctions made on WP-Projects?
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 05:04:31 UTC
better title.
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 05:04:33 UTC
- **summary**: "[[zh:????]] does not exist" but is does! --> [[Special:Export]] not retrieving zh-traditional titles
Comment 5 Kunal Mehta (Legoktm) 2013-10-05 05:04:35 UTC
The same happens with kyrillic letters on sr-wiki \(\#2484627\)
Comment 6 Kunal Mehta (Legoktm) 2013-10-05 05:04:37 UTC
- **priority**: 5 --> 6

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links