Issue:A problem in the conbination DPL 1.7.4 and MW1.3 using Chinense interface

From FollowTheScore
Jump to: navigation, search
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%,,}}

Reply

Hi Michael,

The issue asd been fixed on r50074 and the encoding problem was fixed. Shinjiman 15:58, 20 May 2009 (UTC)

Reply

Hi Gero,

Please use the code on the trunk and fix the encoding error (might need to delete the original file than copy the new file again) before the next release of the DPL, thanks. :) Shinjiman 15:58, 20 May 2009 (UTC)

Thanks

Thank you for correcting the message file. I am afraid some time ago I had been using an editor which was not aware of UTF characters and so the content was more or less corrupted. I will adopt your version for the next release.

BTW: I would totally agree to have the official "master version" of the DPL source code in subversion. Could you help me to do that? Currently I don't know how to get access rights there ...

In the long run I would like to see DPL installed on the official wikipedia installations. Do you know which kind of lobbying and which other conditions would be necessary to achieve this?

Gero 18:42, 20 May 2009 (UTC)

You might have a look in http://www.mediawiki.org/wiki/Commit_access to see how to get the SVN commit account in the WM-SVN repo. Shinjiman 04:07, 21 May 2009 (UTC)
Thank you, yes, I just applied for commit access. Gero 07:47, 21 May 2009 (UTC)