Page MenuHomePhabricator

Special uploadtext for the reupload form
Closed, DeclinedPublic

Description

I see there was once in r45498 the ability to specify via "&uploadmsg=suffix" a custom uploadtext (which would be located at MediaWiki:uploadtext-suffix and subpages thereof). This was reverted in r46394.

While the change would not have "solved" the uselang hacks at the Commons (and elsewhere, en-WP used something similar last time I looked), it would still be useful with the new reupload form, because it would easily allow us to define a new uploadtext for reuploads.

Since the reupload form works differently (locked dest file name, different label and semantics for description, no license dropdown), it makes sense to have a different introductory text. It *could* be done through yet another uselang hack, but that'd be awful, since the uselang hack requires also to create subpages of a ton of other interface messages. It'd be far cleaner if we could have back this "&uploadmsg=..." feature. A sample uploadtext-reupload exists at [[:commons:MediaWiki:Uploadtext-reupload]]. (Currently not translated, since the feature doesn't exist anymore.)


Version: unspecified
Severity: enhancement

Details

Reference
bz17194

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:29 PM
bzimport set Reference to bz17194.
bzimport added a subscriber: Unknown Object (MLST).

Lupo:
Setting a summary via a URL parameter works for me for "normal" uploads (not reuploading): https://en.wikipedia.org/wiki/Special:Upload?wpUploadDescription=foobar

But not sure if that's what you refer to here...
So where would that "uploadtext" actually be shown or used?

André, just close this. It's a 5-year-old "bug"; I don't remember what that was about. Apparently at one time this didn't work. If it works now it's just a worksforme closure.

Heh, alright. Thanks for the reply :)

Gilles raised the priority of this task from Low to Unbreak Now!.Dec 4 2014, 10:12 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Low.Dec 4 2014, 11:22 AM