MediaWiki  REL1_19
dumpBackup.php File Reference

Script that dumps wiki pages or logging database into an XML interchange wrapper format for export or backup. More...

Go to the source code of this file.

Variables

 $dumper = new BackupDumper( $argv )
 $optionsWithArgs = array( 'pagelist', 'start', 'end', 'revstart', 'revend')
 $originalDir = getcwd()
 $textMode = isset( $options['stub'] ) ? WikiExporter::STUB : WikiExporter::TEXT
$dumper dumpUploadFileContents = isset( $options['include-files'] )
$dumper dumpUploads = isset( $options['uploads'] )
$dumper skipFooter = isset( $options['skip-footer'] )
if(isset($options['quiet']))
if(isset($options['pagelist']))
if(isset($options['start']))
if(isset($options['end'])) if(isset($options['revstart']))
if(isset($options['revend']))
$dumper 
skipHeader = isset( $options['skip-header'] )

Detailed Description

Script that dumps wiki pages or logging database into an XML interchange wrapper format for export or backup.

Copyright © 2005 Brion Vibber <[email protected]> http://www.mediawiki.org/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file dumpBackup.php.


Variable Documentation

$dumper = new BackupDumper( $argv )

Definition at line 35 of file dumpBackup.php.

$optionsWithArgs = array( 'pagelist', 'start', 'end', 'revstart', 'revend')

Definition at line 30 of file dumpBackup.php.

$originalDir = getcwd()

Definition at line 28 of file dumpBackup.php.

$textMode = isset( $options['stub'] ) ? WikiExporter::STUB : WikiExporter::TEXT

Definition at line 72 of file dumpBackup.php.

$dumper dumpUploadFileContents = isset( $options['include-files'] )

Definition at line 70 of file dumpBackup.php.

Referenced by BackupDumper\dump(), and WikiExporter\outputPageStream().

$dumper dumpUploads = isset( $options['uploads'] )

Definition at line 69 of file dumpBackup.php.

Referenced by BackupDumper\dump(), and WikiExporter\outputPageStream().

$dumper skipFooter = isset( $options['skip-footer'] )

Definition at line 68 of file dumpBackup.php.

Referenced by BackupDumper\dump().

if (isset($options['quiet'])) if (isset($options['pagelist'])) if (isset($options['start'])) if (isset($options['end'])) if (isset($options['revstart'])) if (isset($options['revend'])) $dumper skipHeader = isset( $options['skip-header'] )

Definition at line 67 of file dumpBackup.php.

Referenced by BackupDumper\dump().