Help:Sortable tables: Difference between revisions

Content deleted Content added
rm deleted
subst
Line 8:
==JavaScript==
The JavaScript code [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/wikibits.js?view=log wikibits.js] has on each site a copy at
<nowiki>{{SERVER}}/skins-1.5/common/wikibits.js</nowiki>, on this site {{SERVER}}/skins-1.5/common/wikibits.js. In addition a site may have a page [[MediaWiki:Common.js]] which adds and overrides some code. The description below applies to the version on Meta, {{mlm|[[meta:MediaWiki:Common.js}}]]. The sorting code in it can be copied to other sites (by sysops of these other sites). See also [http://meta.wikimedia.org/w/index.php?title=Help:Sorting&oldid=560222 the version of this page applicable without modifications of the JavaScript].
 
==Sort modes==
Line 1,115:
***Jan 2007 [http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=19699 sorttable.js merged into wikibits.js]
***for older revisions see the revision history of [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/sorttable.js?view=log&pathrev=19698 sorttable.js]
**{{mlm|[[meta:MediaWiki:Common.js}}]] page overriding function ts_parseFloat(num) and function ts_resortTable(lnk) on Meta with improved versions
**[[sv:MediaWiki:Common.js]] page overriding function ts_parseFloat(num); adaptation to decimal comma
*[[bugzilla:2001]] - resolved feature request