The script to dump pages fails with the following error:
zbyszek@escher:/srv/www/eduwiki$ sudo -u www-data php maintenance/dumpBackup.php --full > /tmp/dump-full2
PHP Fatal error: Call to undefined method DumpFilter::DumpFilter() in /home/srv/mediawiki/mediawiki-trunk/maintenance/backup.inc on line 306
This behaviour is the same in 1.16-wmf4 and trunk@72382.
This is easily corrected with the following patch:
diff --git a/maintenance/backup.inc b/maintenance/backup.inc
index 9b2ff89..88da915 100644
--- a/maintenance/backup.inc
+++ b/maintenance/backup.inc
@@ -303,7 +303,7 @@ class BackupDumper {
class ExportProgressFilter extends DumpFilter {
function ExportProgressFilter( &$sink, &$progress ) {
- parent::DumpFilter( $sink );
+ parent::__construct( $sink );
$this->progress = $progress;
}
HTH,
Asia Jedrzejewska-Szmek