https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115093
Revision: 115093 Author: aaron Date: 2012-04-30 17:54:59 +0000 (Mon, 30 Apr 2012) Log Message: ----------- Actually treat "*" as "no extended version number". Modified Paths: -------------- trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB Modified: trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB =================================================================== --- trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB 2012-04-30 17:41:24 UTC (rev 115092) +++ trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB 2012-04-30 17:54:59 UTC (rev 115093) @@ -35,6 +35,9 @@ } foreach ( $rows as $row ) { list( $dbName, $version, $extVersion, $comment ) = $row; + if ( $extVersion === '*' ) { + $extVersion = ''; // "*" means "none" + } dba_insert( "ver:$dbName", $version, $db ); dba_insert( "ext:$dbName", $extVersion, $db ); } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs