On Fri, Nov 1, 2013 at 7:05 PM, James Cameron <qu...@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.)

[1]
http://wiki.laptop.org/index.php?title=MediaWiki%3ACommon.js&diff=293539&oldid=223644
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to