From: Bartosz DziewoƄski Date: Wed, 23 Jul 2014 20:23:50 +0000 (+0200) Subject: Language: s/error_log/wfWarn/ X-Git-Tag: 1.31.0-rc.0~14100^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22statistiques_visites%22%2C%22%22%29%20.%20%22?a=commitdiff_plain;h=1a008d6dcdc7211f058ab0874aff34c977f1d337;p=lhc%2Fweb%2Fwiklou.git Language: s/error_log/wfWarn/ This code path gets triggered when I run unit tests locally and produces billions of lines of output. I don't care why, I just want it to shut up. Change-Id: I09a5cbaea80ff9d7afc22c83f972890cfa25d127 --- diff --git a/languages/Language.php b/languages/Language.php index ce6d0f7055..dbafc3c3f3 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -3142,7 +3142,7 @@ class Language { } if ( !is_array( $rawEntry ) ) { - error_log( "\"$rawEntry\" is not a valid magic word for \"$mw->mId\"" ); + wfWarn( "\"$rawEntry\" is not a valid magic word for \"$mw->mId\"" ); } else { $mw->mCaseSensitive = $rawEntry[0]; $mw->mSynonyms = array_slice( $rawEntry, 1 );