From: jenkins-bot Date: Tue, 31 Oct 2017 09:22:39 +0000 (+0000) Subject: Merge "Prefer using plaintextParams instead of rawParams where possible" X-Git-Tag: 1.31.0-rc.0~1643 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=28cb34cfae46c29033f10a3b192ec3e5bde3f6b7;hp=7ff01f46c40975098590290918f98893c7f65118;p=lhc%2Fweb%2Fwiklou.git Merge "Prefer using plaintextParams instead of rawParams where possible" --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 85b4572bd5..09210e4379 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -529,7 +529,7 @@ class SpecialSearch extends SpecialPage { if ( strval( $term ) !== '' ) { $out->setPageTitle( $this->msg( 'searchresults' ) ); $out->setHTMLTitle( $this->msg( 'pagetitle' ) - ->rawParams( $this->msg( 'searchresults-title' )->rawParams( $term )->text() ) + ->plaintextParams( $this->msg( 'searchresults-title' )->plaintextParams( $term )->text() ) ->inContentLanguage()->text() ); } diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 62a48c646e..71dee3d832 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -974,7 +974,7 @@ class SpecialUndelete extends SpecialPage { $userLink = $this->getFileUser( $file ); $data = $this->msg( 'widthheight' )->numParams( $row->fa_width, $row->fa_height )->text(); $bytes = $this->msg( 'parentheses' ) - ->rawParams( $this->msg( 'nbytes' )->numParams( $row->fa_size )->text() ) + ->plaintextParams( $this->msg( 'nbytes' )->numParams( $row->fa_size )->text() ) ->plain(); $data = htmlspecialchars( $data . ' ' . $bytes ); $comment = $this->getFileComment( $file );