jenkins-bot has submitted this change and it was merged.
Change subject: Specify geo spacing level in value formatter builders
......................................................................
Specify geo spacing level in value formatter builders
Change-Id: I85ef39d508131f2f6b4e111fd8858de4fb958d5c
---
M lib/includes/formatters/WikibaseValueFormatterBuilders.php
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
WikidataJenkins: Verified
Daniel Kinzler: Looks good to me, approved
jenkins-bot: Verified
diff --git a/lib/includes/formatters/WikibaseValueFormatterBuilders.php
b/lib/includes/formatters/WikibaseValueFormatterBuilders.php
index a2b0ac2..8bc4477 100644
--- a/lib/includes/formatters/WikibaseValueFormatterBuilders.php
+++ b/lib/includes/formatters/WikibaseValueFormatterBuilders.php
@@ -556,7 +556,9 @@
*/
protected static function newGlobeCoordinateFormatter( FormatterOptions
$options, WikibaseValueFormatterBuilders $builders ) {
$options->setOption( GeoCoordinateFormatter::OPT_FORMAT,
GeoCoordinateFormatter::TYPE_DMS );
- $options->setOption( GeoCoordinateFormatter::OPT_SPACING_LEVEL,
array() );
+ $options->setOption( GeoCoordinateFormatter::OPT_SPACING_LEVEL,
array(
+ GeoCoordinateFormatter::OPT_SPACE_LATLONG
+ ) );
$options->setOption( GeoCoordinateFormatter::OPT_DIRECTIONAL,
true );
return new GlobeCoordinateFormatter( $options );
}
--
To view, visit https://gerrit.wikimedia.org/r/122416
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I85ef39d508131f2f6b4e111fd8858de4fb958d5c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Adrian Lang <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Henning Snater <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: WikidataJenkins <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits