r82926 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82925‎ | r82926 | r82927 >
Date:02:40, 28 February 2011
Author:tstarling
Status:ok
Tags:
Comment:
Fixed fatal error in Preprocessor_Hash due to r82645
Modified paths:
  • /trunk/phase3/includes/parser/Preprocessor_Hash.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Preprocessor_Hash.php
@@ -1031,7 +1031,7 @@
10321032 $serial = count( $this->parser->mHeadings ) - 1;
10331033 $marker = "{$this->parser->mUniqPrefix}-h-$serial-" . Parser::MARKER_SUFFIX;
10341034 $s = substr( $s, 0, $bits['level'] ) . $marker . substr( $s, $bits['level'] );
1035 - $this->parser->mStripState->setGeneral( $marker, '' );
 1035+ $this->parser->mStripState->addGeneral( $marker, '' );
10361036 $out .= $s;
10371037 } else {
10381038 # Expand in virtual stack

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82645* Rewrote StripState to not use ReplacementArray. The memory usage of FSS was...tstarling06:58, 23 February 2011

Status & tagging log