Difference between revisions of "Issue:A problem in the conbination DPL 1.7.4 and MW1.3 using Chinense interface"

From FollowTheScore
Jump to: navigation, search
(Reply)
Line 43: Line 43:
  
 
It's looks like you have big businesses to do. I wish you can make more money. :-) --[[User:Roc michael|Roc michael]] 23:19, 19 December 2008 (UTC)
 
It's looks like you have big businesses to do. I wish you can make more money. :-) --[[User:Roc michael|Roc michael]] 23:19, 19 December 2008 (UTC)
 +
 +
===Reply===
 +
Hi Michael,
 +
 +
I got similar problem when using my site in Estonian language. I fixed this by first editing Template:DT_Language from
 +
</nowiki>Template=Template|Category=Category</nowiki>
 +
to
 +
<nowiki>Template=Mall|Category=Kategooria</nowiki>
 +
where "Mall" is "Template" and "Kategooria" is "Category" in Estonian
 +
 +
and in my template replacing
 +
<nowiki>{{#dpl: namespace=Category | format=,\n*%TITLE%,,}}</nowiki>
 +
with
 +
<nowiki>{{#dpl: namespace={{DT Language|Category}}| format=,\n*%TITLE%,,}}</nowiki>

Revision as of 17:02, 9 January 2009

Description: A problem in the combination DPL 1.7.4 and MW1.13 using Chinese interface
Extension / Version: DPL   /   1.7.4
Type / Status: Bug   /   open

Problem

Hi Gero.
Following code can work fine in MW1.13 with English interface (using $wgLanguageCode = "en"; in the Localsetting.php ):

{{#dpl: namespace=Category | format=,\n*%TITLE%,,}}

But if I change $wgLanguageCode = "en"; to $wgLanguageCode = "zh-tw";, the result of the code above will change to following:

%DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?

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

Could you give me a hand? --Roc michael 22:37, 27 August 2008 (UTC)

A finding

In this situation, I can use {{#dpl: namespace=分類 <!-- "分類" is the word "category" in Chinese -->| format=,\n*%TITLE%,,}} and the way works. But I don't like this. I've reported this problem to Bugzilla 16576. --Roc michael 14:33, 6 December 2008 (UTC)

Reply

Hi Michael,

I would appreciate if you could fix the problem. Just publish the bugfix here and I will put it into the next release. Gero 14:15, 7 December 2008 (UTC)

Reply

Hi Gero,

Thanks for your reply, but I cannot program php. Since I've found the way to reuse DPL in a Chinese wiki and solved the problem. I've been satisfied in this time. I hope the way can be used in the late version of MW.

It's looks like you have big businesses to do. I wish you can make more money. :-) --Roc michael 23:19, 19 December 2008 (UTC)

Reply

Hi Michael,

I got similar problem when using my site in Estonian language. I fixed this by first editing Template:DT_Language from </nowiki>Template=Template|Category=Category</nowiki> to Template=Mall|Category=Kategooria where "Mall" is "Template" and "Kategooria" is "Category" in Estonian

and in my template replacing {{#dpl: namespace=Category | format=,\n*%TITLE%,,}} with {{#dpl: namespace={{DT Language|Category}}| format=,\n*%TITLE%,,}}