Last modified: 2011-07-22 07:58:05 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 T31996, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29996 - undefined method isValidBuiltInCode
undefined method isValidBuiltInCode
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
CLDR (Other open bugs)
unspecified
PC Linux
: Unprioritized critical (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-21 13:39 UTC by Harald Stowasser
Modified: 2011-07-22 07:58 UTC (History)
1 user (show)

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


Attachments

Description Harald Stowasser 2011-07-21 13:39:38 UTC
the method isValidBuiltInCode is still not existent in

-r92747 http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_17/phase3



Fatal error: Call to undefined method Language::isvalidbuiltincode() in /var/www/wiki.adition/handbuch_svn/mediawiki/extensions/cldr/LanguageNames.body.php on line 66

Call Stack
#Function	Location
1 {main}( )	../index.php:0
2 MediaWiki->performRequestForTitle( )	../index.php:114
3 MediaWiki->handleSpecialCases( )	../Wiki.php:63
4 SpecialPage::executePath( )	../Wiki.php:251
5 SpecialTranslate->execute( )	../SpecialPage.php:578
6 SpecialTranslate->settingsForm( )	../SpecialTranslate.php:78
7 SpecialTranslate->languageSelector( )	../SpecialTranslate.php:196
8 TranslateUtils::languageSelector( )	../SpecialTranslate.php:268
9 LanguageNames::getNames( )	../TranslateUtils.php:227
10 LanguageNames::loadLanguage( )	../LanguageNames.body.php:22
Comment 1 Sam Reed (reedy) 2011-07-21 16:25:07 UTC
Still?

I think that's something in core... Will check later, if someone hasn't beaten me too it
Comment 2 Sam Reed (reedy) 2011-07-21 21:10:52 UTC
If you use the REL1_17 version of cldr with the REL1_17 version of MediaWiki, all will work fine

http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_17/extensions/cldr/LanguageNames.body.php?view=annotate

Core versions of extensions are not guaranteed in any way to work with older releases
Comment 3 Harald Stowasser 2011-07-22 07:58:05 UTC
Ok. Using the 1_17 Branch helps. Thank you.

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


Navigation
Links