\Maintenance::countDown() method instead.
* OutputPage::wrapWikiMsg() no longer accepts an options parameter. This was
deprecated since 1.20.
+* Skin::outputPage() no longer accepts a context. This was deprecated in 1.20.
* …
=== Deprecations in 1.34 ===
/**
* Outputs the HTML generated by other functions.
- * @param OutputPage|null $out
*/
- abstract function outputPage( OutputPage $out = null );
+ abstract function outputPage();
/**
* @param array $data
}
/**
- * initialize various variables and generate the template
- *
- * @param OutputPage|null $out
+ * Initialize various variables and generate the template
*/
- function outputPage( OutputPage $out = null ) {
+ function outputPage() {
Profiler::instance()->setTemplated( true );
-
- $oldContext = null;
- if ( $out !== null ) {
- // Deprecated since 1.20, note added in 1.25
- wfDeprecated( __METHOD__, '1.25' );
- $oldContext = $this->getContext();
- $this->setContext( $out->getContext() );
- }
-
$out = $this->getOutput();
$this->initPage( $out );
// result may be an error
$this->printOrError( $res );
-
- if ( $oldContext ) {
- $this->setContext( $oldContext );
- }
}
/**