[support-gang] can wiki.laptop.org not do sortable tables?

Frederick Grose fgrose at gmail.com
Fri Nov 1 21:35:48 EDT 2013

On Fri, Nov 1, 2013 at 7:05 PM, James Cameron <quozl at laptop.org> wrote:

> I've checked.
> For Releases, the Semantic Wiki plugin emits HTML with a call to
> SMW_sortable.js, and the table has a class of smwtable which
> implements the sort.
> For other tables, the click on the sort button is causing a JavaScript
> console error:
> ReferenceError: ts_sort_caseinsensitive is not defined
> Indeed, there is no such function.  Perhaps FGrose removed it?  I see
> this in the JavaScript Debugger for wiki.laptop.org index.php line
> 1005:
>  /** Collapsible tables
> *********************************************************
>  10Nov2009 [[User:FGrose]] Deleted this second copy of the code that was
> causing two [hide]/[show]
>                            buttons to appear in the table header.
>  */
> --
> James Cameron
> http://quozl.linux.org.au/

Thanks for the reminder James.

I've removed the old table sorting code from Common.js [1], and the problem
is now fixed.  (Table sorting has been part of the core mediawiki for some
time now.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20131101/1d8e28df/attachment.html>

More information about the Devel mailing list