X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialPrefixindex.php;h=34ffa07363e1856b28e8463d913487067facba47;hb=46fa949b8b5e10b1843d4ea2930679a0d3999025;hp=5e3e430a2a07b429e299b29ff2519ebde93f49db;hpb=adae996840b9e782f6e14b21c433a83e37c3a74e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialPrefixindex.php b/includes/specials/SpecialPrefixindex.php index 5e3e430a2a..34ffa07363 100644 --- a/includes/specials/SpecialPrefixindex.php +++ b/includes/specials/SpecialPrefixindex.php @@ -83,7 +83,7 @@ class SpecialPrefixindex extends SpecialAllPages { $showme = $from; } - // Bug 27864: if transcluded, show all pages instead of the form. + // T29864: if transcluded, show all pages instead of the form. if ( $this->including() || $showme != '' || $ns !== null ) { $this->showPrefixChunk( $namespace, $showme, $from ); } else { @@ -228,9 +228,9 @@ class SpecialPrefixindex extends SpecialAllPages { $displayed = substr( $displayed, $prefixLength ); } $link = ( $title->isRedirect() ? '
' : '' ) . - Linker::linkKnown( + $this->getLinkRenderer()->makeKnownLink( $title, - htmlspecialchars( $displayed ) + $displayed ) . ( $title->isRedirect() ? '
' : '' ); @@ -275,9 +275,9 @@ class SpecialPrefixindex extends SpecialAllPages { $query['namespace'] = $namespace; } - $nextLink = Linker::linkKnown( + $nextLink = $this->getLinkRenderer()->makeKnownLink( $this->getPageTitle(), - $this->msg( 'nextpage', str_replace( '_', ' ', $nextRow->page_title ) )->escaped(), + $this->msg( 'nextpage', str_replace( '_', ' ', $nextRow->page_title ) )->text(), [], $query );