Last modified: 2007-11-30 18:38:08 UTC
Browsing r27906 of Parser.php and noticed this bit of code.. (line 586) /** * Add an item to the strip state * Returns the unique tag which must be inserted into the stripped text * The tag will be replaced with the original text in unstrip() * * @private */ function insertStripItem( $text ) { static $n = 0; $rnd = "{$this->mUniqPrefix}-item-$n-{$this->mMarkerSuffix}"; $this->mStripState->general->setPair( $rnd, $text ); return $rnd; } It appears that $n should be incremented each time its called.
I think so. Can someone familiar with the parser comment on this?
Fixed in r27988.