r14518 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14517‎ | r14518 | r14519 >
Date:08:24, 1 June 2006
Author:brion
Status:old
Tags:
Comment:
Fix regression with unclosed extension tags.
Behavior is still silly (PST adds an end tag) but matches prior behavior until fix is made.
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -376,7 +376,7 @@
377377 $content = $q[0];
378378 if( count( $q ) < 2 ) {
379379 # No end tag -- let it run out to the end of the text.
380 - break;
 380+ $text = '';
381381 } else {
382382 $text = $q[1];
383383 }

Status & tagging log