r27871 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27870‎ | r27871 | r27872 >
Date:06:20, 27 November 2007
Author:tstarling
Status:old
Tags:
Comment:
Fixed bug 12056: transformMsg() was not calling unstripBoth(), breaking the common use case of <charinsert> among other things.
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -4216,6 +4216,7 @@
42174217 $this->setOutputType( OT_MSG );
42184218 $this->clearState();
42194219 $text = $this->replaceVariables( $text );
 4220+ $text = $this->mStripState->unstripBoth( $text );
42204221
42214222 $executing = false;
42224223 wfProfileOut($fname);

Status & tagging log