Skip to content

Add 'position' => 'bottom' to $wgResourceModules #11

@jamesmontalvo3

Description

@jamesmontalvo3

In Wiretap.php need to update $wgResourceModules to include a position parameter. Currently the setup is something like:

    'resource.name' => $someResourceTemplate + array(
        'styles' => 'styles.css',
        'scripts' => array(
            'script1.js',
            'script2.js',
            'script3.js',
        ),
    ),

It needs to be like:

    'resource.name' => $someResourceTemplate + array(
        'position' => 'bottom', // added this since "bottom" was default pre-1.26
        'styles' => 'styles.css',
        'scripts' => array(
            'script1.js',
            'script2.js',
            'script3.js',
        ),
    ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions