r96918 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96917‎ | r96918 | r96919 >
Date:21:56, 12 September 2011
Author:jeroendedauw
Status:ok (Comments)
Tags:
Comment:
fix: add missing category prefix
Modified paths:
  • /trunk/extensions/UploadWizard/resources/jquery/jquery.mwCoolCats.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/jquery/jquery.mwCoolCats.js
@@ -215,7 +215,7 @@
216216 });
217217
218218 this.getWikiText = function() {
219 - var wikiText = _getCats().map( function() { return '[[' + this.getMainText() + ']]'; } )
 219+ var wikiText = _getCats().map( function() { return '[[' + this.getPrefixedText() + ']]'; } )
220220 .toArray()
221221 .join( "\n" );
222222

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96340categories in the wikitext output should not have underscores instead of spacesjeroendedauw15:15, 6 September 2011
r96917Bug 30879 - UploadWizard adds categories without [[Category:]] prefix...reedy21:54, 12 September 2011

Comments

#Comment by Krinkle (talk | contribs)   22:08, 12 September 2011

Follows-up r96340.

Status & tagging log