Web browser: ---
            Bug ID: 59808
           Summary: Uncaught Error: Unknown dependency: ext.scribunto
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
    Classification: Unclassified
   Mobile Platform: ---

On wiki's with Scribunto installed, when viewed in the mobile site, the
exception "Uncaught Error: Unknown dependency: ext.scribunto" is thrown which
prevents any further JavaScript from running.

This is because the module is not registered on mobile.

It also depends on jquery.ui.dialog code which pulls in the entire jquery.ui
library - we certainly do not want on mobile where JavaScript load should be as
tiny as possible.

I doubt we'd want to run this code on mobile thus the use of addInlineScript
needs to be avoided since the module doesn't exist in the mobile environment.
At the very least it should be wrapped with a try catch so say it is acceptable
to fail.

Seems to have been introduced by,publish

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to