/** @var bool */
protected $mCanonicalUrl = false;
- /**
- * @var array Additional stylesheets. Looks like this is for extensions.
- * Might be replaced by ResourceLoader.
- */
- protected $mExtStyles = [];
-
/**
* @var string Should be private - has getter and setter. Contains
* the HTML title */
# this breaks strtotime().
$clientHeader = preg_replace( '/;.*$/', '', $clientHeader );
- MediaWiki\suppressWarnings(); // E_STRICT system time bitching
+ Wikimedia\suppressWarnings(); // E_STRICT system time bitching
$clientHeaderTime = strtotime( $clientHeader );
- MediaWiki\restoreWarnings();
+ Wikimedia\restoreWarnings();
if ( !$clientHeaderTime ) {
wfDebug( __METHOD__
. ": unable to parse the client's If-Modified-Since header: $clientHeader\n" );
public function buildCssLinksArray() {
$links = [];
- // Add any extension CSS
- foreach ( $this->mExtStyles as $url ) {
- $this->addStyle( $url );
- }
- $this->mExtStyles = [];
-
foreach ( $this->styles as $file => $options ) {
$link = $this->styleLink( $file, $options );
if ( $link ) {