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

           Summary: mediawiki.util should separate "page" code from
                    "utility" code
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: d...@ucsc.edu
                CC: roan.katt...@gmail.com


mediawiki.util should separate methods that do mediaWiki "page" stuff vs
classes that do "utility" stuff.

This way extensions that have alternate page structure or "skinless" entry
points like "iframe video player", "facebook connect" type popup or any "popup
windows" don't have to load DOM targets and convience functions for stuff that
does not exist.  ( not to mention stand alone usage ;) 

Some culprits include:  "mw.util.updateTooltipAccessKeys",  "mw.util.$content",
"mw.util.addPortletLink" "updateTooltipAccessKeys" etc.

I suggest moving base skin helpers into mediawiki.skin and keeping
mediawiki.util for utility functions.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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

Reply via email to