jenkins-bot has submitted this change and it was merged.
Change subject: Use public instead of var in classes
......................................................................
Use public instead of var in classes
Change-Id: Iff61883aae53dc76ff90b0a8dc87012c52f98bf5
---
M WMFSite.php
M importUseModWikipedia.php
M sanityCheck.php
3 files changed, 18 insertions(+), 18 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/WMFSite.php b/WMFSite.php
index 77f0515..9e692c5 100644
--- a/WMFSite.php
+++ b/WMFSite.php
@@ -4,7 +4,7 @@
* @ingroup Maintenance
*/
class WMFSite {
- var $suffix, $lateral, $url;
+ public $suffix, $lateral, $url;
function __construct( $s, $l, $u ) {
$this->suffix = $s;
diff --git a/importUseModWikipedia.php b/importUseModWikipedia.php
index 314516e..8e303d0 100644
--- a/importUseModWikipedia.php
+++ b/importUseModWikipedia.php
@@ -13,9 +13,9 @@
class ImportUseModWikipedia extends Maintenance {
- var $encodeMap, $decodeMap;
+ public $encodeMap, $decodeMap;
- var $deepRenames = array(
+ public $deepRenames = array(
'JimboWales' => 983862286,
'TexaS' => 983918410,
'HistoryOfUnitedStatesTalk' => 984795423,
@@ -30,9 +30,9 @@
'AaRiver' => '?',
);
- var $replacements = array();
+ public $replacements = array();
- var $renameTextLinksOps = array(
+ public $renameTextLinksOps = array(
983846265 => array(
'TestIgnore' => 'IgnoreTest',
),
@@ -72,30 +72,30 @@
/**
* Hack for observed substitution issues
*/
- var $skipSelfSubstitution = array(
+ public $skipSelfSubstitution = array(
'Pythagorean_Theorem',
'The_Most_Remarkable_Formula_In_The_World',
'Wine',
);
- var $unixLineEndingsOps = array(
+ public $unixLineEndingsOps = array(
987743732 => 'Wikipedia_FAQ'
);
- var $replacementsDone = array();
+ public $replacementsDone = array();
- var $moveLog = array();
- var $moveDests = array();
- var $revId;
+ public $moveLog = array();
+ public $moveDests = array();
+ public $revId;
- var $rc = array();
- var $textCache = array();
- var $blacklist = array();
+ public $rc = array();
+ public $textCache = array();
+ public $blacklist = array();
- var $FS, $FS1, $FS2, $FS3;
- var $FreeLinkPattern, $UrlPattern, $LinkPattern, $InterLinkPattern;
+ public $FS, $FS1, $FS2, $FS3;
+ public $FreeLinkPattern, $UrlPattern, $LinkPattern, $InterLinkPattern;
- var $cp1252Table = array(
+ public $cp1252Table = array(
0x80 => 0x20ac,
0x81 => 0x0081,
0x82 => 0x201a,
diff --git a/sanityCheck.php b/sanityCheck.php
index e6bd436..2b26884 100644
--- a/sanityCheck.php
+++ b/sanityCheck.php
@@ -11,7 +11,7 @@
require_once( __DIR__ . '/WikimediaCommandLine.inc' );
class SanityCheckRequest extends FauxRequest {
- var $title;
+ public $title;
function __construct() {
$this->title = Title::newMainPage();
--
To view, visit https://gerrit.wikimedia.org/r/154694
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iff61883aae53dc76ff90b0a8dc87012c52f98bf5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikimediaMaintenance
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits