mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Use public instead of var in classes
Change-Id: I351e0b776497b9cfa9914400048e5ea9f00b5aac
This commit is contained in:
parent
cad3dcc05c
commit
f1c78e330f
|
@ -53,21 +53,21 @@ class Cite {
|
|||
*
|
||||
* @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 @@ class Cite {
|
|||
*
|
||||
* @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 @@ class Cite {
|
|||
*
|
||||
* @var boolean
|
||||
*/
|
||||
var $mHaveAfterParse = false;
|
||||
public $mHaveAfterParse = false;
|
||||
|
||||
/**
|
||||
* True when a <ref> tag is being processed.
|
||||
|
@ -104,7 +104,7 @@ class Cite {
|
|||
*
|
||||
* @var boolean
|
||||
*/
|
||||
var $mInCite = false;
|
||||
public $mInCite = false;
|
||||
|
||||
/**
|
||||
* True when a <references> tag is being processed.
|
||||
|
@ -112,21 +112,21 @@ class Cite {
|
|||
*
|
||||
* @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 @@ class Cite {
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
var $mRefCallStack = array();
|
||||
public $mRefCallStack = array();
|
||||
|
||||
/**
|
||||
* Did we install us into $wgHooks yet?
|
||||
|
|
|
@ -34,7 +34,7 @@ class CiteForm {
|
|||
/**
|
||||
* @var Title
|
||||
*/
|
||||
var $mTitle;
|
||||
public $mTitle;
|
||||
|
||||
function __construct( &$title ) {
|
||||
$this->mTitle =& $title;
|
||||
|
@ -80,26 +80,26 @@ class CiteOutput {
|
|||
/**
|
||||
* @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;
|
||||
|
|
Loading…
Reference in a new issue