From ae0e0f4d3b3d990dda7e2f1aa36ef33dfef9619d Mon Sep 17 00:00:00 2001 From: Ostrzyciel Date: Wed, 28 Aug 2019 19:12:36 +0200 Subject: [PATCH] Make WantedQueryPage::makeWlhLink protected Bug: T231481 Change-Id: I6ace1bb99879ec8256b29f86220e8fc2e785f593 --- includes/specialpage/WantedQueryPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specialpage/WantedQueryPage.php b/includes/specialpage/WantedQueryPage.php index 83ffe40a51..72fe57d08a 100644 --- a/includes/specialpage/WantedQueryPage.php +++ b/includes/specialpage/WantedQueryPage.php @@ -116,7 +116,7 @@ abstract class WantedQueryPage extends QueryPage { * @param object $result Result row * @return string */ - private function makeWlhLink( $title, $result ) { + protected function makeWlhLink( $title, $result ) { $wlh = SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedText() ); $label = $this->msg( 'nlinks' )->numParams( $result->value )->text(); return $this->getLinkRenderer()->makeLink( $wlh, $label ); -- 2.20.1