OutputPage is supposed to be a container for output. It should NOT be used as a replacement for echo.
Only one seemingly unmaintained extension uses this method.
This method is deprecated now and should be removed in the next release.
Change-Id: I82711cee7204604a47cfbb5e4496b4cc737a837c
}
if ( $this->mArticleBodyOnly ) {
- $this->out( $this->mBodytext );
+ echo $this->mBodytext;
} else {
$this->addDefaultModules();
* Actually output something with print.
*
* @param string $ins the string to output
+ * @deprecated since 1.20 Use echo yourself.
*/
public function out( $ins ) {
+ wfDeprecated( __METHOD__, '1.22' );
print $ins;
}