From 126591bd0feec0a276a8329bf5daef828d6ca63a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 17 May 2006 13:26:42 +0000 Subject: [PATCH] * Some escaping --- includes/DifferenceEngine.php | 2 +- includes/EditPage.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index 15f5878181..3a1cd71c27 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -426,7 +426,7 @@ CONTROL; function localiseLineNumbersCb( $matches ) { global $wgLang; - return wfMsg( 'lineno', $wgLang->formatNum( $matches[1] ) ); + return wfMsgExt( 'lineno', array('parseinline'), $wgLang->formatNum( $matches[1] ) ); } /** diff --git a/includes/EditPage.php b/includes/EditPage.php index 24c9b4f100..2cd38d7e07 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -848,11 +848,11 @@ class EditPage { $summary = wfMsg('summary'); $subject = wfMsg('subject'); - $minor = wfMsg('minoredit'); - $watchthis = wfMsg ('watchthis'); + $minor = wfMsgExt('minoredit', array('parseinline')); + $watchthis = wfMsgExt('watchthis', array('parseinline')); $cancel = $sk->makeKnownLink( $this->mTitle->getPrefixedText(), - wfMsg('cancel') ); + wfMsgExt('cancel', array('parseinline')) ); $edithelpurl = $sk->makeInternalOrExternalUrl( wfMsgForContent( 'edithelppage' )); $edithelp = ''. htmlspecialchars( wfMsg( 'edithelp' ) ).' '. @@ -1182,7 +1182,7 @@ END $batch->execute(); # Construct the HTML - $outText = '
'. wfMsg( 'templatesused' ) . '