Make sure a member var is declared.
authorMark A. Hershberger <mah@users.mediawiki.org>
Fri, 23 Apr 2010 18:37:33 +0000 (18:37 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Fri, 23 Apr 2010 18:37:33 +0000 (18:37 +0000)
includes/Title.php

index aa6b8bf..96531bb 100644 (file)
@@ -57,6 +57,7 @@ class Title {
        var $mRestrictions = array();     ///< Array of groups allowed to edit this article
        var $mOldRestrictions = false;
        var $mCascadeRestriction;         ///< Cascade restrictions on this page to included templates and images?
+       var $mCascadingRestrictions;      // Caching the results of getCascadeProtectionSources
        var $mRestrictionsExpiry = array(); ///< When do the restrictions on this page expire?
        var $mHasCascadingRestrictions;   ///< Are cascading restrictions in effect on this page?
        var $mCascadeSources;             ///< Where are the cascading restrictions coming from on this page?