Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Changes:
rule wrapped in `<nowiki>` 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`

Expand Down
1 change: 1 addition & 0 deletions src/SpecialBatchUpload.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ protected function getGroupName() {
public function execute( $subpage ) {
$this->setHeaders();
$this->checkPermissions();
$this->outputHeader();

$this->addPageContentToOutput( $subpage );
}
Expand Down
Loading