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

Tim Moody tim at timmoody.com
Sat Nov 2 14:28:44 EDT 2013



Message: 1
Date: Fri, 1 Nov 2013 21:35:48 -0400
From: Frederick Grose <fgrose at gmail.com>
To: "Community Support Volunteers -- who help respond to help AT
laptop.org" <support-gang at lists.laptop.org>
Cc: OLPC Devel <devel at laptop.org>
Subject: Re: [support-gang] can wiki.laptop.org not do sortable
<CAEcBt+Wh7WmXuS4FXQ1YBWU8cO9zxjdSJZDf4ZV08nL+SHZ-ig at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

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...


More information about the Devel mailing list