r96917 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r96916
|
r96917
|
r96918
>
Date:
21:54, 12 September 2011
Author:
reedy
Status:
ok (
Comments
)
Tags:
Comment:
Bug 30879
- UploadWizard adds categories without [[Category:]] prefix
Hack fix for the time being
Modified paths:
/branches/wmf/1.17wmf1/extensions/UploadWizard/resources/jquery/jquery.mwCoolCats.js
(modified) (
history
)
Diff
[
purge
]
Index: branches/wmf/1.17wmf1/extensions/UploadWizard/resources/jquery/jquery.mwCoolCats.js
—
—
@@ -208,7 +208,7 @@
209
209
});
210
210
211
211
this.getWikiText = function() {
212
- var wikiText = _getCats().map( function() { return '[[' + this.getMainText() + ']]'; } )
212
+ var wikiText = _getCats().map( function() { return '[[Category:' + this.getMainText() + ']]'; } )
213
213
.toArray()
214
214
.join( "\n" );
215
215
Follow-up revisions
Revision
Commit summary
Author
Date
r96918
fix: add missing category prefix
jeroendedauw
21:56, 12 September 2011
Comments
#
Comment by
Jeroen De Dauw
(
talk
|
contribs
)
21:57, 12 September 2011
Fixed in trunk by
r96918
Status & tagging log
22:54, 12 September 2011
Krinkle
(
talk
|
contribs
)
changed the
status
of r96917
[
removed:
new
added:
ok]