Page MenuHomePhabricator

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: ext.geshi.language.bash ResourceLoaderGeSHiModule [Called from OutputPage::getModuleStyles in /srv/mediawiki/php-1.26wmf8/includes/OutputPage.php at line 603] in /srv/mediawiki/php-1.26wmf8/includes/debug/MWDebug.php on line 300
Closed, DuplicatePublicPRODUCTION ERROR

Description

Spotted on production:

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: ext.geshi.language.bash ResourceLoaderGeSHiModule [Called from OutputPage::getModuleStyles in /srv/mediawiki/php-1.26wmf8/includes/OutputPage.php at line 603] in /srv/mediawiki/php-1.26wmf8/includes/debug/MWDebug.php on line 300

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar subscribed.

Caused by includes/OutputPage.php getModuleStyles():

if ( $module instanceof ResourceLoaderModule && $module->isPositionDefault() ) {
    $warning = __METHOD__ . ': style module should define its position explicitly: ' . $val . ' ' . get_class( $module );
    wfDebugLog( 'resourceloader', $warning );
    wfLogWarning( $warning );
}

Which is https://gerrit.wikimedia.org/r/#/c/206831/ for T97420: Support position "bottom" for addModuleStyles

demon triaged this task as Medium priority.Jul 9 2015, 4:39 PM
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM