Bug#687519: mediawiki: Sortable tables are not sortable at all

2012-09-13 Thread Flavio Bello Fialho
Package: mediawiki
Version: 1:1.19.1-1
Severity: normal
Tags: patch

Dear Maintainer,

Tables of class sortable in a wiki page do not render as sortable. I
uninstalled mediawiki completely and reinstalled it again (version 1:1.19.1-1,
from Debian 'testing'). After basic (default) configuration, I edited a page
and inserted the following table:

{| class=wikitable sortable
! Foo
! Bar
|-
| Lorem
| Ipsum
|-
| Dolor
| Sit
|-
| Amet
| Consectetuer
|}

This table was not sortable. I searched the web, but found nothing mentioning
the problem, so I downloaded mediawiki 1.19.1 from the upstream site and
compared its contents with thad of the Debian package. I found that file
/usr/share/mediawiki/resources/jquery/jquery.tablesorter.js is a symlink
pointing to ../../../javascript/jquery-tablesorter/jquery.tablesorter.min.js,
which in turn belongs to package libjs-jquery-tablesorter 6-1. I deleted the
symlink and copied the upstream version of jquery.tablesorter.js to
/usr/share/mediawiki/resources/jquery/. It solved the problem and sortable
tables started working again. 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. I use sortable tables a lot, and I imagine other people
do as well, and this bug breaks a lot of the fuctionality of my wiki, so I ask
you to apply this quick fix until the root of the problem can be discovered.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/8 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mediawiki depends on:
ii  apache2  2.2.22-11
ii  apache2-mpm-prefork [httpd]  2.2.22-11
ii  debconf [debconf-2.0]1.5.46
ii  libjs-jquery 1.7.2+debian-2.1
ii  libjs-jquery-cookie  6-1
ii  libjs-jquery-form6-1
ii  libjs-jquery-tablesorter 6-1
ii  libjs-jquery-tipsy   6-1
ii  mime-support 3.52-1
ii  php5 5.4.4-7
ii  php5-mysql   5.4.4-7

Versions of packages mediawiki recommends:
ii  mysql-server  5.5.24+dfsg-7
ii  php5-cli  5.4.4-7
ii  python2.7.3~rc2-1

Versions of packages mediawiki suggests:
pn  clamav  none
ii  imagemagick 8:6.7.7.10-3
pn  mediawiki-math  none
pn  memcached   none

-- debconf information:
  mediawiki/webserver: apache2


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#687519: [Pkg-mediawiki-devel] Bug#687519: mediawiki: Sortable tables are not sortable at all

2012-09-13 Thread Flavio Bello Fialho

 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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#481518: Bug seems to be solved upstream

2008-12-17 Thread Flavio Bello Fialho
I have reproduced the same problem in the attached file using
openoffice.org version 1:2.4.1-12. What causes the bug (in the attached
file) is the character that looks like a non-breaking whitespace. If you
close openoffice.org and then open the attached file, the bug happens.
If you delete the whitespace, save the file, close openoffice.org and
reopen the file, the bug is gone (well, not gone, but it doesn't show).
If you do not delete the non-breaking whitespace before saving the file,
the bug remains.

I believe this bug is described upstream:

http://qa.openoffice.org/issues/show_bug.cgi?id=88376

Please fix the bug before Lenny is released, because it is really
annoying. It seems to be already fixed in Openoffice.org 3.0, but not in
2.4.1.

-- 
Flávio Bello Fialho
Pesquisador, Embrapa Uva e Vinho
be...@cnpuv.embrapa.br



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org