Follow-up r112424: Per IAlex on IRC: Use escape() instead of plain() for improved...
[lhc/web/wiklou.git] / includes / Pager.php
index db2978a..2673205 100644 (file)
@@ -771,7 +771,7 @@ abstract class ReverseChronologicalPager extends IndexPager {
                $limits = $this->getLanguage()->pipeList( $limitLinks );
                $firstLastLinks = wfMessage( 'parentheses' )->rawParams( "{$pagingLinks['first']}" .
                        wfMsgExt( 'pipe-separator' , 'escapenoentities' ) .
-                       "{$pagingLinks['last']}" )->plain();
+                       "{$pagingLinks['last']}" )->escape();
 
                $this->mNavigationBar = $firstLastLinks . ' ' .
                        wfMsgHTML(