Last modified: 2006-04-27 21:20:11 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 5005 - <gallery> produces a </tr> without a matching <tr>
<gallery> produces a </tr> without a matching <tr>
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.6.x
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-16 00:04 UTC by Jitse Niesen
Modified: 2006-04-27 21:20 UTC (History)
0 users

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


Attachments
bug fix (613 bytes, patch)
2006-02-16 00:05 UTC, Jitse Niesen
Details

Description Jitse Niesen 2006-02-16 00:04:47 UTC
The following wikitext
----
<gallery>
a
</gallery>
----
produces this HTML (attributes omitted for clarity):
----
<table><td><div>A</div></td></tr>
</table>
----
This is usually cleaned up by HTML Tidy.

Note that there is no <tr> tag, but there is a </tr> tag.
The attached patch fixes this.

Additionally, I get the error message:
"Only variables should be assigned by reference in
/home/jitse/wikipedia/phase3-cvs/includes/Parser.php on line 3678

I didn't fix this as it might indicate some deeper bug.
Comment 1 Jitse Niesen 2006-02-16 00:05:36 UTC
Created attachment 1392 [details]
bug fix
Comment 2 Antoine "hashar" Musso (WMF) 2006-04-27 21:20:11 UTC
Fixed in trunk@13890 , REL1_6@13891 . Will be in 1.6.4 .

Thanks for the patch!

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


Navigation
Links