jenkins-bot has submitted this change and it was merged.

Change subject: Move globecoordinate registration to correct location
......................................................................


Move globecoordinate registration to correct location

Change-Id: I02eee189a3999501b4f583c027b83eabd05d851a
---
M ValueFormatters/ValueFormatters.php
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Daniel Kinzler: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/ValueFormatters/ValueFormatters.php 
b/ValueFormatters/ValueFormatters.php
index 550c717..a4865b7 100644
--- a/ValueFormatters/ValueFormatters.php
+++ b/ValueFormatters/ValueFormatters.php
@@ -52,9 +52,9 @@
 /**
  * @deprecated since 0.1 This is a global registry that provides no control 
over object lifecycle
  */
-$wgValueFormatters = array();
-
-$wgValueFormatters['geocoordinate'] = 'ValueFormatters\GeoCoordinateFormatter';
+$wgValueFormatters = array(
+       'globecoordinate' => 'ValueFormatters\GeoCoordinateFormatter'
+);
 
 spl_autoload_register( function ( $className ) {
        // @codeCoverageIgnoreStart

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I02eee189a3999501b4f583c027b83eabd05d851a
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/DataValues
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Daniel Kinzler <daniel.kinz...@wikimedia.de>
Gerrit-Reviewer: Daniel Werner <daniel.wer...@wikimedia.de>
Gerrit-Reviewer: Henning Snater <henning.sna...@wikimedia.de>
Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to