Replace the underscores with spaces in prefillThanksPage: function() for wikilinks:
var thumbWikiText = "[[" + upload.title + "|thumb|Add caption here]]";
Btw: "Add caption here" should be localized too :-)
Version: unspecified
Severity: normal
Replace the underscores with spaces in prefillThanksPage: function() for wikilinks:
var thumbWikiText = "[[" + upload.title + "|thumb|Add caption here]]";
Btw: "Add caption here" should be localized too :-)
Version: unspecified
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T38680 Upload Wizard release "elvis" (tracking) | |||
Resolved | None | T29260 UploadWizard 1.0 (tracking) | |||
Resolved | None | T28178 Replace underscore with space in thumbWikiText of prefillThanksPage: function() |
This seems to work incomplete:
Uploaded today: http://commons.wikimedia.org/wiki/File:Sheikh_Abd_el-Qurna_(3704-06).jpg
Result (only the first underscore is replaced by a space):
[[File:Sheikh Abd_el-Qurna_(3704-06).jpg|thumb|Bildbeschriftung hier hinzufügen]]
neilk wrote:
re-fixed in an easier way (using the .toText() method of a mw.Title) in r87370