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:
1a23921
)
Make linker warning useful
author
Niklas Laxström
<niklas.laxstrom@gmail.com>
Tue, 23 Sep 2014 07:13:33 +0000
(09:13 +0200)
committer
Niklas Laxström
<niklas.laxstrom@gmail.com>
Tue, 23 Sep 2014 07:13:33 +0000
(09:13 +0200)
Follow-up to I4c397de289ae51bc463b5ae
Change-Id: I4695172b13988fc333707e09fc9d909f20adb7c1
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
be850d0
..
1d327be
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-193,7
+193,7
@@
class Linker {
$target, $html = null, $customAttribs = array(), $query = array(), $options = array()
) {
if ( !$target instanceof Title ) {
- wfWarn( __METHOD__ . ': Requires $target to be a Title object.' );
+ wfWarn( __METHOD__ . ': Requires $target to be a Title object.'
, 2
);
return "<!-- ERROR -->$html";
}
wfProfileIn( __METHOD__ );