r97105 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97104‎ | r97105 | r97106 >
Date:22:02, 14 September 2011
Author:aaron
Status:ok
Tags:
Comment:
Loosen MW dir restrictions a bit
Modified paths:
  • /trunk/tools/mwmultiversion/multiversion/checkoutMediaWiki (modified) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/multiversion/checkoutMediaWiki
@@ -26,7 +26,7 @@
2727 if ( count( $argv ) >= 3 ) {
2828 $svnVersion = $argv[1]; // e.g. "X.XXwmfX"
2929 $dstVersion = $argv[2]; // e.g. "php-X.XX"
30 - if ( preg_match( '/^php-((?:\d+\.\d+|trunk)(?:-\d)?)$/', $dstVersion, $m ) ) {
 30+ if ( preg_match( '/^php-((?:\d+\.\d+|trunk)(?:-\w+)?)$/', $dstVersion, $m ) ) {
3131 $dstVersionNum = $m[1];
3232 $argsValid = true;
3333 }

Status & tagging log