Index: trunk/extensions/UploadWizard/UploadWizard.i18n.php |
— | — | @@ -202,7 +202,8 @@ |
203 | 203 | 'mwe-upwiz-license-pd-us' => 'Public Domain (US)', |
204 | 204 | 'mwe-upwiz-categories' => 'Categories', |
205 | 205 | 'mwe-upwiz-categories-add' => 'Add', |
206 | | - 'mwe-upwiz-category-remove' => 'Remove this category' |
| 206 | + 'mwe-upwiz-category-remove' => 'Remove this category', |
| 207 | + 'mwe-upwiz-thanks-caption' => 'Add caption here' |
207 | 208 | ); |
208 | 209 | |
209 | 210 | /** Message documentation (Message documentation) |
Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -2215,7 +2215,8 @@ |
2216 | 2216 | |
2217 | 2217 | thanksDiv.append( thumbnailDiv ); |
2218 | 2218 | |
2219 | | - var thumbWikiText = "[[" + upload.title + "|thumb|Add caption here]]"; |
| 2219 | + var thumbTitle = String(upload.title); |
| 2220 | + var thumbWikiText = "[[" + thumbTitle.replace('_', ' ') + "|thumb|" + gM( 'mwe-upwiz-thanks-caption' ) + "]]"; |
2220 | 2221 | |
2221 | 2222 | thanksDiv.append( |
2222 | 2223 | $j( '<div class="mwe-upwiz-data"></div>' ) |