https://bugzilla.wikimedia.org/show_bug.cgi?id=17020

           Summary: why $this->load(); Language.php 1495
           Product: MediaWiki
           Version: 1.13.3
          Platform: PC
               URL: /languages/Language.php
        OS/Version: Windows Server 2003
            Status: NEW
          Keywords: easy
          Severity: normal
          Priority: Normal
         Component: Internationalization
        AssignedTo: [email protected]
        ReportedBy: [email protected]


===English===
Why there is a "$this->load();" on line 1495 of "function
fallback8bitEncoding()" in languages/Language.php of Mediawiki 1.13.3?
I'm a Simplified Chinese user and our default charset is gb2312. When we use
Mozilla Firefox to access somewhere Mediawiki and search something Chinese, as
click into the address bar and press enter, it shows a page with a mess title.
That means (not only in FireFox but also in IE) if you click a url to
"http://zh.wikipedia.org/w/index.php?title=首页";, it works nice; but when you
type it into the address bar and press enter, it goes into an empty page with
title "Ê×Ò³".
I'm trying to solve the problem and I have found a method, that is, delete
"$this->load();" on line 1495 in languages/Language.php. After that, all works
well. Is it useful here (for some other language) and can it be deleted?

zayoo

===简体中文===
请问Mediawiki 1.13.3 languages/Language.php的第1495行(function
fallback8bitEncoding()中的)语句$this->load();有什么作用?
我是一名简体中文用户,我们的默认字符集是gb2312。当使用Firefox浏览Mediawiki平台的站点并搜索中文时,如果点击浏览器地址栏并按回车键,将会进入一个标题为乱码的页面。
意思是(不论Firefox还是IE)如果点击“http://zh.wikipedia.org/w/index.php?title=首页”,它能够进入正常的页面;而如果将其输入浏览器地址栏并按回车键,将会进入一个标题为“Ê×Ò³”的错误页面。
我在尝试解决此问题时,发现可通过删除languages/Language.php第1495行的“$this->load();”能够完美地解决此问题。那么这行语句(在其它语言中)是否确有必要存在并能否去掉?

zayoo


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to