Merge "Replace a Linker::link() call in InfoAction.php"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 20 Jun 2017 21:05:15 +0000 (21:05 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 20 Jun 2017 21:05:16 +0000 (21:05 +0000)
includes/actions/InfoAction.php

index 0f13b17..886bf37 100644 (file)
@@ -390,7 +390,10 @@ class InfoAction extends FormlessAction {
                        $prefixIndex = SpecialPage::getTitleFor(
                                'Prefixindex', $title->getPrefixedText() . '/' );
                        $pageInfo['header-basic'][] = [
-                               Linker::link( $prefixIndex, $this->msg( 'pageinfo-subpages-name' )->escaped() ),
+                               $linkRenderer->makeLink(
+                                       $prefixIndex,
+                                       $this->msg( 'pageinfo-subpages-name' )->text()
+                               ),
                                $this->msg( 'pageinfo-subpages-value' )
                                        ->numParams(
                                                $pageCounts['subpages']['total'],