[Pkg-mediawiki-devel] Bug#473785: Bug in ParseFunction.php

Tammo Krueger tammo.krueger at first.fraunhofer.de
Thu Apr 24 15:04:30 UTC 2008


Hi all,

I have just found a way to circumvent the bug 473785. In the File 
ParseFunction.php replace line 158:

list( $nameNode, $index, $valueNode ) = $frame->splitBraceNode( $arg );

with this code:

$bits = $arg->splitArg();
$nameNode = $bits['name'];
$index = $bits['index'];
$valueNode = $bits['value'];

I have attached the edited file.

Regards

Tammo

-- 
tammo.krueger at first.fraunhofer.de
Fraunhofer FIRST (IDA) - Kekulestr. 7 - 12489 Berlin - Germany
phone (+49) 30 6392 1870 - fax (+49) 30 6392 1805
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ParserFunctions.php
Type: application/x-php
Size: 15168 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mediawiki-devel/attachments/20080424/f413da0c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3603 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mediawiki-devel/attachments/20080424/f413da0c/attachment-0001.bin 


More information about the Pkg-mediawiki-devel mailing list