[evolvis-commits] r18303: Expand the documentation of maintenance/dumpBackup.php

mirabilos at evolvis.org mirabilos at evolvis.org
Wed Apr 11 11:16:23 CEST 2012


Author: mirabilos
Date: 2012-04-11 11:16:22 +0200 (Wed, 11 Apr 2012)
New Revision: 18303

Added:
   trunk/mediawiki/debian/patches/backup_documentation.patch
Modified:
   trunk/mediawiki/debian/changelog
   trunk/mediawiki/debian/patches/series
Log:
Expand the documentation of maintenance/dumpBackup.php

Modified: trunk/mediawiki/debian/changelog
===================================================================
--- trunk/mediawiki/debian/changelog	2012-04-11 09:16:21 UTC (rev 18302)
+++ trunk/mediawiki/debian/changelog	2012-04-11 09:16:22 UTC (rev 18303)
@@ -9,8 +9,10 @@
   * debian_specific_config.patch: Don't just redefine MW_INSTALL_PATH,
     remove the original definition (LP: #406358)
   * debian/README.source: document use of quilt and format 3.0 (quilt)
+  * New patch backup_documentation.patch improves documentation of
+    maintenance/dumpBackup.php (closes: #572355)
 
- -- Jonathan Wiltshire <debian at jwiltshire.org.uk>  Sat, 26 Jun 2010 13:52:25 +0100
+ -- Jonathan Wiltshire <debian at jwiltshire.org.uk>  Sat, 26 Jun 2010 22:35:03 +0100
 
 mediawiki (1:1.15.4-1) unstable; urgency=high
 

Added: trunk/mediawiki/debian/patches/backup_documentation.patch
===================================================================
--- trunk/mediawiki/debian/patches/backup_documentation.patch	                        (rev 0)
+++ trunk/mediawiki/debian/patches/backup_documentation.patch	2012-04-11 09:16:22 UTC (rev 18303)
@@ -0,0 +1,33 @@
+Description: expand the inline documentation of maintenance/dumpBackup.php
+Author: Jonathan Wiltshire <debian at jwiltshire.org.uk>
+Bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=24132
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572355
+Last-Update: 2010-06-26
+--- mediawiki-1.15.4.orig/maintenance/commandLine.inc
++++ mediawiki-1.15.4/maintenance/commandLine.inc
+@@ -188,7 +188,8 @@
+ 
+ 	if ( ! is_readable( $settingsFile ) ) {
+ 		print "A copy of your installation's LocalSettings.php\n" .
+-		  "must exist and be readable in the source directory.\n";
++		  "must exist and be readable in the source directory.\n" .
++		  "Use --conf to specify it.\n";
+ 		exit( 1 );
+ 	}
+ 	$wgCommandLineMode = true;
+--- mediawiki-1.15.4.orig/maintenance/dumpBackup.php
++++ mediawiki-1.15.4/maintenance/dumpBackup.php
+@@ -91,6 +91,13 @@
+   --skip-footer Don't output the </mediawiki> footer
+   --stub      Don't perform old_text lookups; for 2-pass dump
+   --uploads   Include upload records (experimental)
++  --conf      Use the specified configuration file (LocalSettings.php)
++  --aconf     Use the specified admin configuration file (AdminSettings.php)
++
++  --pagelist=<file>
++          Find in the specified <file> a list of pages to be backed up
++
++  --wiki=<wiki>  Only back up the specified <wiki>
+ 
+ Fancy stuff:
+   --plugin=<class>[:<file>]   Load a dump plugin class

Modified: trunk/mediawiki/debian/patches/series
===================================================================
--- trunk/mediawiki/debian/patches/series	2012-04-11 09:16:21 UTC (rev 18302)
+++ trunk/mediawiki/debian/patches/series	2012-04-11 09:16:22 UTC (rev 18303)
@@ -3,3 +3,4 @@
 debian_specific_config.patch
 detect_invalid_titles.patch
 add_rss_guid.patch
+backup_documentation.patch



More information about the evolvis-commits mailing list