Krinkle <> changed:

           What    |Removed                     |Added
                 CC|                            |
            Summary|Load (user) scripts like    |Add support for loading
                   |modules                     |wiki pages as
                   |                            |scripts/styles in
                   |                            |ResourceLoader

--- Comment #3 from Krinkle <> 2011-02-19 15:22:24 UTC ---
Changing the scope of the bug a bit.

Right now RL loads wiki pages in two places: Site-scripts
(MediaWiki:Common/skinname.js/css) and

We should simply make this into public functionality rather than internally for
those two modules:

/* Example */
['ext.Something'] = array(
    'scripts' => 'resources/something/something.else.js',
    'styles' => 'resources/something/something.else.css',

    'wikistyles' => 'MediaWiki:Something-customize.css', // <!-- from the wiki
    'wikiscripts' => 'MediaWiki:Something-customize.js', // <!-- from the wiki

    'dependencies' => 'jquery.ui.dialog',
    'messages' => array( 'something-title' , 'something-options' ).

That way those would simply be included in the same http request and
minified/combined (just like site/user scripts are now)

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to