r55683 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55682‎ | r55683 | r55684 >
Date:11:23, 30 August 2009
Author:jan
Status:deferred
Tags:
Comment:
Bugfix for removing templates in parameter of templates
Modified paths:
  • /trunk/wiki2xml/php/wiki2xml.php (modified) (history)

Diff [purge]

Index: trunk/wiki2xml/php/wiki2xml.php
@@ -291,7 +291,7 @@
292292 $l1 = strlen ( $x ) ;
293293 if ( !$this->p_internal_link_text ( $b , $x , false , "}}" ) ) return false ;
294294 $v = substr ( $x , $l1 ) ;
295 - $v = explode ( "=" , $v ) ;
 295+ $v = explode ( "=" , $v, 2 ) ;
296296 if ( count ( $v ) < 2 ) $vk = $vcount ;
297297 else {
298298 $vk = trim ( array_shift ( $v ) ) ;

Status & tagging log