http://www.mediawiki.org/wiki/Special:Code/MediaWiki/82926

Revision: 82926
Author:   tstarling
Date:     2011-02-28 02:40:39 +0000 (Mon, 28 Feb 2011)
Log Message:
-----------
Fixed fatal error in Preprocessor_Hash due to r82645

Modified Paths:
--------------
    trunk/phase3/includes/parser/Preprocessor_Hash.php

Modified: trunk/phase3/includes/parser/Preprocessor_Hash.php
===================================================================
--- trunk/phase3/includes/parser/Preprocessor_Hash.php  2011-02-28 02:35:57 UTC 
(rev 82925)
+++ trunk/phase3/includes/parser/Preprocessor_Hash.php  2011-02-28 02:40:39 UTC 
(rev 82926)
@@ -1031,7 +1031,7 @@
                                                $serial = count( 
$this->parser->mHeadings ) - 1;
                                                $marker = 
"{$this->parser->mUniqPrefix}-h-$serial-" . Parser::MARKER_SUFFIX;
                                                $s = substr( $s, 0, 
$bits['level'] ) . $marker . substr( $s, $bits['level'] );
-                                               
$this->parser->mStripState->setGeneral( $marker, '' );
+                                               
$this->parser->mStripState->addGeneral( $marker, '' );
                                                $out .= $s;
                                        } else {
                                                # Expand in virtual stack


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to