Revert part of r17066 - ParserOptions private variables not being treated as private...
authorNick Jenkins <nickj@users.mediawiki.org>
Wed, 18 Oct 2006 05:29:57 +0000 (05:29 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Wed, 18 Oct 2006 05:29:57 +0000 (05:29 +0000)
includes/Parser.php

index f4b3751..8457680 100644 (file)
@@ -4668,23 +4668,23 @@ class ParserOutput
  */
 class ParserOptions
 {
-       # All variables are private
-       private $mUseTeX;                    # Use texvc to expand <math> tags
-       private $mUseDynamicDates;           # Use DateFormatter to format dates
-       private $mInterwikiMagic;            # Interlanguage links are removed and returned in an array
-       private $mAllowExternalImages;       # Allow external images inline
-       private $mAllowExternalImagesFrom;   # If not, any exception?
-       private $mSkin;                      # Reference to the preferred skin
-       private $mDateFormat;                # Date format index
-       private $mEditSection;               # Create "edit section" links
-       private $mNumberHeadings;            # Automatically number headings
-       private $mAllowSpecialInclusion;     # Allow inclusion of special pages
-       private $mTidy;                      # Ask for tidy cleanup
-       private $mInterfaceMessage;          # Which lang to call for PLURAL and GRAMMAR
-       private $mMaxIncludeSize;            # Maximum size of template expansions, in bytes
-       private $mRemoveComments;            # Remove HTML comments. ONLY APPLIES TO PREPROCESS OPERATIONS
-
-       private $mUser;                      # Stored user object, just used to initialise the skin
+       # All variables are supposed to be private in theory, although in practise this is not the case.
+       var $mUseTeX;                    # Use texvc to expand <math> tags
+       var $mUseDynamicDates;           # Use DateFormatter to format dates
+       var $mInterwikiMagic;            # Interlanguage links are removed and returned in an array
+       var $mAllowExternalImages;       # Allow external images inline
+       var $mAllowExternalImagesFrom;   # If not, any exception?
+       var $mSkin;                      # Reference to the preferred skin
+       var $mDateFormat;                # Date format index
+       var $mEditSection;               # Create "edit section" links
+       var $mNumberHeadings;            # Automatically number headings
+       var $mAllowSpecialInclusion;     # Allow inclusion of special pages
+       var $mTidy;                      # Ask for tidy cleanup
+       var $mInterfaceMessage;          # Which lang to call for PLURAL and GRAMMAR
+       var $mMaxIncludeSize;            # Maximum size of template expansions, in bytes
+       var $mRemoveComments;            # Remove HTML comments. ONLY APPLIES TO PREPROCESS OPERATIONS
+
+       var $mUser;                      # Stored user object, just used to initialise the skin
 
        function getUseTeX()                        { return $this->mUseTeX; }
        function getUseDynamicDates()               { return $this->mUseDynamicDates; }