Last modified: 2011-05-03 23:44:41 UTC
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 :-)
Kaldari: you may find mw.Title.js useful here to do the conversion
Both issues fixed in r83168.
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]]
My bad. Fixed for real in r87097.
re-fixed in an easier way (using the .toText() method of a mw.Title) in r87370