Author: codedriller
Description:
Enabling this extension in initial MediaWiki setup (1.22.0 on Windows) raises the following exception when trying to access main page for the first time:
[9215b846] /w22/index.php Exception from line 549 of C:\xampp\htdocs\w22\extensions\LocalisationUpdate\LocalisationUpdate.class.php: No cache directory configured
Backtrace:
#0 C:\xampp\htdocs\w22\extensions\LocalisationUpdate\LocalisationUpdate.class.php(561): LocalisationUpdate::filename(string)
#1 C:\xampp\htdocs\w22\extensions\LocalisationUpdate\LocalisationUpdate.class.php(36): LocalisationUpdate::readFile(string)
#2 [internal function]: LocalisationUpdate::onRecache(LocalisationCache, string, array)
#3 C:\xampp\htdocs\w22\includes\Hooks.php(199): call_user_func_array(string, array)
#4 C:\xampp\htdocs\w22\includes\GlobalFunctions.php(3877): Hooks::run(string, array)
#5 C:\xampp\htdocs\w22\includes\cache\LocalisationCache.php(853): wfRunHooks(string, array)
#6 C:\xampp\htdocs\w22\includes\cache\LocalisationCache.php(442): LocalisationCache->recache(string)
#7 C:\xampp\htdocs\w22\includes\cache\LocalisationCache.php(365): LocalisationCache->initLanguage(string)
#8 C:\xampp\htdocs\w22\includes\cache\LocalisationCache.php(281): LocalisationCache->loadSubitem(string, string, string)
#9 C:\xampp\htdocs\w22\languages\Language.php(2337): LocalisationCache->getSubitem(string, string, string)
#10 C:\xampp\htdocs\w22\includes\cache\MessageCache.php(802): Language->getMessage(string)
#11 C:\xampp\htdocs\w22\includes\cache\MessageCache.php(729): MessageCache->getMessageFromFallbackChain(LanguageRu, string, string, boolean)
#12 C:\xampp\htdocs\w22\includes\Message.php(878): MessageCache->get(string, boolean, LanguageRu)
#13 C:\xampp\htdocs\w22\includes\Message.php(560): Message->fetchMessage()
#14 C:\xampp\htdocs\w22\includes\Message.php(649): Message->toString()
#15 C:\xampp\htdocs\w22\includes\Title.php(375): Message->text()
#16 C:\xampp\htdocs\w22\includes\Wiki.php(121): Title::newMainPage()
#17 C:\xampp\htdocs\w22\includes\Wiki.php(137): MediaWiki->parseTitle()
#18 C:\xampp\htdocs\w22\includes\Wiki.php(530): MediaWiki->getTitle()
#19 C:\xampp\htdocs\w22\includes\Wiki.php(467): MediaWiki->main()
#20 C:\xampp\htdocs\w22\index.php(49): MediaWiki->run()
#21 {main}
Setting $wgCacheDirectory manually resolves the situation.
Version: unspecified
Severity: major
OS: Windows 7