Skip to content

Commit

Permalink
Add {file-name} option to command
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Feb 15, 2024
1 parent 2ba171b commit fd0bfd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/ImportDumpRequestManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,13 @@ public function getCommand(): string {
'{IP}',
'{wiki}',
'{username-prefix}',
'{file}',
'{file-name}',
'{file-path}',
], [
MW_INSTALL_PATH,
$this->getTarget(),
$this->getInterwikiPrefix(),
$this->getTarget() . '-' . $this->getTimestamp() . '.xml',
FileBackend::splitStoragePath( $this->getFilePath() )[2],
], $command );
}
Expand Down

0 comments on commit fd0bfd2

Please sign in to comment.