why?
It seems to only be needed to run qunit tests but seems to be very unnecessary code for our mobile users.
See Change-Id: I84e051
Version: unspecified
Severity: normal
why?
It seems to only be needed to run qunit tests but seems to be very unnecessary code for our mobile users.
See Change-Id: I84e051
Version: unspecified
Severity: normal
The problem seems to be because the 'mediawiki.tests.qunit.testrunner' module depends on it. This is not a reason to add it to mobile.
Several options here
Thoughts?
Note to give more background on this module:
the existence of this module on mobile unnecessarily loads jquery.checkboxShiftClick (which allows you to hold shift and click multiple checkboxes ... err how does this work on mobile where there is no shift key?!)
It also adds code to emulate placeholders on certain devices - which might explain a bug in opera mini I've come across where focusing the input shows the placeholder as the search term. This is a really unnecessary on mobile where support is pretty good [2] and placeholder implementations tend to be buggy.
It also runs code that adds accesskey hints to the tooltips. Tooltips are not a mobile thing... o_O
It also loads jquery.makeCollapsible and jquery.tablesorter on certain pages which are probably unnecessary/we can live without.
In summary this module should have never been enabled on the mobile site.
jgonera wrote:
For now, I'd opt for solution 1 with a bug report in core (mediawiki.tests.qunit.testrunner should not require mediawiki.page.ready) plus a FIXME in our code pointing to that bug.
https://gerrit.wikimedia.org/r/63589 (Gerrit Change Id79b90) | change APPROVED and MERGED [by jenkins-bot]