Last modified: 2010-05-15 15:38:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5489, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3489 - Fatal error: Only variables can be passed by reference in includes/Parser.php on line 1340
Fatal error: Only variables can be passed by reference in includes/Parser.php...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.5.x
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
http://test.leuksman.com/index.php?ti...
: parser
Depends on:
Blocks: 2884
  Show dependency treegraph
 
Reported: 2005-09-17 16:21 UTC by Rene Leonhardt
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rene Leonhardt 2005-09-17 16:21:36 UTC
On PHP 5.1 a fatal error occurs when I call importDump.php on the pages.xml.

$next_line =  array_shift(array_splice( $a, $k + 1, 1) );

Because array_shift() requires a reference as parameter, no value.

So

$arrTemp = array_splice( $a, $k + 1, 1);
$next_line = array_shift( $arrTemp);

does work.


Keep up the good work,
René
Comment 1 Brion Vibber 2005-09-18 01:12:05 UTC
Bug is triggered with links in image captions, such as:
[[Image:Foo|[[blah]]]]
Comment 2 Brion Vibber 2005-09-18 01:22:22 UTC
Fixed in CVS HEAD and REL1_5.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links