Last modified: 2011-04-30 01:16:45 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 T23986, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21986 - When use zh_hant, cannot go to the login page.
When use zh_hant, cannot go to the login page.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.14.x
PC Windows Vista
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n, patch, utf8
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-01 16:02 UTC by hououji2000
Modified: 2011-04-30 01:16 UTC (History)
3 users (show)

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


Attachments

Description hououji2000 2010-01-01 16:02:11 UTC
When using 
$wgLanguageCode = "zh_hant";

When click "登入/建立新賬號" (in English should be Login / Create User), link, the page render fail.

It go to a URL 
http://localhost/mediawiki/index.php?title=Special:%C7%94%A8%E6%88%B7%E7%99%BB%E5%85%A5&returnto=%E9%A6%96%E9%A0%81

(instead of the normal should be : 
http://localhost/mediawiki/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%85%A5&returnto=%E9%A6%96%E9%A0%81

attention, after 'Special' is different, from %E7, go to %C7)


I have trace that, this different is come from the php function ucfirst(), at the file ./include/SpecialPage.php (about line 584).

And I just make a hot fix 
FROM
    return ucfirst( $name );
TO
    return $wgContLang->ucfirst( $name );

By now on, every thing seem OK.
Comment 1 Chad H. 2010-01-01 16:15:55 UTC
Done in r60541.

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


Navigation
Links