Make WantedQueryPage::makeWlhLink protected
Bug: T231481 Change-Id: I6ace1bb99879ec8256b29f86220e8fc2e785f593
This commit is contained in:
parent
694ca68b23
commit
ae0e0f4d3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue