* the usual skin elements but still using CSS, JS, and such via OutputPage and
* ResourceLoader.
*
- * Created on Sep 08, 2014
- *
- * Copyright © 2014 Brad Jorsch <bjorsch@wikimedia.org>
+ * Copyright © 2014 Wikimedia Foundation and contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*/
class SkinApi extends SkinTemplate {
public $skinname = 'apioutput';
- public $template = 'SkinApiTemplate';
+ public $template = SkinApiTemplate::class;
public function setupSkinUserCss( OutputPage $out ) {
parent::setupSkinUserCss( $out );
// Skip work and hooks for stuff we don't use
function buildSidebar() {
- return array();
+ return [];
}
function getNewtalks() {
}
public function getLanguages() {
- return array();
+ return [];
}
protected function buildPersonalUrls() {
- return array();
+ return [];
}
protected function buildContentNavigationUrls() {
- return array();
+ return [];
}
protected function buildNavUrls() {
- return array();
+ return [];
}
}