From 3a6e95a1bed84abfcc869798f61ac3f9127e848e Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 5 Oct 2011 14:42:45 +0000 Subject: [PATCH] Parse 'yourtext' message for the diff header to match the other usage in

just below --- includes/EditPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index d12eb59414..3bc0108d26 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2001,7 +2001,7 @@ HTML $de = new DifferenceEngine( $this->mTitle ); $de->setText( $this->textbox2, $this->textbox1 ); - $de->showDiff( wfMsg( "yourtext" ), wfMsg( "storedversion" ) ); + $de->showDiff( wfMsgExt( 'yourtext', 'parseinline' ), wfMsg( 'storedversion' ) ); $wgOut->wrapWikiMsg( '

$1

', "yourtext" ); $this->showTextbox2(); @@ -2291,7 +2291,7 @@ HTML $wgOut->wrapWikiMsg( '

$1

', "yourdiff" ); $de = new DifferenceEngine( $this->mTitle ); $de->setText( $this->getContent(), $this->textbox2 ); - $de->showDiff( wfMsg( "storedversion" ), wfMsg( "yourtext" ) ); + $de->showDiff( wfMsg( "storedversion" ), wfMsgExt( 'yourtext', 'parseinline' ) ); $wgOut->wrapWikiMsg( '

$1

', "yourtext" ); $this->showTextbox2(); -- 2.20.1