Wikia code/languages/Language.php
Appearance
< Wikia code | languages
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.43.0. |
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\languages\Language.php 2011-07-18 22:35:03.223632800 +0100
+++ D:\Programming\SVN\wikia\trunk\languages\Language.php 2011-08-17 15:29:07.141601600 +0100
@@ -1966,7 +1966,7 @@
}
if( !is_array( $rawEntry ) ) {
- error_log( "\"$rawEntry\" is not a valid magic thingie for \"$mw->mId\"" );
+ wfDebug( __METHOD__ . ": \"$rawEntry\" is not a valid magic thingie for \"$mw->mId\"" );
} else {
$mw->mCaseSensitive = $rawEntry[0];
$mw->mSynonyms = array_slice( $rawEntry, 1 );
@@ -2510,6 +2510,13 @@
return self::getFileName( "$IP/languages/messages/Messages", $code, '.php' );
}
+ // wikia changes begin
+ static function getAdditionalMessagesFileName( $code ) {
+ global $IP;
+ return self::getFileName( "$IP/languages/messages/wikia/Messages", $code, '.php' );
+ }
+ // wikia changes end
+
static function getClassFileName( $code ) {
global $IP;
return self::getFileName( "$IP/languages/classes/Language", $code, '.php' );