On 02/14/2013 05:29 AM, Nikola Smolenski wrote:
It starts by performing a quick sanity check that bails out if the current browser is not supported. [...] Browsers such as Internet Explorer 5 and early versions of Mozilla fall in this category.
While I see that it works, I can't find where exactly in the code is this sanity check located. Any pointers?
This is located in resources/startup.js , although I only see a check for IE < 6, not a check for early Mozilla versions. This file is loaded by ResourceLoaderStartUpModule::getScript() using file_get_contents() and becomes the beginning of the dynamically generated startup module.
git log led me to https://bugzilla.wikimedia.org/show_bug.cgi?id=35906 regarding the missing Mozilla check.