https://bugzilla.wikimedia.org/show_bug.cgi?id=31527

Krinkle <krinklem...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krinklem...@gmail.com

--- Comment #2 from Krinkle <krinklem...@gmail.com> 2011-10-09 22:13:55 UTC ---
Both 1.18wmf1 or 1.18.0 of MediaWiki's version of jquery.tablesorter module
supports the data-sort-type attribute. This works on third-party wikis as well
as on [[mw:]].

However for tables generated from wikitext, MediaWiki (as usually, and
independant from the tablesorter script) strips data-* attributes on wikis that
still have wgHtml5 set to false (i.e. 99% of wmf wikis). 

mediawiki.org is one of few wikis that does have wgHtml5 set to true, and the
new data-sort-type attribute functionality works fine there.

The old tablesorter script wasn't very flexible in sorting, it did everything
with detection and was less strict in cases were there was mixed types of
content. This also caused several bugs.

The new tablesorter script has fewer bugs in sorting, afiak still allows and
supports mixed content and. And as a new feature, it can be forced a certain
type with the data-sort-type attribute. This latter feature does not work for
tables generated from wikitext – if wgHtml5 is false.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to