Last modified: 2005-02-09 07:42:12 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 T3498, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1498 - LanguageEt.php does blocks showing monthnames, math pref. selections, etc.
LanguageEt.php does blocks showing monthnames, math pref. selections, etc.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-09 04:41 UTC by Klaus-Eduard Runnel
Modified: 2005-02-09 07:42 UTC (History)
0 users

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


Attachments
patch removing some more bogus methods (1.33 KB, patch)
2005-02-09 04:44 UTC, Klaus-Eduard Runnel
Details

Description Klaus-Eduard Runnel 2005-02-09 04:41:03 UTC
LanguageEt.php rev 1.23 does not allow monthnames, daynames and math preference
texts to be displayed (problem occurs on et.wikipedia.org, et.wiktionary.org).
The reason is that it contains several methods like the following:

     function getWeekdayName( $key )
     {
             global $wgWeekdayNamesEt;
             return $wgWeekdayNamesEt[$key-1];
     }

Variables like $wgWeekdayNamesEt are not available any more, instead the
messages previously stored there, are now stored in $wgAllMessagesEt. Therefore
such methods should be removed.

I was the one who caused the problem by forgetting to remove the methods when
submitting a previous patch. I will post a new patch candidate in any minute.
Comment 1 Klaus-Eduard Runnel 2005-02-09 04:44:43 UTC
Created attachment 276 [details]
patch removing some more bogus methods

It seemed, that even if this patch is applied, {{CURRENTDAYNAME}} does not
return a dayname.
Comment 2 Brion Vibber 2005-02-09 07:42:12 UTC
Patch applied to REL1_4 and HEAD and installed.

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


Navigation
Links