My fault. Will apply as soon as I get in front of a computer if no one beats me to it.
On Sep 22, 2010 9:43 AM, "Asia Jedrzejewska-Szmek" asia@fuw.edu.pl wrote:
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
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l