[Pkg-mediawiki-devel] Bug#514394: mediawiki: in Title::isValidMoveTarget, $dbw->selectRow should pass array, not string

Robert Fleming fleming at cs.washington.edu
Fri Feb 6 23:58:25 UTC 2009


Package: mediawiki
Version: 1:1.12.0-2lenny1~bpo40+1
Severity: normal

It seems to me that:

  'FOR UPDATE'

should be:

  array('FOR UPDATE')

in Title::isValidMoveTarget.  Database::selectRow seems to expect an array, not
a string.  I get warnings (errors?) in my HTML when using the ReplaceText
extension if I do not make this patch.

I've reported this upstream:

https://bugzilla.mediawiki.org/show_bug.cgi?id=17392

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mediawiki depends on:
ii  apache2                   2.2.3-4+etch6  Next generation, scalable, extenda
ii  apache2-mpm-prefork [http 2.2.3-4+etch6  Traditional model for Apache HTTPD
ii  debconf [debconf-2.0]     1.5.11etch2    Debian configuration management sy
ii  mime-support              3.39-1         MIME files 'mime.types' & 'mailcap
ii  php5                      5.2.0-8+etch10 server-side, HTML-embedded scripti
ii  php5-pgsql                5.2.0-8+etch10 PostgreSQL module for php5

Versions of packages mediawiki recommends:
pn  mysql-server | postgresql <none>         (no description available)
ii  php5-cli                  5.2.0-8+etch10 command-line interpreter for the p

-- debconf information excluded





More information about the Pkg-mediawiki-devel mailing list