* @return array
*/
protected static function cacheablePageActions() {
- return array( 'view', 'history' );
+ return [ 'view', 'history' ];
}
/**
return false;
}
// Allow extensions to disable caching
- return Hooks::run( 'HTMLFileCache::useFileCache', array( $context ) );
+ return Hooks::run( 'HTMLFileCache::useFileCache', [ $context ] );
}
/**
return $text;
}
- wfDebug( __METHOD__ . "()\n", 'log' );
+ wfDebug( __METHOD__ . "()\n", 'private' );
$now = wfTimestampNow();
if ( $this->useGzip() ) {