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:
37297d5
)
Add second param to Title::newFromText warning so that called from works correctly
author
Niklas Laxström
<niklas.laxstrom@gmail.com>
Fri, 10 Apr 2015 16:14:38 +0000
(18:14 +0200)
committer
Umherirrender
<umherirrender_de.wp@web.de>
Sun, 12 Apr 2015 15:34:24 +0000
(15:34 +0000)
Change-Id: Ib977acb9abfcc6e07019013c6f9fc20ece16245d
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
bf0fb8e
..
86e9746
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-263,7
+263,7
@@
class Title {
if ( is_object( $text ) ) {
throw new InvalidArgumentException( '$text must be a string.' );
} elseif ( !is_string( $text ) ) {
- wfWarn( __METHOD__ . ': $text must be a string. This will throw an InvalidArgumentException in future.' );
+ wfWarn( __METHOD__ . ': $text must be a string. This will throw an InvalidArgumentException in future.'
, 2
);
}
$cache = self::getTitleCache();