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

Flavio Bello Fialho bello at cnpuv.embrapa.br
Thu Sep 13 12:25:46 UTC 2012


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-form            6-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  python        2.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



More information about the Pkg-mediawiki-devel mailing list