dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
915e1f0
)
Language: s/error_log/wfWarn/
author
Bartosz Dziewoński
<matma.rex@gmail.com>
Wed, 23 Jul 2014 20:23:50 +0000
(22:23 +0200)
committer
Bartosz Dziewoński
<matma.rex@gmail.com>
Thu, 21 Aug 2014 20:28:22 +0000
(20:28 +0000)
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
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
ce6d0f7
..
dbafc3c
100644
(file)
--- 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 );