Last modified: 2010-05-15 15:33:07 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 2050 - Using nonexistent template in table header inserts an extraneous ">" into the rendered page
Using nonexistent template in table header inserts an extraneous ">" into the...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.canyonwiki.com/wiki/index....
:
Depends on:
Blocks: html
  Show dependency treegraph
 
Reported: 2005-05-02 16:39 UTC by Ryan Gardner
Modified: 2010-05-15 15:33 UTC (History)
0 users

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


Attachments

Description Ryan Gardner 2005-05-02 16:39:26 UTC
Building a table and following the instructions at metawiki, I used {{prettytable}} to format a table. On the rendered page, an extra ">" 
hung between the caption of the table and the table itself. Removing the "{{prettytable}}" fixed the error (and I guess {{prettytable}} is the 
default table formatting because it didn't change the looks of the table to remove that)

I searched through all the files to try to find where the heck {{prettytable}} lived, but I had no luck.
Comment 1 Rowan Collins [IMSoP] 2005-05-02 17:06:36 UTC
The code {{prettytable}} just means "insert the contents of the page
[[Template:Prettytable]] here", so if you haven't created such a template, it
should have no effect. See [[meta:Help:Template]]; I've re-worded the section of
[[meta:Help:Table]] that refers to this to hopefully make clearer that this is
not some built-in part of the software, just an example of a useful trick.

Meanwhile, using the non-existent template in the middle of the table syntax
appears to have confused the parser somewhat, hence the extra ">". That could be
considered a bug, but it's not something that ever *needs* to work, and solving
it is likely to create more serious problems.
Comment 2 Brion Vibber 2005-05-02 20:29:56 UTC
This creates invalid markup, from the link replacement borking:
<table <!-- -->>
Comment 3 Brion Vibber 2005-05-02 20:33:08 UTC
New HTML sanitizer in 1.5 handles this correctly: http://test.leuksman.com/index.php/2050

Resolving as FIXED.

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


Navigation
Links