r101600 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101599‎ | r101600 | r101601 >
Date:09:33, 2 November 2011
Author:neilk
Status:ok
Tags:
Comment:
allow for templates with dashes
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mediawiki.language.parser.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mediawiki.language.parser.js
@@ -372,7 +372,7 @@
373373 }
374374
375375 var templateName = transform(
376 - makeRegexParser( /^[A-Za-z][\w ]+/ ),
 376+ makeRegexParser( /^[A-Za-z][\w -]+/ ),
377377 function( result ) { return result.toString().toUpperCase(); }
378378 );
379379

Status & tagging log