From 7dd3187f44f798d896798b64a6391379a0cba5c7 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 1 Feb 2008 20:39:09 +0000 Subject: [PATCH] Work around {{urlencode:$1}} breakage in blockipsuccesstext (as on en.wikipedia.org) by doing parsing and message transform in one step. --- includes/SpecialBlockip.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index b9d21fc4dd..29fc1d646c 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -392,8 +392,8 @@ class IPBlockForm { $wgOut->setPagetitle( wfMsg( 'blockip' ) ); $wgOut->setSubtitle( wfMsg( 'blockipsuccesssub' ) ); - $text = wfMsg( 'blockipsuccesstext', $this->BlockAddress ); - $wgOut->addWikiText( $text ); + $text = wfMsgExt( 'blockipsuccesstext', array( 'parse' ), $this->BlockAddress ); + $wgOut->addHtml( $text ); } function showLogFragment( $out, $title ) { -- 2.20.1