Page MenuHomePhabricator

Tablesorter gets influenced by template styles content
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:
The sorting is incorrect, because the sorter is picking up the contents of the style tag emitted by TemplateStyles.

What should have happened instead?:
The content of TemplateStyles style elements should be ignored.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

Event Timeline

Will need to special case <link> as well.

Will need to special case <link> as well.

That is an empty element, so it shouldn't be a problem I think ?

Change 808104 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/core@master] Tablesorter: Ignore style elements

https://gerrit.wikimedia.org/r/808104

Change 808104 merged by jenkins-bot:

[mediawiki/core@master] Tablesorter: Ignore style elements

https://gerrit.wikimedia.org/r/808104