X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMostlinkedtemplates.php;h=5d70df8db7ef23b5dccb5aa527dd070689e6a296;hb=b84a680a32ba03625d24ae3912c862d78ce73c16;hp=22932e5cc9c53e61287843a1788dc3532c9823b4;hpb=ddfce8feb06afe46bfa778be27c5b5b369861f5e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMostlinkedtemplates.php b/includes/specials/SpecialMostlinkedtemplates.php index 22932e5cc9..5d70df8db7 100644 --- a/includes/specials/SpecialMostlinkedtemplates.php +++ b/includes/specials/SpecialMostlinkedtemplates.php @@ -76,7 +76,7 @@ class MostlinkedTemplatesPage extends QueryPage { * Pre-cache page existence to speed up link generation * * @param $db DatabaseBase connection - * @param $res ResultWrapper + * @param ResultWrapper $res */ public function preprocessResults( $db, $res ) { if ( !$res->numRows() ) { @@ -95,9 +95,9 @@ class MostlinkedTemplatesPage extends QueryPage { /** * Format a result row * - * @param $skin Skin to use for UI elements - * @param $result Result row - * @return String + * @param Skin $skin + * @param object $result Result row + * @return string */ public function formatResult( $skin, $result ) { $title = Title::makeTitleSafe( $result->namespace, $result->title ); @@ -115,8 +115,8 @@ class MostlinkedTemplatesPage extends QueryPage { /** * Make a "what links here" link for a given title * - * @param $title Title to make the link for - * @param $result Result row + * @param Title $title Title to make the link for + * @param object $result Result row * @return String */ private function makeWlhLink( $title, $result ) { @@ -124,5 +124,8 @@ class MostlinkedTemplatesPage extends QueryPage { $label = $this->msg( 'ntransclusions' )->numParams( $result->value )->escaped(); return Linker::link( $wlh, $label ); } -} + protected function getGroupName() { + return 'highuse'; + } +}