--- leercontainer-wikimedia@yahoo.com wrote:
Perhaps you should take a look at the link between the pages meta-wikimedia and
http://www.wikimediafoundation.org/
go to this page
http://wikimediafoundation.org/fundraising
and follow the very last link on that page for an example. Don't know who has done this, but I suppse it something similar you want.
Perhaps such a link could be made for the MediaWiki page at sourceforge too? As I have understood, it formerly ran on MediaWiki but was replaced with static page after a lot of vandalism that was not reverted because not enough people were keeping an eye on it. This would perhaps not be a problem if the pages resided on Meta-Wikimedia?
--Dittaeva
It happens as an side effect after I made some alteration to wiki PHP code.
I am sure that the varialbe $wgLanguageCode has been set to appropriate language code(i.e. "zh" for Chinese) and the variable 's runtime value equals to "zh" as it is defined.
However all the text on the UI are still English, except for a small fraction of text in user preferences are Chinese.
BTW: Wiki's version is 1.3.0 beta.
Can anybody give me some advice to solve this problem?
Thank you in advance!
Collin
Collin Hsu wrote:
It happens as an side effect after I made some alteration to wiki PHP code.
I am sure that the varialbe $wgLanguageCode has been set to appropriate language code(i.e. "zh" for Chinese) and the variable 's runtime value equals to "zh" as it is defined.
However all the text on the UI are still English, except for a small fraction of text in user preferences are Chinese.
BTW: Wiki's version is 1.3.0 beta.
Can anybody give me some advice to solve this problem?
Run the rebuildMessages.php script in the maintenance directory. (Has to be done from the command line; you have to create a dummy AdminSettings.php file also.)
-- brion vibber (brion @ pobox.com)
Run the rebuildMessages.php script in the maintenance directory. (Has to be
done from the command line; you have to create a >dummy AdminSettings.php file also.)
a.o. My wiki is running on a virtual host, so I can't run the script from command line.
Is there some way else to fix it?
Thank you!
Collin
Dear Brion,
Thank you for your helps!
I 've tried as you adviced, it remains the same.
I find out that the problem is probably caused by failing to import LanguageZh.php to override those are defined in Language.php, because when I open the wiki in my browser , it always leads me to "Main_Page" not appropriate mainpage as defined in the LanguageZh.php.
Would it possible to fix the problem?
Appreiciate very much!
Collin Hsu
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber Sent: Friday, August 20, 2004 1:12 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Why only a small fraction of text(in preferences)is displayed in Chinese and all others are still in English ?
Collin Hsu wrote:
It happens as an side effect after I made some alteration
to wiki PHP code.
I am sure that the varialbe $wgLanguageCode has been set to appropriate language code(i.e. "zh" for Chinese) and the
variable 's
runtime value equals to "zh" as it is defined.
However all the text on the UI are still English, except
for a small
fraction of text in user preferences are Chinese.
BTW: Wiki's version is 1.3.0 beta.
Can anybody give me some advice to solve this problem?
Run the rebuildMessages.php script in the maintenance directory. (Has to be done from the command line; you have to create a dummy AdminSettings.php file also.)
-- brion vibber (brion @ pobox.com)
I 've fixed the problem!
The problem is I was running rebuildMessages.php with altered Wiki PHP files.
Rewrite all the wiki PHP files with orginal files before run rebuildMessages.php and the problem will be fixed.
Thank you!
Collin
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Collin Hsu Sent: Saturday, August 28, 2004 7:58 PM To: 'MediaWiki announcements and site admin list' Subject: RE: RE: RE: [Mediawiki-l] Why only a small fraction of text(inpreferences)is displayed in Chinese and all others are still inEnglish ?
Dear Brion,
Thank you for your helps!
I 've tried as you adviced, it remains the same.
I find out that the problem is probably caused by failing to import LanguageZh.php to override those are defined in Language.php, because when I open the wiki in my browser , it always leads me to "Main_Page" not appropriate mainpage as defined in the LanguageZh.php.
Would it possible to fix the problem?
Appreiciate very much!
Collin Hsu
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber Sent: Friday, August 20, 2004 1:12 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Why only a small fraction of text(in preferences)is displayed in Chinese and all others are still in English ?
Collin Hsu wrote:
It happens as an side effect after I made some alteration
to wiki PHP code.
I am sure that the varialbe $wgLanguageCode has been set to appropriate language code(i.e. "zh" for Chinese) and the
variable 's
runtime value equals to "zh" as it is defined.
However all the text on the UI are still English, except
for a small
fraction of text in user preferences are Chinese.
BTW: Wiki's version is 1.3.0 beta.
Can anybody give me some advice to solve this problem?
Run the rebuildMessages.php script in the maintenance
directory. (Has
to be done from the command line; you have to create a dummy AdminSettings.php file also.)
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I am running a multiple languages Wiki on a single web server. Moreover, they share a single Wiki program.
It works fine with MediaWiki 1.2, but not with MediaWik 1.3.1.
I 've assigned the same value(like http://www.foo.org/wiki/index.php/$1) for the namespaces for different languages. The value of $wgLanguageCode variable is dynamically set to different language code according to the domain name being used to get access to the Wiki. For example, if the user opens the Wiki with the URL http://en.foo.org/ and the $wgLanguageCode will be set to "en", if the user opens the Wiki with the URL http://zh.foo.org/ and the $wgLanguageCode will be set to "zh".
However when I upgrade the Wiki to MediaWiki 1.3.1, it does not work well.
First, changes to LanguageXX.php files do not take effect dynamically. (Do I have to run rebuildMessages. php to update all the messages. Is there any way to update all those messages online, instead of offline? )
Second, the text displayed on the interface is a mix of multiple different languages(part of them are displayed in English while others are dispalyed in Chinese. )
Is there somebody can save me from the bad situation?
Thank you!
Collin
Collin Hsu wrote: [snip]
First, changes to LanguageXX.php files do not take effect dynamically. (Do I have to run rebuildMessages. php to update all the messages. Is there any way to update all those messages online, instead of offline? )
You'll need to disable the database messages ($wgUseDatabseMessages), since that only allows for one language to be set in the database.
Second, the text displayed on the interface is a mix of multiple different languages(part of them are displayed in English while others are dispalyed in Chinese. )
Which specifically? Check the database messages, above. Some items aren't in there (like some preferences names etc) so would always be pulled from the language arrays.
-- brion vibber (brion @ pobox.com)
Thank you very very much!
You always give me prompt help!
Appreiciate your help!
Collin
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber Sent: Monday, August 30, 2004 2:08 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Does 1.3.1 use a different multiplelanguages meachniam from 1.2 ?
Collin Hsu wrote: [snip]
First, changes to LanguageXX.php files do not take effect
dynamically.
(Do I have to run rebuildMessages. php to update all the
messages. Is
there any way to update all those messages online, instead
of offline?
)
You'll need to disable the database messages ($wgUseDatabseMessages), since that only allows for one language to be set in the database.
Second, the text displayed on the interface is a mix of multiple different languages(part of them are displayed in English
while others
are dispalyed in Chinese. )
Which specifically? Check the database messages, above. Some items aren't in there (like some preferences names etc) so would always be pulled from the language arrays.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org