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:
b853854
)
Log callers that trigger Title::newFromText $text type warning
author
Alex Monk
<krenair@gmail.com>
Sun, 17 May 2015 15:51:24 +0000
(16:51 +0100)
committer
Krinkle
<krinklemail@gmail.com>
Sun, 17 May 2015 22:25:21 +0000
(22:25 +0000)
Follows-up Ic85d27d79, Ibedc31659. See T76305.
Change-Id: I8245744a9291d221f4e9302bb83db328a24f115f
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
509fc27
..
601211d
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-265,6
+265,7
@@
class Title {
if ( is_object( $text ) ) {
throw new InvalidArgumentException( '$text must be a string.' );
} elseif ( !is_string( $text ) ) {
+ wfDebugLog( 'T76305', wfGetAllCallers( 5 ) );
wfWarn( __METHOD__ . ': $text must be a string. This will throw an InvalidArgumentException in future.', 2 );
}