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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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