https://bugzilla.wikimedia.org/show_bug.cgi?id=59808
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
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
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
https://gerrit.wikimedia.org/r/#/c/5617/1,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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l