diff --git a/README.md b/README.md index 17d4734..b47b1b8 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,9 @@ See the [SimpleBatchUpload usage documentation](https://professional.wiki/en/ext ## Customization +Text on _MediaWiki:Batchupload-summary_ is shown at the top of +_Special:BatchUpload_ and its subpages. + It is possible to specify dedicated parameter sets for the upload of specific file types by editing the _MediaWiki:Simplebatchupload-parameters_ page. Each line of that page is considered as one set of parameters. diff --git a/release-notes.md b/release-notes.md index 1316f82..c2e1d9d 100644 --- a/release-notes.md +++ b/release-notes.md @@ -43,6 +43,8 @@ Changes: rule wrapped in `` can contain `|` * Added a prompt before a file is uploaded over one the wiki already holds, instead of overwriting it * Added a prompt when files in one batch would be uploaded under the same name, instead of letting the last one win +* Added `MediaWiki:Batchupload-summary`, shown at the top of `Special:BatchUpload`, as + `MediaWiki:Upload-summary` is on `Special:Upload` * Fixed the default upload summary being in a user's interface language rather than the wiki's content language, which usually also ignored a summary customised in `MediaWiki:Simplebatchupload-comment` diff --git a/src/SpecialBatchUpload.php b/src/SpecialBatchUpload.php index 1d4aba1..94cdafe 100644 --- a/src/SpecialBatchUpload.php +++ b/src/SpecialBatchUpload.php @@ -59,6 +59,7 @@ protected function getGroupName() { public function execute( $subpage ) { $this->setHeaders(); $this->checkPermissions(); + $this->outputHeader(); $this->addPageContentToOutput( $subpage ); }