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

            Bug ID: 71605
           Summary: Create a generic container object that stores HTML and
                    ResourceLoader modules
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: easy
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 700
       Web browser: ---
   Mobile Platform: ---

In TablePager::getBodyOutput(), a ParserOutput object is currently used because
it is a container for HTML and ResourceLoader modules. But it also has a bunch
of other methods which aren't appropriate to use here.

So I think we need a generic container object that has getters and setters for:
* HTML text
* addModuleStyles (CSS-only modules)
* addModuleScripts (JS-only modules)
* addModules (combined)
* addModuleMessages

This should be easy to do, except I can't come up with a name for it.

-- 
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