>> I imagine that mediawiki 1:1.19.1-1 is
>> incompatible with libjs-jquery-tablesorter 6-1, although one depends on the >> other. I suggest removing the dependency and using the upstream mediawiki file
>> instead of the symlink.
>
> That would violate Policy. Which version of libjs-jquery-tablesorter
> does work for you (i.e. is 6-1 too old or too new)?

Based on the file header, it seems mediawiki uses a fork of tablesorter or is a modified version of it, specifically for use with mediawiki.

mediawiki 1.19.1:
/**
 * TableSorter for MediaWiki
 *
 * Written 2011 Leo Koppelkamm
 * Based on tablesorter.com plugin, written (c) 2007 Christian Bach.
 *
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
* Depends on mw.config (wgDigitTransformTable, wgMonthNames, wgMonthNamesShort,
 * wgDefaultDateFormat, wgContentLanguage)
 * Uses 'tableSorterCollation' in mw.config (if available)
 */

libjs-jquery-tablesorter 6-1:
/*
 *
 * TableSorter 2.0 - Client-side table sorting with ease!
 * Version 2.0.5b
 * @requires jQuery v1.2.3
 *
 * Copyright (c) 2007 Christian Bach
 * Examples and docs at: http://tablesorter.com
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

Can you get sortable tables to work with mediawiki in any other way?
Which part of Policy does the fix violate?
Would changing the name of the file (to something like jquery.tablesorter.mediawiki.js) for use only with mediawiki solve the policy issue? The thing is that I need sortable tables to work, and I would like that to happen without having to manually fix the package using upstream code every time it is upgraded. Most users will not do that and just have a broken mediawiki.

--
Flávio Bello Fialho

_______________________________________________
Pkg-javascript-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to