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 "Browser tests: update to mw-selenium 1.7.2 and https"
[lhc/web/wiklou.git]
/
includes
/
DummyLinker.php
diff --git
a/includes/DummyLinker.php
b/includes/DummyLinker.php
index
6545c4a
..
ba24799
100644
(file)
--- a/
includes/DummyLinker.php
+++ b/
includes/DummyLinker.php
@@
-47,7
+47,11
@@
class DummyLinker {
);
}
);
}
+ /**
+ * @deprecated since 1.28, use LinkRenderer::getLinkClasses() instead
+ */
public function getLinkColour( $t, $threshold ) {
public function getLinkColour( $t, $threshold ) {
+ wfDeprecated( __METHOD__, '1.28' );
return Linker::getLinkColour( $t, $threshold );
}
return Linker::getLinkColour( $t, $threshold );
}
@@
-72,7
+76,7
@@
class DummyLinker {
$html = null,
$customAttribs = [],
$query = [],
$html = null,
$customAttribs = [],
$query = [],
- $options = [ 'known'
, 'noclasses'
]
+ $options = [ 'known' ]
) {
return Linker::linkKnown(
$target,
) {
return Linker::linkKnown(
$target,