X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fskins%2FSkin.php;h=bbad648b0eafb5b596f07d4e5a7b8574df46e6f3;hb=e4bc582217224c848923d6a8c1e3786ef08b535f;hp=f45596f3fd2663804e024beabee4c061488662bf;hpb=fdf9662c812a89555b4c2ad9ec34f0ac3f5b9232;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index f45596f3fd..bbad648b0e 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -275,7 +275,7 @@ abstract class Skin extends ContextSource { // Check, if the page can hold some kind of content, otherwise do nothing $title = $this->getRelevantTitle(); - if ( $title->canExist() ) { + if ( $title->canExist() && $title->canHaveTalkPage() ) { if ( $title->isTalkPage() ) { $titles[] = $title->getSubjectPage(); } else { @@ -389,9 +389,8 @@ abstract class Skin extends ContextSource { /** * Outputs the HTML generated by other functions. - * @param OutputPage|null $out */ - abstract function outputPage( OutputPage $out = null ); + abstract function outputPage(); /** * @param array $data @@ -814,9 +813,11 @@ abstract class Skin extends ContextSource { } /** + * @deprecated since 1.34, use getSearchLink() instead. * @return string */ function escapeSearchLink() { + wfDeprecated( __METHOD__, '1.34' ); return htmlspecialchars( $this->getSearchLink() ); }