Addshore has uploaded a new change for review.
https://gerrit.wikimedia.org/r/154634
Change subject: Use public instead of var in classes
......................................................................
Use public instead of var in classes
Change-Id: I30e031cf046637cd1cb894c2e3e37555f947cbd0
---
M MapSources_body.php
1 file changed, 12 insertions(+), 12 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MapSources
refs/changes/34/154634/1
diff --git a/MapSources_body.php b/MapSources_body.php
index a1cd34b..ffdfe8e 100644
--- a/MapSources_body.php
+++ b/MapSources_body.php
@@ -20,19 +20,19 @@
class MapSourcesPage extends SpecialPage {
- var $lat = 0;
- var $long = 0;
- var $params = '';
- var $par;
- var $errorMsgs = array();
- var $locName = '';
+ public $lat = 0;
+ public $long = 0;
+ public $params = '';
+ public $par;
+ public $errorMsgs = array();
+ public $locName = '';
- var $google = 0.1;
- var $mapquest = 9;
- var $msn = 1;
- var $multimap = 100000;
- var $osmzoom = 12;
- var $osmzoommap = 10;
+ public $google = 0.1;
+ public $mapquest = 9;
+ public $msn = 1;
+ public $multimap = 100000;
+ public $osmzoom = 12;
+ public $osmzoommap = 10;
public function __construct(
$name = 'MapSources', $restriction = '', $listed = true,
--
To view, visit https://gerrit.wikimedia.org/r/154634
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I30e031cf046637cd1cb894c2e3e37555f947cbd0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MapSources
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits