Page MenuHomePhabricator

Special:Upload should pre-fill summary field without Javascript
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Turn off Javascript
  2. Go to https://commons.wikimedia.org/wiki/Special:Upload

Expected result: Summary field should have empty information template (similar to https://commons.wikimedia.org/w/index.php?title=Special:Upload&uploadformstyle=basic with JS)

Actual result: Summary field is empty

The contents to pre-fill the field with should probably be pulled from a local MediaWiki page.

This bug also affects mobile, since mobile doesn't load the local site JS.


Version: 1.24rc
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=68321

Details

Reference
bz70146

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:35 AM
bzimport set Reference to bz70146.
bzimport added a subscriber: Unknown Object (MLST).

You can use [[MediaWiki:Upload-default-description]] for that, at least for the default upload form

Tgr claimed this task.

As Umherirrender says, this is already possible.

This should be preloaded. Original bug was reported because people were uploading images without this.

Not sure what you mean exactly by preloaded, but MediaWiki:Upload-default-description will be used as the default value of the upload description field (wpUploadDescription) if that page exists and there is no other default value (ie. you are not reuploading an existing file). That matches perfectly what was requested in the bug description. You can test it on https://de.wikipedia.org/wiki/Spezial:Hochladen .