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: wikibugs-l@lists.wikimedia.org Reporter: jrob...@wikimedia.org CC: aricha...@wikimedia.org, jgon...@wikimedia.org, jrob...@wikimedia.org, kw...@wikimedia.org, maxsem.w...@gmail.com, mgro...@wikimedia.org, mpinc...@wikimedia.org, rkald...@wikimedia.org, tf...@wikimedia.org 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l