On 10/06/12 17:59, Vipul Naik wrote:
I'm running a wiki with MediaWiki 1.20 and both
the ToggleDisplay and
MobileFrontend extensions. The ToggleDisplay extension is no longer
supported for MediaWiki 1.20, but it works fine in general for ordinary
desktop viewing (thanks to a fix from Platonides in an earlier mail on this
list). MobileFrontend is a new extension available only from MediaWiki 1.20
onward that allows for mobile-style page displays.
The problem is that the ToggleDisplay extension does not work properly with
the default mobile view provided by MobileFrontend. The links that need to
be clicked to toggle displays simply don't work. For instance, here:
http://groupprops.subwiki.org/w/index.php?title=Symmetric_group:S3&mobi…
clicking the "SHOW MORE" has no effect. On the other hand, in the desktop
version, it expands just fine:
http://groupprops.subwiki.org/w/index.php?title=Symmetric_group:S3&mobi…
I'm guessing the problem is because of inteference from the mobile
frontend's own toggle displays of collapsible sections.
No. The toggleDisplay() javascript function isn't getting injected when
in mobile mode.
Also note, if the user has javascript disable but CSS enabled,
toggleDisplay won't let him access the hidden knowledge.