Page MenuHomePhabricator

Chinese version does not display special pages properly
Closed, DeclinedPublic

Description

Author: interarticle

Description:
After installing MediaWiki 1.15.1 or updating from an older version that has set the $wgLanguageCode value to "zh-cn" or "zh-hans", the searching function will fail, displaying "The requested special page does not exist" (translated). Attempts to see the "Special pages" page will return a garbled (name) page that does not exist (not even in the "special:" namespace!).
This bug will effectively render wikis in the simplified Chinese language unusable, or very hard to use.
Version 1.15.2 of MediaWiki also has the bug.
However, the bug seems to have been resolved in MediaWiki 1.16.0beta1.


Version: 1.15.x
Severity: major
OS: Windows Server 2003
Platform: PC
Whiteboard: aklapper-moreinfo

Details

Reference
bz22975

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:03 PM
bzimport set Reference to bz22975.
bzimport added a subscriber: Unknown Object (MLST).

Cannot reproduce the problem. Newly installed MediaWiki 1.15.1, zh-cn.

Search page name is 特殊:搜索 (localized name of Special:Search).

interarticle wrote:

please visit http://ph0804.vicp.net/wiki/sec/index.php/%E9%A6%96%E9%A1%B5
and search for anything (or leave the blank empty)
(In reply to comment #1)

Cannot reproduce the problem. Newly installed MediaWiki 1.15.1, zh-cn.

Search page name is 特殊:搜索 (localized name of Special:Search).

Looks strange. Would you please attach your /languages/messages/MessageZh_hans.php here?

interarticle wrote:

File under languages/messages of MediaWiki 1.15.1

Attached:

It seems normal. I don't know why then.

Do you have another web server and have a try on it, or try to upgrade softwares (PHP etc.). I've never tried MediaWiki on Windows.

You can try a bisect to find out in which revision of MediaWiki that bug is fixed.

interarticle wrote:

Um, I've updated my main site to 1.16.0beta1, which works fine, only it's beta. I've only got windows pcs, so I can't try this installation out on other OSes. But maybe you should have a look at http://www.mediawiki.org/wiki/Talk:Release_notes/1.15 , Bluesoju seems to have gotten into some trouble too. Should this be a common problem, I hope it would be placed on the release notes or something like that.

Also, for some more information about my server, I'm running MediaWiki on Windows 2003 Standard (SP2, ENU) with Apache 2.2.11, php_mod 5.2.6 (installed using MSI package). The database engine is MySQL Server 5.1.26. The MediaWiki was installed with default parameters (except the name, the admin username and password, the database username and password).

The testcase seems to be missing now...

interarticle: Is this still a problem, or have you found out the reason?
Wondering if this is/was related to character encodings...

Unfortunately closing this report as no further information has been provided.

interarticle: Please feel free to reopen this report if you can provide a testcase and if this still happens. Thanks!