[Pkg-mediawiki-devel] Bug#572355: mediawiki: A copy of your installation's LocalSettings.php must exist and be readable in the source directory.

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Mar 3 17:35:47 UTC 2010


Package: mediawiki
Version: 1:1.15.1-1~bpo50+1
Severity: normal


The backup utility : /usr/share/mediawiki/maintenance/dumpBackup.php is missing some documentation.

In particular it does not document the --conf command line option. This option allows one to specify the full path to LocalSettings.php, like this:

php /usr/share/mediawiki/maintenance/dumpBackup.php  --conf /path/to/wiki/LocalSettings.php --full 


Please add it to the current help:

$  php /usr/share/mediawiki/maintenance/dumpBackup.php                                                                                                                                                   ~/Startup/Gandi/Backups/Backup_2010-03-03/WikiXMLDumps
This script dumps the wiki page database into an XML interchange wrapper
format for export or backup.

XML output is sent to stdout; progress reports are sent to stderr.

Usage: php dumpBackup.php <action> [<options>]
Actions:
  --full      Dump complete history of every page.
  --current   Includes only the latest revision of each page.
  --logs      Dump action logs for every page.

Options:
  --quiet     Don't dump status reports to stderr.
  --report=n  Report position and speed after every n pages processed.
              (Default: 100)
  --server=h  Force reading from MySQL server h
  --start=n   Start from page_id n
  --end=n     Stop before page_id n (exclusive)
  --skip-header Don't output the <mediawiki> header
  --skip-footer Don't output the </mediawiki> footer
  --stub      Don't perform old_text lookups; for 2-pass dump
  --uploads   Include upload records (experimental)

Fancy stuff:
  --plugin=<class>[:<file>]   Load a dump plugin class
  --output=<type>:<file>      Begin a filtered output stream;
                              <type>s: file, gzip, bzip2, 7zip
  --filter=<type>[:<options>] Add a filter on an output branch


Thanks

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'testing'), (101, 'experimental'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mediawiki depends on:
ii  apache2            2.2.9-10+lenny6       Apache HTTP Server metapackage
ii  apache2-mpm-prefor 2.2.14-5              Apache HTTP Server - traditional n
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  mime-support       3.44-1                MIME files 'mime.types' & 'mailcap
ii  php5               5.2.6.dfsg.1-1+lenny6 server-side, HTML-embedded scripti
ii  php5-mysql         5.2.6.dfsg.1-1+lenny6 MySQL module for php5

Versions of packages mediawiki recommends:
ii  mysql-server       5.0.51a-24+lenny1     MySQL database server (metapackage
ii  mysql-server-5.0 [ 5.0.51a-24+lenny1     MySQL database server binaries
ii  php5-cli           5.2.6.dfsg.1-1+lenny6 command-line interpreter for the p

Versions of packages mediawiki suggests:
ii  clamav          0.95.3+dfsg-1~volatile1  anti-virus utility for Unix - comm
ii  imagemagick     7:6.3.7.9.dfsg2-1~lenny3 image manipulation programs
ii  mediawiki-math  1:1.15.1-1~bpo50+1       math rendering plugin for MediaWik
ii  memcached       1.2.2-1+lenny1           A high-performance memory object c
ii  php5-gd         5.2.6.dfsg.1-1+lenny6    GD module for php5

-- debconf information:
  mediawiki/webserver: apache2





More information about the Pkg-mediawiki-devel mailing list