Last modified: 2014-07-08 19:39:49 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 T66571, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64571 - Table with mismatch <onlyinclude> tags behaves as if the table-closing wikitext is missing
Table with mismatch <onlyinclude> tags behaves as if the table-closing wikite...
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-28 21:24 UTC by WhatamIdoing
Modified: 2014-07-08 19:39 UTC (History)
6 users (show)

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


Attachments

Description WhatamIdoing 2014-04-28 21:24:21 UTC
Steps to Reproduce:
1. Open https://en.wikipedia.org/wiki/List_of_30_Rock_characters or another page containing a table in this format:

<onlyinclude>{| class="wikitable plainrowheaders" style="text-align:center"
! scope="col" rowspan="2" style="width:15%;" | Character
! scope="col" rowspan="2" style="width:15%;" | Portrayed by
! scope="col" colspan="7" | Seasons
|-
! scope="col" style="width:5%;" | [[30 Rock (season 1)|1]]
! scope="col" style="width:5%;" | [[30 Rock (season 2)|2]]
! scope="col" style="width:5%;" | [[30 Rock (season 3)|3]]
! scope="col" style="width:5%;" | [[30 Rock (season 4)|4]]
! scope="col" style="width:5%;" | [[30 Rock (season 5)|5]]
! scope="col" style="width:5%;" | [[30 Rock (season 6)|6]]
! scope="col" style="width:5%;" | [[30 Rock (season 7)|7]]
|-
| scope="row" | [[Liz Lemon]]
| [[Tina Fey]]
| style="background: #ddffdd" colspan="7" | '''Main'''
|-
| scope="row" | J.D. Lutz
| [[John Lutz (television writer)|John Lutz]]
| style="background: #ffdddd" colspan="3" | Recurring
| style="background: #ddffdd" colspan="4" | '''Main'''
|-
<onlyinclude>|}</onlyinclude>

2. Notice that the rest of the page after this table appears to be "inside" the table.

3.  Change the label on an internal link that appears *after* this table.


Actual Results:  
The table-close tag (which is |} ) is added to the end of the page.

In this article, there are two tables with these odd onlyinclude tags.  We changed the misspelled "Pheonix" link in between the two of them.  If you remove the top table, then changing that link has no effect.  However, changing a link after the remaining table still has the same effect.


Reproducible: Always

Seen in Firefox 27 and Safari 6.
Comment 1 Arlo Breault 2014-07-08 19:39:49 UTC
This was fixed in the include_limits refactor.

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


Navigation
Links