Fixed bug 12056: transformMsg() was not calling unstripBoth(), breaking the common...
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 27 Nov 2007 06:20:40 +0000 (06:20 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 27 Nov 2007 06:20:40 +0000 (06:20 +0000)
includes/Parser.php

index bb27659..5c4c21a 100644 (file)
@@ -4216,6 +4216,7 @@ class Parser
                $this->setOutputType( OT_MSG );
                $this->clearState();
                $text = $this->replaceVariables( $text );
+               $text = $this->mStripState->unstripBoth( $text );
 
                $executing = false;
                wfProfileOut($fname);