Addshore has uploaded a new change for review.

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

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

Use public instead of var in classes

Change-Id: I540ea2f3f4999f473b2632ede7421ab2cf6c62ff
---
M special/SpecialRevisionCommentSupplement.php
M special/ViewRevisionCommentSupplementDelete.php
M special/ViewRevisionCommentSupplementEdit.php
M special/ViewRevisionCommentSupplementHideHistory.php
M special/ViewRevisionCommentSupplementHistory.php
M special/ViewRevisionCommentSupplementList.php
6 files changed, 28 insertions(+), 28 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RevisionCommentSupplement 
refs/changes/66/154666/1

diff --git a/special/SpecialRevisionCommentSupplement.php 
b/special/SpecialRevisionCommentSupplement.php
index d458cd8..bff3b0f 100644
--- a/special/SpecialRevisionCommentSupplement.php
+++ b/special/SpecialRevisionCommentSupplement.php
@@ -26,8 +26,8 @@
 
 class SpecialRevisionCommentSupplement extends SpecialPage {
 
-       var $mTokenOk;
-       var $mTokenOkExceptSuffix;
+       public $mTokenOk;
+       public $mTokenOkExceptSuffix;
 
        public function __construct() {
                parent::__construct( 'RevisionCommentSupplement', 
'supplementcomment', true );
diff --git a/special/ViewRevisionCommentSupplementDelete.php 
b/special/ViewRevisionCommentSupplementDelete.php
index 7bf05a4..e08be56 100644
--- a/special/ViewRevisionCommentSupplementDelete.php
+++ b/special/ViewRevisionCommentSupplementDelete.php
@@ -20,12 +20,12 @@
 
 class ViewRevisionCommentSupplementDelete extends ContextSource {
 
-       var $rId = '', $missrId = '', $otherReason = '', $listReason = 'other';
-       var $formtype, $submit = false, $error = '', $exist = false;
-       var $mPage;
-       var $mParam;
-       var $mTokenOk;
-       var $mTokenOkExceptSuffix;
+       public $rId = '', $missrId = '', $otherReason = '', $listReason = 
'other';
+       public $formtype, $submit = false, $error = '', $exist = false;
+       public $mPage;
+       public $mParam;
+       public $mTokenOk;
+       public $mTokenOkExceptSuffix;
 
        # from abstract class AbuseFilterView in AbuseFilterView.php into 
extension AbuseFilter
        /**
diff --git a/special/ViewRevisionCommentSupplementEdit.php 
b/special/ViewRevisionCommentSupplementEdit.php
index b672937..a0519f0 100644
--- a/special/ViewRevisionCommentSupplementEdit.php
+++ b/special/ViewRevisionCommentSupplementEdit.php
@@ -20,14 +20,14 @@
 
 class ViewRevisionCommentSupplementEdit extends ContextSource {
 
-       var $error = '';
-       var $save = false, $preview = false, $show = false;
-       var $rId = '', $missrId = '', $supplement = '', $reason = '';
-       var $formtype;
-       var $mPage;
-       var $mParam;
-       var $mTokenOk;
-       var $mTokenOkExceptSuffix;
+       public $error = '';
+       public $save = false, $preview = false, $show = false;
+       public $rId = '', $missrId = '', $supplement = '', $reason = '';
+       public $formtype;
+       public $mPage;
+       public $mParam;
+       public $mTokenOk;
+       public $mTokenOkExceptSuffix;
 
        # from abstract class AbuseFilterView in AbuseFilterView.php into 
extension AbuseFilter
        /**
diff --git a/special/ViewRevisionCommentSupplementHideHistory.php 
b/special/ViewRevisionCommentSupplementHideHistory.php
index f9fce02..0f6b849 100644
--- a/special/ViewRevisionCommentSupplementHideHistory.php
+++ b/special/ViewRevisionCommentSupplementHideHistory.php
@@ -20,14 +20,14 @@
 
 class ViewRevisionCommentSupplementHideHistory extends ContextSource {
 
-       var $row, $rId = '', $hId = '', $misshId = '', $otherReason = '', 
$listReason = 'other';
-       var $hidePrimary = false, $hideComment = false, $hideUser = false, 
$hideRestricted = false;
-       var $hideRow = false;
-       var $formtype, $submit = false, $error = '', $exist = false, $suppress 
= true, $canHide = true;
-       var $mPage;
-       var $mParam;
-       var $mTokenOk;
-       var $mTokenOkExceptSuffix;
+       public $row, $rId = '', $hId = '', $misshId = '', $otherReason = '', 
$listReason = 'other';
+       public $hidePrimary = false, $hideComment = false, $hideUser = false, 
$hideRestricted = false;
+       public $hideRow = false;
+       public $formtype, $submit = false, $error = '', $exist = false, 
$suppress = true, $canHide = true;
+       public $mPage;
+       public $mParam;
+       public $mTokenOk;
+       public $mTokenOkExceptSuffix;
 
        # from abstract class AbuseFilterView in AbuseFilterView.php into 
extension AbuseFilter
        /**
diff --git a/special/ViewRevisionCommentSupplementHistory.php 
b/special/ViewRevisionCommentSupplementHistory.php
index 6fd19cc..8b9c6fa 100644
--- a/special/ViewRevisionCommentSupplementHistory.php
+++ b/special/ViewRevisionCommentSupplementHistory.php
@@ -23,8 +23,8 @@
 
 class ViewRevisionCommentSupplementHistory extends ContextSource {
 
-       var $mPage;
-       var $mParam;
+       public $mPage;
+       public $mParam;
 
        # from abstract class AbuseFilterView in AbuseFilterView.php into 
extension AbuseFilter
        /**
diff --git a/special/ViewRevisionCommentSupplementList.php 
b/special/ViewRevisionCommentSupplementList.php
index d92f843..d539136 100644
--- a/special/ViewRevisionCommentSupplementList.php
+++ b/special/ViewRevisionCommentSupplementList.php
@@ -20,8 +20,8 @@
 
 class ViewRevisionCommentSupplementList extends ContextSource {
 
-       var $mPage;
-       var $mParam;
+       public $mPage;
+       public $mParam;
        protected $dbr;
 
        protected $exOperators = array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I540ea2f3f4999f473b2632ede7421ab2cf6c62ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionCommentSupplement
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