Index: trunk/extensions/UploadWizard/resources/jquery/jquery.mwCoolCats.js |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | }); |
217 | 217 | |
218 | 218 | this.getWikiText = function() { |
219 | | - var wikiText = _getCats().map( function() { return '[[' + this.getMainText() + ']]'; } ) |
| 219 | + var wikiText = _getCats().map( function() { return '[[' + this.getPrefixedText() + ']]'; } ) |
220 | 220 | .toArray() |
221 | 221 | .join( "\n" ); |
222 | 222 | |