dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Add method parameter type documentation"
[lhc/web/wiklou.git]
/
languages
/
Language.php
diff --git
a/languages/Language.php
b/languages/Language.php
index
f1b7fa6
..
527f382
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-2617,7
+2617,7
@@
class Language {
*/
function checkTitleEncoding( $s ) {
if ( is_array( $s ) ) {
-
wfDebugDieBacktrace
( 'Given array to checkTitleEncoding.' );
+
throw new MWException
( 'Given array to checkTitleEncoding.' );
}
if ( StringUtils::isUtf8( $s ) ) {
return $s;