* @ingroup Deployment
*/
+use MediaWiki\MediaWikiServices;
+
/**
* Output class modelled on OutputPage.
*
'mediawiki.skinning.interface',
];
- $resourceLoader = new ResourceLoader();
+ $resourceLoader = MediaWikiServices::getInstance()->getResourceLoader();
if ( file_exists( "$wgStyleDirectory/Vector/skin.json" ) ) {
// Force loading Vector skin if available as a fallback skin
<div id="mw-panel">
<div class="portal" id="p-logo">
- <a style="background-image: url(images/installer-logo.png);"
- href="https://www.mediawiki.org/"
- title="Main Page"></a>
+ <a href="https://www.mediawiki.org/" title="Main Page"></a>
</div>
<?php
$message = wfMessage( 'config-sidebar' )->plain();
public function outputShortHeader() {
?>
<?php echo Html::htmlHeader( $this->getHeadAttribs() ); ?>
+
<head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><?php $this->outputTitle(); ?></title>
<?php echo $this->getCssUrl() . "\n"; ?>
- <?php echo $this->getJQuery(); ?>
- <?php echo Html::linkedScript( 'config.js' ); ?>
+ <?php echo $this->getJQuery() . "\n"; ?>
+ <?php echo Html::linkedScript( 'config.js' ) . "\n"; ?>
</head>
<body style="background-image: none">