Page MenuHomePhabricator

Fix default value of schema-version in self-documentation of dumpBackup maintenance script.
Closed, ResolvedPublic

Description

When calling dumpBackup.php --help, it returns a line that reads:

--schema-version: Schema version to use for output. Default:

The default value is empty because it is taken from $wgXmlDumpSchemaVersion, which is not yet initialized at the time options are declared in the constructor of BackupDumper.

This was found while investigating T299020.

Event Timeline

daniel updated the task description. (Show Details)

Change 753483 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/core@master] BackupDumper: fix default value of --schema-version

https://gerrit.wikimedia.org/r/753483

Change 753483 merged by jenkins-bot:

[mediawiki/core@master] BackupDumper: fix default value of --schema-version

https://gerrit.wikimedia.org/r/753483