Last modified: 2006-07-06 23:27:23 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 T8560, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6560 - Double ISBN gives error with error_reporting(E_ALL)
Double ISBN gives error with error_reporting(E_ALL)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.7.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-06 06:28 UTC by Nick Jenkins
Modified: 2006-07-06 23:27 UTC (History)
0 users

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


Attachments

Description Nick Jenkins 2006-07-06 06:28:39 UTC
Input wiki text:
=================
ISBN ISBN 1234
=================

Gives a PHP "Uninitialized string offset" error a 1.7 SVN wiki with E_ALL
enabled. Backtrace is as follows:
==============================
Notice: Uninitialized string offset: 0 in
/var/www/hosts/mediawiki/phase3/includes/Parser.php on line 3408
Call Stack
#	Function	Location
1	{main}()	/var/www/hosts/mediawiki/phase3/index.php:0
2	MediaWiki->initialize()	/var/www/hosts/mediawiki/phase3/index.php:135
3	MediaWiki->performAction()	/var/www/hosts/mediawiki/phase3/includes/Wiki.php:50
4	EditPage->submit()	/var/www/hosts/mediawiki/phase3/includes/Wiki.php:380
5	EditPage->edit()	/var/www/hosts/mediawiki/phase3/includes/EditPage.php:217
6	EditPage->showEditForm()	/var/www/hosts/mediawiki/phase3/includes/EditPage.php:379
7	EditPage->showPreview()	/var/www/hosts/mediawiki/phase3/includes/EditPage.php:1004
8	EditPage->getPreviewText()
/var/www/hosts/mediawiki/phase3/includes/EditPage.php:1244
9	Parser->parse()	/var/www/hosts/mediawiki/phase3/includes/EditPage.php:1401
10	Parser->internalParse()	/var/www/hosts/mediawiki/phase3/includes/Parser.php:288
11	Parser->doMagicLinks()	/var/www/hosts/mediawiki/phase3/includes/Parser.php:912
12	Parser->magicISBN()	/var/www/hosts/mediawiki/phase3/includes/Parser.php:926
==============================
Comment 1 Brion Vibber 2006-07-06 17:09:22 UTC
Fixed in r15381
Comment 2 Nick Jenkins 2006-07-06 23:27:23 UTC
Thank you.

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


Navigation
Links