Last modified: 2008-03-29 16:01:47 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 13554 - PHP Notice in old pre-processor when list item is empty
PHP Notice in old pre-processor when list item is empty
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-03-29 15:27 UTC by Cédric Nilly
Modified: 2008-03-29 16:01 UTC (History)
1 user (show)

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

patch (656 bytes, patch)
2008-03-29 15:27 UTC, Cédric Nilly

Description Cédric Nilly 2008-03-29 15:27:09 UTC
2095                     $term = $t2 = '';
2096                     if ($this->findColonNoLinks($t, $term, $t2) !== false) {
2097                         $t = $t2;
2149                     if ( ' ' == $t{0} and ( $this->mLastSection == 'pre' or trim($t) != '' ) ) {

if $t equals '' we have a notice error:
PHP Notice:  Uninitialized string offset:  0 in includes/Parser_OldPP.php on line 2149
Comment 1 Cédric Nilly 2008-03-29 15:27:59 UTC
Created attachment 4779 [details]
Comment 2 Robert Leverington 2008-03-29 16:01:03 UTC
Fixed in r32567.

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