Last modified: 2010-05-15 16:03:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16061, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14061 - Default value for [[fa:MediaWiki:Sitesupport]] is English (should be using MessagesFa.php)
Default value for [[fa:MediaWiki:Sitesupport]] is English (should be using Me...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.13.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-09 17:00 UTC by Huji
Modified: 2010-05-15 16:03 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Huji 2008-05-09 17:00:30 UTC
Although 'sitesupport' is defined inside MessagesFa.php (and a local installation of MediaWiki can use it correctly), it is not being used on Persian Wiktionary:

http://fa.wiktionary.org/wiki/

You should see "کمک مالی" on the sidebar, but you see "Donate"! Interestingly, even if it was going to fallback to English version, you had to see "Donations" not "Donate". Also, http://fa.wiktionary.org/wiki/MediaWiki:Sitesupport is showing "Donate" as the default value, instead of what is found in MessagesFa.php
Comment 1 Bryan Tong Minh 2008-05-10 08:13:48 UTC

*** This bug has been marked as a duplicate of bug 5092 ***
Comment 2 Bryan Tong Minh 2008-05-10 08:15:15 UTC
On second read that bug was about something else. Reopened.
Comment 3 Niklas Laxström 2008-05-10 08:17:27 UTC
As far as I know WMF uses some kind of override for donations.
Comment 4 Huji 2008-05-10 17:13:22 UTC
(In reply to comment #3)
> As far as I know WMF uses some kind of override for donations.
> 

What kind of override? How can it affect only one message on only one wiki?
Comment 5 Jack Phoenix 2008-05-10 23:16:33 UTC
Function wfSetupSiteDefaultMessages is defined in the very bottom of CommonSettings.php (http://noc.wikimedia.org/conf/CommonSettings.php.html) and wgSiteDefaultMessages is defined in InitialiseSettings.php (http://noc.wikimedia.org/conf/InitialiseSettings.php.html). The default for [[MediaWiki:Sitesupport]] indeed is "Donate". A comment in the InitialiseSettings.php file references to bug 11912.
Comment 6 Huji 2008-05-11 16:06:29 UTC
(In reply to comment #5)
> Function wfSetupSiteDefaultMessages is defined in the very bottom of
> CommonSettings.php (http://noc.wikimedia.org/conf/CommonSettings.php.html) and
> wgSiteDefaultMessages is defined in InitialiseSettings.php
> (http://noc.wikimedia.org/conf/InitialiseSettings.php.html). The default for
> [[MediaWiki:Sitesupport]] indeed is "Donate". A comment in the
> InitialiseSettings.php file references to bug 11912.
> 

That answers my question. I'm going to translate that message on wiki, unless one would suggest a way to make this default message translatable.
Comment 7 Shinjiman 2008-07-10 17:56:08 UTC
This was implemented on r37234 onwards for the WikimediaMessages extension 
for use in the Wikimedia specific messages, and the users can localised on the 
internationalisation file for the extension.
Thanks Tim to fixing this issue.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links