On July 18th, 2016, the 4,000th article was added to the SuccuWiki!


From SuccuWiki - The Wiki of the Succubi
Jump to: navigation, search

Tables can be made sortable via client-side JavaScript.

A sortable table is identified by the arrows in each of its header cells. Clicking them will cause the table rows to sort based on the selected column, in ascending order first, and subsequently toggling between ascending and descending order.

JavaScript source

The JavaScript code is found at //succubus.net/skins-1.5/common/wikibits.js. In addition, MediaWiki:Common.js adds and overrides some code.

Browser issues

With older versions of Safari a table can only be sorted by the first column: all sort buttons have the effect that only the leftmost one is supposed to have.