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
Permissions: Declare the $nsInfo property and document it in constructor
[lhc/web/wiklou.git]
/
includes
/
DummyLinker.php
diff --git
a/includes/DummyLinker.php
b/includes/DummyLinker.php
index
2f5455e
..
e46c45e
100644
(file)
--- a/
includes/DummyLinker.php
+++ b/
includes/DummyLinker.php
@@
-345,11
+345,11
@@
class DummyLinker {
return Linker::tocLineEnd();
}
return Linker::tocLineEnd();
}
- public function tocList( $toc, $lang =
false
) {
+ public function tocList( $toc, $lang =
null
) {
return Linker::tocList( $toc, $lang );
}
return Linker::tocList( $toc, $lang );
}
- public function generateTOC( $tree, $lang =
false
) {
+ public function generateTOC( $tree, $lang =
null
) {
return Linker::generateTOC( $tree, $lang );
}
return Linker::generateTOC( $tree, $lang );
}
@@
-403,38
+403,10
@@
class DummyLinker {
);
}
);
}
- /**
- * @deprecated since 1.28, use TemplatesOnThisPageFormatter directly
- */
- public function formatTemplates(
- $templates,
- $preview = false,
- $section = false,
- $more = null
- ) {
- wfDeprecated( __METHOD__, '1.28' );
-
- return Linker::formatTemplates(
- $templates,
- $preview,
- $section,
- $more
- );
- }
-
public function formatHiddenCategories( $hiddencats ) {
return Linker::formatHiddenCategories( $hiddencats );
}
public function formatHiddenCategories( $hiddencats ) {
return Linker::formatHiddenCategories( $hiddencats );
}
- /**
- * @deprecated since 1.28, use Language::formatSize() directly
- */
- public function formatSize( $size ) {
- wfDeprecated( __METHOD__, '1.28' );
-
- return Linker::formatSize( $size );
- }
-
public function titleAttrib( $name, $options = null, array $msgParams = [] ) {
return Linker::titleAttrib(
$name,
public function titleAttrib( $name, $options = null, array $msgParams = [] ) {
return Linker::titleAttrib(
$name,