Author: roc.no1
Description:
Following DPL Query code can work fine in MW1.13 with English interface (using '''<tt>$wgLanguageCode = "en";</tt>''' in the Localsetting.php ):
<nowiki>{{#dpl: namespace=Category | format=,\n*%TITLE%,,}}</nowiki>
But if I change '''<tt>$wgLanguageCode = "en";</tt>''' to '''<tt>$wgLanguageCode = "zh-tw";</tt>''', the result of the code above will change to following:
%DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
In this situation, I can use <nowiki>{{#dpl: namespace=分類 <!-- "分類" is the word "category" in Chinese -->| format=,\n*%TITLE%,,}}</nowiki> and the way works. But I don't like this.
~~~~
My Environment
- MediaWiki: 1.13.0
- Win XP
- DPL 1.7.4
*The AppServ Open Project - 2.5.7 for Windows
- Apache Web Server Version 2.2.3
- PHP Script Language Version 5.1.6
- MySQL Database Version 5.0.24a
Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC