Last modified: 2012-09-19 20:52:31 UTC
Currently, it's possible to put this into wikiversions.dat: enwiki php-1.onemillonandsomething ...even though this file: /usr/local/apache/common-local/php-1.onemillonandsomething/index.php ...doesn't exist and hopefully never will. That means running refreshWikiversionsCDB will cause a fatal on the enwiki homepage. Solution: do a sanity check prior to building the cdb file, and make sure that for each specified version "foo", that this file exists: /usr/local/apache/common-local/foo/index.php ...and exit with a fatal error if it doesn't, leaving the cdb file unscathed.
Also could we use trigger_error(..., E_USER_ERROR) instead of die() in multiversion? That way, users would see a nicer-looking error message, and more importantly, the error would be logged.
Filed comment 1 as bug 36083
Done in r114978.