typo, use variable '$name', not a constant 'name'.
[lhc/web/wiklou.git] / includes / ParserOptions.php
index 6d584db..2200bfe 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Set options of the Parser
  * @todo document
- * @package MediaWiki
+ * @addtogroup Parser
  */
 class ParserOptions
 {
@@ -38,7 +38,7 @@ 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();
                }
@@ -116,4 +116,4 @@ class ParserOptions
        }
 }
 
-?>
+