From c42e248ef2d09481b539b34f76306ebd730d6408 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 1 Oct 2009 11:24:56 +0000 Subject: [PATCH] Fix double escaping to avoid showing literal • when [[MediaWiki:Pipe-separator]] is set to this character All message parameters are previously escaped. --- includes/Pager.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/includes/Pager.php b/includes/Pager.php index 825a046796..807d4915a7 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -585,8 +585,7 @@ abstract class AlphabeticPager extends IndexPager { array( $pagingLinks['first'], $pagingLinks['last'] ) ) . ") " . - wfMsgHtml( 'viewprevnext', $pagingLinks['prev'], - $pagingLinks['next'], $limits ); + wfMsg( 'viewprevnext', $pagingLinks['prev'], $pagingLinks['next'], $limits ); if( !is_array( $this->getIndexField() ) ) { # Early return to avoid undue nesting @@ -676,11 +675,7 @@ abstract class ReverseChronologicalPager extends IndexPager { $this->mNavigationBar = "({$pagingLinks['first']}" . wfMsgExt( 'pipe-separator' , 'escapenoentities' ) . "{$pagingLinks['last']}) " . - wfMsgHTML( - 'viewprevnext', - $pagingLinks['prev'], $pagingLinks['next'], - $limits - ); + wfMsg( 'viewprevnext', $pagingLinks['prev'], $pagingLinks['next'], $limits ); return $this->mNavigationBar; } -- 2.20.1