On 29.03.2013, 21:47 Yuri wrote:
Max, do we still plan to detect javascript support for mobile devices, or do you want to fold that into "isWAP" ?
Non-js-supporting devices need very different handling, as all HTML has to be pre-built for them on the server.
ResourceLoader has a small stub module called startup. It checks browser compatibility and then loads jQuery and various MediaWiki modules (including ResourceLoader core). We just need to imporove the checks, as the my original message states:
- Since now we will be serving ResourceLoader to all devices, we will
blacklist all the incompatible devices in the startup module to prevent them from choking on the loads of JS they can't handle (and even if they degrade gracefully, still no need to force them to download tens of kilobytes needlessly)[3]