Last modified: 2010-05-15 15:59:49 UTC
When the page is loaded from the cache, and autoConvert is called to convert the title, $wgParser is a StubObject so the check isset($wgParser) is always true. This produces wrong regexp that prevents latin characters conversion. Using StubObject::isRealObject() fixes this issue.
Created attachment 4403 [details] LanguageConverter.php.patch Try to having this patch to resolving this issue.
Shouldn't fix this bug in SVN?
This patch is incorrect, it should use if (StubObject::isRealObject($wgParser)) instead of if (StubObject::isRealObject())
Extensions calling setHook() on wgParser will unstub it (e.g. by commonly used Cite extension), so that wouldn't work. I've commited a suboptimal patch that resolves the issue in r34537, so marking this as fixed.