Make WantedQueryPage::makeWlhLink protected

Bug: T231481
Change-Id: I6ace1bb99879ec8256b29f86220e8fc2e785f593
This commit is contained in:
Ostrzyciel 2019-08-28 19:12:36 +02:00
parent 694ca68b23
commit ae0e0f4d3b

View file

@ -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 );