// Based on OutputPage::headElement()
$skin->setupSkinUserCss( $outputPage );
// Based on OutputPage::output()
- foreach ( $skin->getDefaultModules() as $group ) {
- $outputPage->addModules( $group );
- }
+ $outputPage->loadSkinModules( $skin );
}
Hooks::run( 'ApiParseMakeOutputPage', [ $this, $outputPage ] );
$hiddencats[$row->page_title] = isset( $row->pp_propname );
}
- $linkCache = LinkCache::singleton();
+ $linkCache = MediaWikiServices::getInstance()->getLinkCache();
foreach ( $links as $link => $sortkey ) {
$entry = [];