Repository navigation
Add +autoupload, and spell the rename parameter +rename again - #117
Merged
Merged
Conversation
Every argument of {{#batchupload:}} after the first is passed to the
template, so the + is what tells the upload area's own parameter apart
from the template's. A plain rename= goes to the template again, as it
did before the rule was read on the server.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Files added to an upload area with +autoupload start uploading straight away, without Upload being pressed, and the empty area says so. Files added after Pause, or after the wiki's rate limit stopped the batch, wait for Upload again. Special:BatchUpload is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows-up to #115
{{#batchupload:}}passes every argument after the first to the template, so the two parameters the uploadarea keeps for itself start with
+. Any other argument,+or not, still goes to the template.+renameonly. Read the rename rule from the parser function's own arguments #115's plainrename=goes to the template, and was never released.+autouploadmakes files start uploading as soon as they are added, without Upload being pressed; theempty area says so. Anything else, such as
+autoupload=no, goes to the template. Holds and an invalid renamerule behave as if Upload had been pressed. Files added after Pause, or after the wiki's rate limit stopped
the batch, wait for Upload; pressing it makes later files start on their own again. Special:BatchUpload is
unchanged.
README and release notes are updated. Unit tests cover the Pause and rate-limit cases.
To check by hand, logged in, on a
+autouploadarea: dropped files upload without a press; after Pause, newlydropped files wait with Upload offered.