jquery.tablesorter: Fix pre-JS selector to match wikitext-generated sortable tables
authorEd Sanders <esanders@wikimedia.org>
Wed, 20 Mar 2019 13:47:50 +0000 (13:47 +0000)
committerKrinkle <krinklemail@gmail.com>
Mon, 15 Apr 2019 23:05:59 +0000 (23:05 +0000)
commit4e81b5c425ba6d6e7ca5ac0ccef14f9f40d77ee0
tree4c02f903ff5ff01c7da316431cc8a8c7075dde70
parentd5e63e5ad8b0d033c90649c552a0b726d82132ee
jquery.tablesorter: Fix pre-JS selector to match wikitext-generated sortable tables

Also pre-load tablesorter styles when output contains 'sortable'.

The :not( jquery-tablesorter ) selector removes the pre-JS styles
once the code has run, so any errors in the CSS selector will
be fixed at that point. For the majority of simple cases there
should be no FOUC.

Bug: T218781
Change-Id: Ifcb908ed4f3010d10c84f0f6a0f3b8692bec964b
includes/skins/Skin.php
resources/src/jquery.tablesorter.styles/jquery.tablesorter.styles.less