http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58787
Revision: 58787 Author: siebrand Date: 2009-11-08 17:22:18 +0000 (Sun, 08 Nov 2009) Log Message: ----------- Follow-up 58785 to allow web uploads. Modified Paths: -------------- trunk/extensions/Translate/ffs/Gettext.php Modified: trunk/extensions/Translate/ffs/Gettext.php =================================================================== --- trunk/extensions/Translate/ffs/Gettext.php 2009-11-08 17:17:56 UTC (rev 58786) +++ trunk/extensions/Translate/ffs/Gettext.php 2009-11-08 17:22:18 UTC (rev 58787) @@ -39,7 +39,7 @@ $code = $matches[1]; } - if ( preg_match( '/X-Message-Group:\s+([a-zA-Z0-9-_]+)/', $data, $matches ) ) { + if ( preg_match( '/X-Message-Group:\s+([a-zA-Z0-9-._\|]+)/', $data, $matches ) ) { $groupId = $matches[1]; } @@ -410,7 +410,7 @@ $metadata['code'] = $matches[1]; } - if ( preg_match( '/X-Message-Group:\s+([a-zA-Z0-9-_]+)/', $data, $matches ) ) { + if ( preg_match( '/X-Message-Group:\s+([a-zA-Z0-9-._\|]+)/', $data, $matches ) ) { $metadata['group'] = $matches[1]; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs