Jump to content

Help talk:Lint errors/deletable-table-tag

Add topic
From mediawiki.org
Latest comment: 4 months ago by ~2025-147787 in topic Unclosed table

Is it for every nested table?

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I'm quite confused about this error. Is it for every nested table? Aren't nested tables sometimes legitimate?

Also, the current doc says "you might prefer the new rendering". If it's a possibility, then why is this lint errors listed under "High priority"?

Or am i misunderstanding something? Amir E. Aharoni {{๐ŸŒŽ๐ŸŒ๐ŸŒ}} 06:47, 14 July 2017 (UTC)Reply

It is for every *badly* nested table. If a table is properly nested, it is inside a <td> cell. If it is improperly nested, it is usually inside a <tr> tag which is when this linter detection triggers. Tidy and RemexHTML/Parsoid handle this improper nesting differently. Tidy removes the badly nested inner table. RemexHTML closes the outer table. So, yes, the fix depends on what the editor intention was. SSastry (WMF) (talk) 12:44, 14 July 2017 (UTC)Reply
Please edit the help page based on this explanation to clarify any confusion. I am sometimes a bit too close to the problem / solution to do that adequately. SSastry (WMF) (talk) 12:50, 14 July 2017 (UTC)Reply
Can it also happen with tables that are not nested?
On the page w:he:ืžื—ื•ื–ื•ืช ืื™ื ื“ื•ื ื–ื™ื” I don't see nested tables at all, but it appears on Special:LintErrors. Amir E. Aharoni {{๐ŸŒŽ๐ŸŒ๐ŸŒ}} 13:33, 14 July 2017 (UTC)Reply
If you click the edit link on the linter page, it says https://he.wikipedia.org/wiki/%D7%AA%D7%91%D7%A0%D7%99%D7%AA:%D7%9E%D7%A4%D7%AA_%D7%9E%D7%97%D7%95%D7%96%D7%95%D7%AA_%D7%90%D7%99%D7%A0%D7%93%D7%95%D7%A0%D7%96%D7%99%D7%94 is the source of the issue. SSastry (WMF) (talk) 14:15, 14 July 2017 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.


Unclosed table

[edit]

The majority of times I see this error is where a page has multiple tables by design but the non-last table is missing the closing |} and is instead usually ending with |- markup. Can this scenario be detailed on the help page? -- ~2025-147787 (talk) 14:15, 7 July 2025 (UTC)Reply