X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSkinLegacy.php;h=63852505f51f3026e90e1b55860b309c4c35c297;hb=4dd5bf200838679b6a1bf4b1b5e7e4a521cb07bd;hp=e1ec897d85e56c7a33d3a4967c7fd4893c0c478b;hpb=d9d8b099ada7d59b90938d8cfe1412a8d80127d2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SkinLegacy.php b/includes/SkinLegacy.php index e1ec897d85..63852505f5 100644 --- a/includes/SkinLegacy.php +++ b/includes/SkinLegacy.php @@ -95,7 +95,7 @@ class LegacyTemplate extends BaseTemplate { } /** - * This will be called immediately after the tag. Split into + * This will be called immediately after the "" tag. Split into * two functions to make it easier to subclass. * @return string */ @@ -159,8 +159,8 @@ class LegacyTemplate extends BaseTemplate { } /** - * This gets called shortly before the tag. - * @return String HTML to be put before + * This gets called shortly before the "" tag. + * @return String HTML to be put before "" */ function afterContent() { return $this->doAfterContent(); @@ -638,7 +638,7 @@ class LegacyTemplate extends BaseTemplate { $title = $this->getSkin()->getTitle(); if ( $wgOut->isArticleRelated() ) { - if ( $title->userIsWatching() ) { + if ( $wgUser->isWatched( $title ) ) { $text = wfMsg( 'unwatchthispage' ); $query = array( 'action' => 'unwatch',