Last modified: 2009-04-03 13:09:16 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 13316 - Imagemap with an .ogg file spit outs DOMExceptions
Imagemap with an .ogg file spit outs DOMExceptions
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Tim Starling
Depends on:
  Show dependency treegraph
Reported: 2008-03-10 23:04 UTC by Raimond Spekking
Modified: 2009-04-03 13:09 UTC (History)
1 user (show)

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


Description Raimond Spekking 2008-03-10 23:04:38 UTC
Try to save or preview a page with this content:

dafault [[Image:FDR_video_montage.ogg]]
desc none

You will get:

exception 'DOMException' with message 'DOMXPath::__construct() expects parameter 1 to be DOMDocument, boolean given' in /home/wikipedia/common/php-1.5/extensions/ImageMap/ImageMap_body.php:74 Stack trace: #0 /home/wikipedia/common/php-1.5/extensions/ImageMap/ImageMap_body.php(74): DOMXPath->__construct(false) #1 [internal function]: ImageMap::render('?Image:FDR_vide...', Array, Object(Parser)) #2 /home/wikipedia/common/php-1.5/includes/Parser.php(3221): call_user_func_array(Array, Array) #3 /home/wikipedia/common/php-1.5/includes/Preprocessor_DOM.php(961): Parser->extensionSubstitution(Array, Object(PPFrame_DOM)) #4 /home/wikipedia/common/php-1.5/includes/Parser.php(2647): PPFrame_DOM->expand(Object(PPNode_DOM), 0) #5 /home/wikipedia/common/php-1.5/includes/Parser.php(947): Parser->replaceVariables('?Imag...') #6 /home/wikipedia/common/php-1.5/includes/Parser.php(311): Parser->internalParse('?Imag...') #7 /home/wikipedia/common/php-1.5/includes/EditPage.php(1568): Parser->parse('?Imag...', Object(Title), Object(ParserOptions)) #8 /home/wikipedia/common/php-1.5/includes/EditPage.php(1158): EditPage->getPreviewText() #9 /home/wikipedia/common/php-1.5/includes/EditPage.php(475): EditPage->showEditForm() #10 /home/wikipedia/common/php-1.5/includes/EditPage.php(343): EditPage->edit() #11 /home/wikipedia/common/php-1.5/includes/Wiki.php(445): EditPage->submit() #12 /home/wikipedia/common/php-1.5/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #13 /home/wikipedia/common/php-1.5/index.php(90): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest)) #14 /usr/local/apache/common-local/live-1.5/index.php(3): require('/home/wikipedia...') #15 {main}
Comment 1 Raimond Spekking 2008-03-10 23:19:25 UTC

default [[Image:test.jpg]]
desc none
Comment 2 Siebrand Mazeland 2008-08-17 22:13:26 UTC
Assigned to extension developer
Comment 3 Tim Starling 2008-10-06 06:07:06 UTC
Works for me. Added a couple of extra validity checks in r41728 anyway, just in case.
Comment 4 Chad H. 2009-04-03 13:09:16 UTC
*** Bug 18324 has been marked as a duplicate of this bug. ***

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