Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/154592

Change subject: Use public instead of var in classes
......................................................................

Use public instead of var in classes

Change-Id: I2e995516879d72a09224a002a61e3bc2f26c8e3a
---
M DPLforum_body.php
1 file changed, 23 insertions(+), 23 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DPLforum 
refs/changes/92/154592/1

diff --git a/DPLforum_body.php b/DPLforum_body.php
index 90b49bd..b45252d 100644
--- a/DPLforum_body.php
+++ b/DPLforum_body.php
@@ -31,34 +31,34 @@
 }
 
 class DPLForum {
-       var $minCategories = 1;           // Minimum number of categories to 
look for
-       var $maxCategories = 6;           // Maximum number of categories to 
look for
-       var $maxResultCount = 50;         // Maximum number of results to allow
-       var $unlimitedResults = true;     // Allow unlimited results
-       var $unlimitedCategories = false; // Allow unlimited categories
-       var $requireCache = false;        // Only clear the cache on purge
+       public $minCategories = 1;           // Minimum number of categories to 
look for
+       public $maxCategories = 6;           // Maximum number of categories to 
look for
+       public $maxResultCount = 50;         // Maximum number of results to 
allow
+       public $unlimitedResults = true;     // Allow unlimited results
+       public $unlimitedCategories = false; // Allow unlimited categories
+       public $requireCache = false;        // Only clear the cache on purge
 
        // Restricted namespaces cannot be searched for page author or creation 
time.
        // Unless this array is empty, namespace-free searches are also 
restricted.
        // Note: Only integers in this array are checked.
-       var $restrictNamespace = array(); // No restrictions
+       public $restrictNamespace = array(); // No restrictions
 
-       var $bTableMode;
-       var $bTimestamp;
-       var $bLinkHistory;
-       var $bEmbedHistory;
-       var $bShowNamespace;
-       var $bAddAuthor;
-       var $bAddCreationDate;
-       var $bAddLastEdit;
-       var $bAddLastEditor;
-       var $bCompactAuthor;
-       var $bCompactEdit;
-       var $sInput;
-       var $sOmit;
-       var $vMarkNew;
-       var $sCreationDateFormat;
-       var $sLastEditFormat;
+       public $bTableMode;
+       public $bTimestamp;
+       public $bLinkHistory;
+       public $bEmbedHistory;
+       public $bShowNamespace;
+       public $bAddAuthor;
+       public $bAddCreationDate;
+       public $bAddLastEdit;
+       public $bAddLastEditor;
+       public $bCompactAuthor;
+       public $bCompactEdit;
+       public $sInput;
+       public $sOmit;
+       public $vMarkNew;
+       public $sCreationDateFormat;
+       public $sLastEditFormat;
 
        /**
         * @param Parser $parser

-- 
To view, visit https://gerrit.wikimedia.org/r/154592
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e995516879d72a09224a002a61e3bc2f26c8e3a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DPLforum
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to