/**
* Set options of the Parser
* @todo document
- * @package MediaWiki
+ * @addtogroup Parser
*/
class ParserOptions
{
function getMaxIncludeSize() { return $this->mMaxIncludeSize; }
function getRemoveComments() { return $this->mRemoveComments; }
- function &getSkin() {
+ function getSkin() {
if ( !isset( $this->mSkin ) ) {
$this->mSkin = $this->mUser->getSkin();
}
function setMaxIncludeSize( $x ) { return wfSetVar( $this->mMaxIncludeSize, $x ); }
function setRemoveComments( $x ) { return wfSetVar( $this->mRemoveComments, $x ); }
- function ParserOptions( $user = null ) {
+ function __construct( $user = null ) {
$this->initialiseFromUser( $user );
}
}
}
-?>
+