From: umherirrender Date: Wed, 16 Jul 2014 09:38:09 +0000 (+0200) Subject: fix args for messages mergehistory-no-source/-destination X-Git-Tag: 1.31.0-rc.0~14927^2 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=ac815f2d4fd132d9613076a3960979dc7549b4e2;p=lhc%2Fweb%2Fwiklou.git fix args for messages mergehistory-no-source/-destination Change-Id: I2502a5056a09ff1373ddfc6a0e59d35aac1647b7 --- diff --git a/includes/specials/SpecialMergeHistory.php b/includes/specials/SpecialMergeHistory.php index a27cf4c0d7..eea13363bd 100644 --- a/includes/specials/SpecialMergeHistory.php +++ b/includes/specials/SpecialMergeHistory.php @@ -133,7 +133,7 @@ class SpecialMergeHistory extends SpecialPage { if ( !$this->mTargetObj instanceof Title ) { $errors[] = $this->msg( 'mergehistory-invalid-source' )->parseAsBlock(); } elseif ( !$this->mTargetObj->exists() ) { - $errors[] = $this->msg( 'mergehistory-no-source', array( 'parse' ), + $errors[] = $this->msg( 'mergehistory-no-source', wfEscapeWikiText( $this->mTargetObj->getPrefixedText() ) )->parseAsBlock(); } @@ -141,7 +141,7 @@ class SpecialMergeHistory extends SpecialPage { if ( !$this->mDestObj instanceof Title ) { $errors[] = $this->msg( 'mergehistory-invalid-destination' )->parseAsBlock(); } elseif ( !$this->mDestObj->exists() ) { - $errors[] = $this->msg( 'mergehistory-no-destination', array( 'parse' ), + $errors[] = $this->msg( 'mergehistory-no-destination', wfEscapeWikiText( $this->mDestObj->getPrefixedText() ) )->parseAsBlock(); }