Wow. Messy. Follow-up r112426, r112424: Fix incorrect calls. Should have been escaped...
[lhc/web/wiklou.git] / includes / specials / SpecialContributions.php
index 7d55ce2..57c0a26 100644 (file)
@@ -254,7 +254,7 @@ class SpecialContributions extends SpecialPage {
                // @todo Should this be removed at some point?
                $oldMsg = $this->msg( 'contribsub' );
                if ( $oldMsg->exists() ) {
-                       $linksWithParentheses = $this->msg( 'parenteses' )->rawParams( $links )->escape();
+                       $linksWithParentheses = $this->msg( 'parenteses' )->rawParams( $links )->escaped();
                        return $oldMsg->rawParams( "$user $linksWithParentheses" );
                } else {
                        return $this->msg( 'contribsub2' )->rawParams( $user, $links );
@@ -839,7 +839,7 @@ class ContribsPager extends ReverseChronologicalPager {
                        $del .= ' ';
                }
 
-               $diffHistLinks = $this->msg( 'parentheses' )->rawParams( $difftext . $this->messages['pipe-separator'] . $histlink )->escape();
+               $diffHistLinks = $this->msg( 'parentheses' )->rawParams( $difftext . $this->messages['pipe-separator'] . $histlink )->escaped();
                $ret = "{$del}{$d} {$diffHistLinks}{$chardiff}{$nflag}{$mflag} {$link}{$userlink} {$comment} {$topmarktext}";
 
                # Denote if username is redacted for this edit