Addshore has uploaded a new change for review.

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

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

Use public instead of var in classes

Change-Id: Ie408bd2516667b77114f510b19723a3a61143780
---
M Cite_body.php
M SpecialCite_body.php
2 files changed, 20 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CiteThisPage 
refs/changes/73/154573/1

diff --git a/Cite_body.php b/Cite_body.php
index f88919f..496e32d 100644
--- a/Cite_body.php
+++ b/Cite_body.php
@@ -53,21 +53,21 @@
         *
         * @var array
         **/
-       var $mRefs = array();
+       public $mRefs = array();
 
        /**
         * Count for user displayed output (ref[1], ref[2], ...)
         *
         * @var int
         */
-       var $mOutCnt = 0;
-       var $mGroupCnt = array();
+       public $mOutCnt = 0;
+       public $mGroupCnt = array();
 
        /**
         * Counter to track the total number of (useful) calls to either the
         * ref or references tag hook
         */
-       var $mCallCnt = 0;
+       public $mCallCnt = 0;
 
        /**
         * The backlinks, in order, to pass as $3 to
@@ -76,19 +76,19 @@
         *
         * @var array
         */
-       var $mBacklinkLabels;
+       public $mBacklinkLabels;
 
        /**
         * The links to use per group, in order.
         *
         * @var array
         */
-       var $mLinkLabels = array();
+       public $mLinkLabels = array();
 
        /**
         * @var Parser
         */
-       var $mParser;
+       public $mParser;
 
        /**
         * True when the ParserAfterParse hook has been called.
@@ -96,7 +96,7 @@
         *
         * @var boolean
         */
-       var $mHaveAfterParse = false;
+       public $mHaveAfterParse = false;
 
        /**
         * True when a <ref> tag is being processed.
@@ -104,7 +104,7 @@
         *
         * @var boolean
         */
-       var $mInCite = false;
+       public $mInCite = false;
 
        /**
         * True when a <references> tag is being processed.
@@ -112,21 +112,21 @@
         *
         * @var boolean
         */
-       var $mInReferences = false;
+       public $mInReferences = false;
 
        /**
         * Error stack used when defining refs in <references>
         *
         * @var array
         */
-       var $mReferencesErrors = array();
+       public $mReferencesErrors = array();
 
        /**
         * Group used when in <references> block
         *
         * @var string
         */
-       var $mReferencesGroup = '';
+       public $mReferencesGroup = '';
 
        /**
         * <ref> call stack
@@ -135,7 +135,7 @@
         *
         * @var array
         */
-       var $mRefCallStack = array();
+       public $mRefCallStack = array();
 
        /**
         * Did we install us into $wgHooks yet?
diff --git a/SpecialCite_body.php b/SpecialCite_body.php
index f10cdf8..c2a6bef 100644
--- a/SpecialCite_body.php
+++ b/SpecialCite_body.php
@@ -34,7 +34,7 @@
        /**
         * @var Title
         */
-       var $mTitle;
+       public $mTitle;
 
        function __construct( &$title ) {
                $this->mTitle =& $title;
@@ -80,26 +80,26 @@
        /**
         * @var Title
         */
-       var $mTitle;
+       public $mTitle;
 
        /**
         * @var Article
         */
-       var $mArticle;
+       public $mArticle;
 
-       var $mId;
+       public $mId;
 
        /**
         * @var Parser
         */
-       var $mParser;
+       public $mParser;
 
        /**
         * @var ParserOptions
         */
-       var $mParserOptions;
+       public $mParserOptions;
 
-       var $mSpTitle;
+       public $mSpTitle;
 
        function __construct( $title, $id ) {
                global $wgHooks, $wgParser;

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

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