https://bugzilla.wikimedia.org/show_bug.cgi?id=40033

       Web browser: ---
             Bug #: 40033
           Summary: Allow javascript modules to register themselves as
                    suitable for mobile
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ResourceLoader
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Currently one of the things blocking porting ResourceLoader into the
MobileFrontend extension is that javascript modules can be registered by any
extension, many of which are not suitable for mobile or not applicable to
certain pages.

The problem on mobile is it is essential payload is as small as possible due to
the slower bandwidth and the fact that certain devices will refuse to serve the
page if the payload is too huge.

I suggest that javascript modules should be able to register if they are
suitable for mobile.

When initialising resource loader it should be possible for MobileFrontend to
say "give me only the mobile optimised stuff". Any modules which have said they
are mobile enabled should then be served. Anything which has not said anything
should not be loaded.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to