WikidataBuilder has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/117170

Change subject: New Wikidata Build - 06/03/2014 10:36
......................................................................

New Wikidata Build - 06/03/2014 10:36

Change-Id: I9f0f49603cfcbcdd17d04a12623088ad89298a8c
---
M composer.lock
M extensions/Wikibase/lib/WikibaseLib.i18n.php
A 
extensions/Wikibase/lib/includes/formatters/GlobeCoordinateDetailsFormatter.php
A extensions/Wikibase/lib/includes/formatters/TimeDetailsFormatter.php
M extensions/Wikibase/lib/includes/formatters/WikibaseValueFormatterBuilders.php
A 
extensions/Wikibase/lib/tests/phpunit/formatters/GlobeCoordinateDetailsFormatterTest.php
A extensions/Wikibase/lib/tests/phpunit/formatters/TimeDetailsFormatterTest.php
M vendor/autoload.php
M vendor/composer/autoload_classmap.php
M vendor/composer/autoload_real.php
M vendor/composer/installed.json
11 files changed, 385 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikidata 
refs/changes/70/117170/1

diff --git a/composer.lock b/composer.lock
index 7cb03c0..d80dfa1 100644
--- a/composer.lock
+++ b/composer.lock
@@ -851,12 +851,12 @@
             "source": {
                 "type": "git",
                 "url": 
"https://github.com/wikimedia/mediawiki-extensions-Wikibase.git";,
-                "reference": "5efd64371d362fc7b34cb37b3b5a4321b480d11a"
+                "reference": "3079d2258e4b17fd1e3d535695f0064662eb2a68"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/5efd64371d362fc7b34cb37b3b5a4321b480d11a";,
-                "reference": "5efd64371d362fc7b34cb37b3b5a4321b480d11a",
+                "url": 
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/3079d2258e4b17fd1e3d535695f0064662eb2a68";,
+                "reference": "3079d2258e4b17fd1e3d535695f0064662eb2a68",
                 "shasum": ""
             },
             "require": {
@@ -915,7 +915,7 @@
                 "wikibaserepo",
                 "wikidata"
             ],
-            "time": "2014-03-05 15:20:32"
+            "time": "2014-03-05 21:16:30"
         }
     ],
     "packages-dev": [
diff --git a/extensions/Wikibase/lib/WikibaseLib.i18n.php 
b/extensions/Wikibase/lib/WikibaseLib.i18n.php
index e584eed..fa42263 100644
--- a/extensions/Wikibase/lib/WikibaseLib.i18n.php
+++ b/extensions/Wikibase/lib/WikibaseLib.i18n.php
@@ -52,6 +52,17 @@
        'wikibase-quantitydetails-upperbound' => 'Upper bound',
        'wikibase-quantitydetails-lowerbound' => 'Lower bound',
        'wikibase-quantitydetails-unit' => 'Unit',
+       'wikibase-timedetails-time' => 'Time',
+       'wikibase-timedetails-isotime' => 'ISO Timestamp',
+       'wikibase-timedetails-timezone' => 'Timezone',
+       'wikibase-timedetails-calendar' => 'Calendar',
+       'wikibase-timedetails-precision' => 'Precision',
+       'wikibase-timedetails-before' => 'Before',
+       'wikibase-timedetails-after' => 'After',
+       'wikibase-globedetails-longitude' => 'Longitude',
+       'wikibase-globedetails-latitude' => 'Latitude',
+       'wikibase-globedetails-precision' => 'Precision',
+       'wikibase-globedetails-globe' => 'Globe',
        'wikibase-replicationnote' => 'Please notice that it can take several 
minutes until the changes are visible on all wikis.',
        'wikibase-sitelinks-wikipedia' => 'Wikipedia pages linked to this item',
        'wikibase-sitelinks-sitename-columnheading' => 'Language',
@@ -159,6 +170,17 @@
        'wikibase-quantitydetails-lowerbound' => 'Label used for the "lower 
bound" field of a quantity value when showing a detailed representation of the 
quantity, e.g. in a diff.',
        'wikibase-quantitydetails-unit' => 'Label used for the "unit" field of 
a quantity value when showing a detailed representation of the quantity, e.g. 
in a diff.
 {{Identical|Unit}}',
+       'wikibase-timedetails-time' => 'Label used for the rendered version of 
a time value when showing a detailed representation of the time, e.g. in a 
diff.',
+       'wikibase-timedetails-isotime' => 'Label used for the "isotime" field 
of a time value when showing a detailed representation of the time, e.g. in a 
diff.',
+       'wikibase-timedetails-timezone' => 'Label used for the "timezone" field 
of a time value when showing a detailed representation of the time, e.g. in a 
diff.',
+       'wikibase-timedetails-calendar' => 'Label used for the "calendar" field 
of a time value when showing a detailed representation of the time, e.g. in a 
diff.',
+       'wikibase-timedetails-precision' => 'Label used for the "precision" 
field of a time value when showing a detailed representation of the time, e.g. 
in a diff.',
+       'wikibase-timedetails-before' => 'Label used for the "before" field of 
a time value when showing a detailed representation of the time, e.g. in a 
diff.',
+       'wikibase-timedetails-after' => 'Label used for the "after" field of a 
time value when showing a detailed representation of the time, e.g. in a diff.',
+       'wikibase-globedetails-longitude' => 'Label used for the "longitude" 
field of a globecoordinate value when showing a detailed representation of the 
time, e.g. in a diff.',
+       'wikibase-globedetails-latitude' => 'Label used for the "latitude" 
field of a globecoordinate value when showing a detailed representation of the 
time, e.g. in a diff.',
+       'wikibase-globedetails-precision' => 'Label used for the "precision" 
field of a globecoordinate value when showing a detailed representation of the 
time, e.g. in a diff.',
+       'wikibase-globedetails-globe' => 'Label used for the "globe" field of a 
globecoordinate value when showing a detailed representation of the time, e.g. 
in a diff.',
        'wikibase-replicationnote' => 'Note telling the user that it can take a 
few minutes until the made changes are visible on all wikis.
 Preceded by message {{msg-mw|Wikibase-linkitem-success-link}}',
        'wikibase-sitelinks-wikipedia' => '[[File:Screenshot WikidataRepo 
2012-05-13 A.png|right|0x150px]]
diff --git 
a/extensions/Wikibase/lib/includes/formatters/GlobeCoordinateDetailsFormatter.php
 
b/extensions/Wikibase/lib/includes/formatters/GlobeCoordinateDetailsFormatter.php
new file mode 100644
index 0000000..d1f0b6f
--- /dev/null
+++ 
b/extensions/Wikibase/lib/includes/formatters/GlobeCoordinateDetailsFormatter.php
@@ -0,0 +1,89 @@
+<?php
+
+namespace Wikibase\Lib;
+
+use DataValues\GlobeCoordinateValue;
+use Html;
+use InvalidArgumentException;
+use Message;
+use ValueFormatters\FormatterOptions;
+use ValueFormatters\ValueFormatter;
+use ValueFormatters\ValueFormatterBase;
+
+/**
+ * Formatter for rendering the details of a GlobeCoordinateValue (most useful 
for diffs) in HTML.
+ *
+ * @since 0.5
+ *
+ * @licence GNU GPL v2+
+ * @author Daniel Kinzler
+ */
+class GlobeCoordinateDetailsFormatter extends ValueFormatterBase {
+
+       /**
+        * @param FormatterOptions $options
+        */
+       public function __construct( FormatterOptions $options ) {
+               parent::__construct( $options );
+       }
+
+       /**
+        * Generates HTML representing the details of a GlobeCoordinateValue,
+        * as an itemized list.
+        *
+        * @since 0.5
+        *
+        * @param GlobeCoordinateValue $value The ID to format
+        *
+        * @return string
+        * @throws InvalidArgumentException
+        */
+       public function format( $value ) {
+               if ( !( $value instanceof GlobeCoordinateValue ) ) {
+                       throw new InvalidArgumentException( 'Data value type 
mismatch. Expected an GlobeCoordinateValue.' );
+               }
+
+               $html = '';
+               $html .= Html::openElement( 'dl', array( 'class' => 
'wikibase-details wikibase-globe-details' ) );
+
+               //TODO: nicer formatting and localization of numbers.
+               $html .= $this->renderLabelValuePair( 'latitude', 
htmlspecialchars( strval( $value->getLatitude() ) ) );
+               $html .= $this->renderLabelValuePair( 'longitude', 
htmlspecialchars( strval( $value->getLongitude() ) ) );
+               $html .= $this->renderLabelValuePair( 'precision', 
htmlspecialchars( strval( $value->getPrecision() ) ) );
+               $html .= $this->renderLabelValuePair( 'globe', 
htmlspecialchars( strval( $value->getGlobe() ) ) );
+
+               $html .= Html::closeElement( 'dl' );
+
+               return $html;
+       }
+
+       /**
+        * @param string $fieldName
+        * @param string $valueHtml
+        *
+        * @return string HTML for the label/value pair
+        */
+       protected function renderLabelValuePair( $fieldName, $valueHtml ) {
+               $html = '';
+               $html .= Html::element( 'dt', array( 'class' => 
'wikibase-globe-' . $fieldName ), $this->getFieldLabel( $fieldName )->text() );
+               $html .= Html::element( 'dd', array( 'class' => 
'wikibase-globe-' . $fieldName ), $valueHtml );
+
+               return $html;
+       }
+
+       /**
+        * @param string $fieldName
+        *
+        * @return Message
+        */
+       protected function getFieldLabel( $fieldName ) {
+               $lang = $this->getOption( ValueFormatter::OPT_LANG );
+
+               // Messages: wikibase-globedetails-amount, 
wikibase-globedetails-upperbound,
+               // wikibase-globedetails-lowerbound, wikibase-globedetails-unit
+               $key = 'wikibase-globedetails-' . strtolower( $fieldName );
+               $msg = wfMessage( $key )->inLanguage( $lang );
+
+               return $msg;
+       }
+}
diff --git 
a/extensions/Wikibase/lib/includes/formatters/TimeDetailsFormatter.php 
b/extensions/Wikibase/lib/includes/formatters/TimeDetailsFormatter.php
new file mode 100644
index 0000000..aeeb092
--- /dev/null
+++ b/extensions/Wikibase/lib/includes/formatters/TimeDetailsFormatter.php
@@ -0,0 +1,117 @@
+<?php
+
+namespace Wikibase\Lib;
+
+use DataValues\TimeValue;
+use Html;
+use InvalidArgumentException;
+use Message;
+use ValueFormatters\FormatterOptions;
+use ValueFormatters\TimeFormatter;
+use ValueFormatters\ValueFormatter;
+use ValueFormatters\ValueFormatterBase;
+
+/**
+ * Formatter for rendering the details of a TimeValue (most useful for diffs) 
in HTML.
+ *
+ * @since 0.5
+ *
+ * @licence GNU GPL v2+
+ * @author Daniel Kinzler
+ */
+class TimeDetailsFormatter extends ValueFormatterBase {
+
+       /**
+        * @var MwTimeIsoFormatter
+        */
+       protected $isoTimeFormatter;
+
+       /**
+        * @var TimeFormatter
+        */
+       protected $timeFormatter;
+
+       /**
+        * @param FormatterOptions $options
+        */
+       public function __construct( FormatterOptions $options ) {
+               parent::__construct( $options );
+
+               if ( $options->hasOption( TimeFormatter::OPT_TIME_ISO_FORMATTER 
) ) {
+                       $this->isoTimeFormatter = $options->getOption( 
TimeFormatter::OPT_TIME_ISO_FORMATTER );
+               } else {
+                       $this->isoTimeFormatter = new MwTimeIsoFormatter( 
$options );
+                       $options->setOption( 
TimeFormatter::OPT_TIME_ISO_FORMATTER, $this->isoTimeFormatter );
+               }
+
+               $this->timeFormatter = new TimeFormatter( $options );
+       }
+
+       /**
+        * Generates HTML representing the details of a TimeValue,
+        * as an itemized list.
+        *
+        * @since 0.5
+        *
+        * @param TimeValue $value The ID to format
+        *
+        * @return string
+        * @throws InvalidArgumentException
+        */
+       public function format( $value ) {
+               if ( !( $value instanceof TimeValue ) ) {
+                       throw new InvalidArgumentException( 'Data value type 
mismatch. Expected an TimeValue.' );
+               }
+
+               $html = '';
+               $html .= Html::element( 'h4',
+                       array( 'class' => 'wikibase-details 
wikibase-time-details wikibase-time-rendered' ),
+                       $this->timeFormatter->format( $value )
+               );
+
+               $html .= Html::openElement( 'dl', array( 'class' => 
'wikibase-details wikibase-time-details' ) );
+               $html .= $this->renderLabelValuePair( 'isotime', 
htmlspecialchars( strval( $value->getTime() ) ) );
+
+               //TODO: provide "nice" rendering of timezone, calendar, 
precision, etc.
+               $html .= $this->renderLabelValuePair( 'timezone', 
htmlspecialchars( strval( $value->getTimezone() ) ) );
+               $html .= $this->renderLabelValuePair( 'calendar', 
htmlspecialchars( strval( $value->getCalendarModel() ) ) );
+               $html .= $this->renderLabelValuePair( 'precision', 
htmlspecialchars( strval( $value->getPrecision() ) ) );
+
+               $html .= $this->renderLabelValuePair( 'before', 
htmlspecialchars( strval( $value->getBefore() ) ) );
+               $html .= $this->renderLabelValuePair( 'after', 
htmlspecialchars( strval( $value->getAfter() ) ) );
+
+               $html .= Html::closeElement( 'dl' );
+
+               return $html;
+       }
+
+       /**
+        * @param string $fieldName
+        * @param string $valueHtml
+        *
+        * @return string HTML for the label/value pair
+        */
+       protected function renderLabelValuePair( $fieldName, $valueHtml ) {
+               $html = '';
+               $html .= Html::element( 'dt', array( 'class' => 
'wikibase-time-' . $fieldName ), $this->getFieldLabel( $fieldName )->text() );
+               $html .= Html::element( 'dd', array( 'class' => 
'wikibase-time-' . $fieldName ), $valueHtml );
+
+               return $html;
+       }
+
+       /**
+        * @param string $fieldName
+        *
+        * @return Message
+        */
+       protected function getFieldLabel( $fieldName ) {
+               $lang = $this->getOption( ValueFormatter::OPT_LANG );
+
+               // Messages: wikibase-timedetails-amount, 
wikibase-timedetails-upperbound,
+               // wikibase-timedetails-lowerbound, wikibase-timedetails-unit
+               $key = 'wikibase-timedetails-' . strtolower( $fieldName );
+               $msg = wfMessage( $key )->inLanguage( $lang );
+
+               return $msg;
+       }
+}
diff --git 
a/extensions/Wikibase/lib/includes/formatters/WikibaseValueFormatterBuilders.php
 
b/extensions/Wikibase/lib/includes/formatters/WikibaseValueFormatterBuilders.php
index 7fe9fb8..d0b4832 100644
--- 
a/extensions/Wikibase/lib/includes/formatters/WikibaseValueFormatterBuilders.php
+++ 
b/extensions/Wikibase/lib/includes/formatters/WikibaseValueFormatterBuilders.php
@@ -89,6 +89,8 @@
                // Falls back to HTML display formatters.
                SnakFormatter::FORMAT_HTML_DIFF => array(
                        'PT:quantity' => 
'Wikibase\Lib\QuantityDetailsFormatter',
+                       'PT:time' => 'Wikibase\Lib\TimeDetailsFormatter',
+                       'PT:globe-coordinate' => 
'Wikibase\Lib\GlobeCoordinateDetailsFormatter',
                ),
        );
 
diff --git 
a/extensions/Wikibase/lib/tests/phpunit/formatters/GlobeCoordinateDetailsFormatterTest.php
 
b/extensions/Wikibase/lib/tests/phpunit/formatters/GlobeCoordinateDetailsFormatterTest.php
new file mode 100644
index 0000000..92338f3
--- /dev/null
+++ 
b/extensions/Wikibase/lib/tests/phpunit/formatters/GlobeCoordinateDetailsFormatterTest.php
@@ -0,0 +1,67 @@
+<?php
+
+namespace Wikibase\Lib\Test;
+
+use DataValues\LatLongValue;
+use DataValues\NumberValue;
+use DataValues\GlobeCoordinateValue;
+use ValueFormatters\FormatterOptions;
+use ValueFormatters\ValueFormatter;
+use Wikibase\Lib\GlobeCoordinateDetailsFormatter;
+
+/**
+ * @covers Wikibase\Lib\GlobeCoordinateDetailsFormatter
+ *
+ * @group ValueFormatters
+ * @group WikibaseLib
+ * @group Wikibase
+ *
+ * @licence GNU GPL v2+
+ * @author Daniel Kinzler
+ */
+class GlobeCoordinateDetailsFormatterTest extends \PHPUnit_Framework_TestCase {
+
+       /**
+        * @dataProvider quantityFormatProvider
+        *
+        * @covers GlobeCoordinateDetailsFormatterTest::format()
+        */
+       public function testFormat( $value, $options, $pattern ) {
+               $formatter = new GlobeCoordinateDetailsFormatter( $options );
+
+               $html = $formatter->format( $value );
+               $this->assertRegExp( $pattern, $html );
+       }
+
+       public function quantityFormatProvider() {
+               $options = new FormatterOptions( array(
+                       ValueFormatter::OPT_LANG => 'en'
+               ) );
+
+               return array(
+                       array(
+                               new GlobeCoordinateValue( new LatLongValue( 50, 
11 ), 1, GlobeCoordinateValue::GLOBE_EARTH ),
+                               $options,
+                               '@' . implode( '.*',
+                                       array(
+                                               '<dd[^<>]*>[^<>]*50[^<>]*</dd>',
+                                               '<dd[^<>]*>[^<>]*11[^<>]*</dd>',
+                                               '<dd[^<>]*>[^<>]*1[^<>]*</dd>',
+                                               
'<dd[^<>]*>[^<>]*.*Q2[^<>]*</dd>',
+                                       )
+                               ) . '@s'
+                       ),
+               );
+       }
+
+       /**
+        * @covers GlobeCoordinateDetailsFormatterTest::format()
+        */
+       public function testFormatError() {
+               $formatter = new GlobeCoordinateDetailsFormatter( new 
FormatterOptions() );
+               $value = new NumberValue( 23 );
+
+               $this->setExpectedException( 'InvalidArgumentException' );
+               $formatter->format( $value );
+       }
+}
diff --git 
a/extensions/Wikibase/lib/tests/phpunit/formatters/TimeDetailsFormatterTest.php 
b/extensions/Wikibase/lib/tests/phpunit/formatters/TimeDetailsFormatterTest.php
new file mode 100644
index 0000000..d86bb27
--- /dev/null
+++ 
b/extensions/Wikibase/lib/tests/phpunit/formatters/TimeDetailsFormatterTest.php
@@ -0,0 +1,70 @@
+<?php
+
+namespace Wikibase\Lib\Test;
+
+use DataValues\NumberValue;
+use DataValues\TimeValue;
+use ValueFormatters\FormatterOptions;
+use ValueFormatters\TimeFormatter;
+use ValueFormatters\ValueFormatter;
+use Wikibase\Lib\TimeDetailsFormatter;
+
+/**
+ * @covers Wikibase\Lib\TimeDetailsFormatter
+ *
+ * @group ValueFormatters
+ * @group WikibaseLib
+ * @group Wikibase
+ *
+ * @licence GNU GPL v2+
+ * @author Daniel Kinzler
+ */
+class TimeDetailsFormatterTest extends \PHPUnit_Framework_TestCase {
+
+       /**
+        * @dataProvider quantityFormatProvider
+        *
+        * @covers TimeDetailsFormatterTest::format()
+        */
+       public function testFormat( $value, $options, $pattern ) {
+               $formatter = new TimeDetailsFormatter( $options );
+
+               $html = $formatter->format( $value );
+               $this->assertRegExp( $pattern, $html );
+       }
+
+       public function quantityFormatProvider() {
+               $options = new FormatterOptions( array(
+                       ValueFormatter::OPT_LANG => 'en'
+               ) );
+
+               return array(
+                       array(
+                               new TimeValue( '+00000002001-01-01T00:00:00Z', 
60, 0, 1, 10, TimeFormatter::CALENDAR_GREGORIAN ),
+                               $options,
+                               '@' . implode( '.*',
+                                       array(
+                                               
'<h4[^<>]*>[^<>]*.*2001.*[^<>]*</h4>',
+                                               
'<dd[^<>]*>[^<>]*\+00000002001-01-01T00:00:00Z[^<>]*</dd>',
+                                               '<dd[^<>]*>[^<>]*60[^<>]*</dd>',
+                                               
'<dd[^<>]*>[^<>]*.*Q1985727[^<>]*</dd>',
+                                               '<dd[^<>]*>[^<>]*10[^<>]*</dd>',
+                                               '<dd[^<>]*>[^<>]*0[^<>]*</dd>',
+                                               '<dd[^<>]*>[^<>]*1[^<>]*</dd>',
+                                       )
+                               ) . '@s'
+                       ),
+               );
+       }
+
+       /**
+        * @covers TimeDetailsFormatterTest::format()
+        */
+       public function testFormatError() {
+               $formatter = new TimeDetailsFormatter( new FormatterOptions() );
+               $value = new NumberValue( 23 );
+
+               $this->setExpectedException( 'InvalidArgumentException' );
+               $formatter->format( $value );
+       }
+}
diff --git a/vendor/autoload.php b/vendor/autoload.php
index d1c7db5..932a334 100644
--- a/vendor/autoload.php
+++ b/vendor/autoload.php
@@ -4,4 +4,4 @@
 
 require_once __DIR__ . '/composer' . '/autoload_real.php';
 
-return ComposerAutoloaderInit091c1870b0b2b7bf8fb2154121add18d::getLoader();
+return ComposerAutoloaderInit8eb07131bd7af16abad5d4e6d7c85b78::getLoader();
diff --git a/vendor/composer/autoload_classmap.php 
b/vendor/composer/autoload_classmap.php
index 3add819..725dbe2 100644
--- a/vendor/composer/autoload_classmap.php
+++ b/vendor/composer/autoload_classmap.php
@@ -367,6 +367,7 @@
     'Wikibase\\Lib\\EntityRetrievingDataTypeLookup' => $baseDir . 
'/extensions/Wikibase/lib/includes/EntityRetrievingDataTypeLookup.php',
     'Wikibase\\Lib\\EscapingValueFormatter' => $baseDir . 
'/extensions/Wikibase/lib/includes/formatters/EscapingValueFormatter.php',
     'Wikibase\\Lib\\FormattingException' => $baseDir . 
'/extensions/Wikibase/lib/includes/formatters/FormattingException.php',
+    'Wikibase\\Lib\\GlobeCoordinateDetailsFormatter' => $baseDir . 
'/extensions/Wikibase/lib/includes/formatters/GlobeCoordinateDetailsFormatter.php',
     'Wikibase\\Lib\\GuidGenerator' => $baseDir . 
'/extensions/Wikibase/lib/includes/GuidGenerator.php',
     'Wikibase\\Lib\\HtmlUrlFormatter' => $baseDir . 
'/extensions/Wikibase/lib/includes/formatters/HtmlUrlFormatter.php',
     'Wikibase\\Lib\\InMemoryDataTypeLookup' => $baseDir . 
'/extensions/Wikibase/lib/includes/InMemoryDataTypeLookup.php',
@@ -417,6 +418,7 @@
     'Wikibase\\Lib\\Test\\EntityIdValueParserTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/parsers/EntityIdParserTest.php',
     'Wikibase\\Lib\\Test\\EntityRetrievingDataTypeLookupTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/EntityRetrievingDataTypeLookupTest.php',
     'Wikibase\\Lib\\Test\\EscapingValueFormatterTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/formatters/EscapingValueFormatterTest.php',
+    'Wikibase\\Lib\\Test\\GlobeCoordinateDetailsFormatterTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/formatters/GlobeCoordinateDetailsFormatterTest.php',
     'Wikibase\\Lib\\Test\\HtmlUrlFormatterTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/formatters/HtmlUrlFormatterTest.php',
     'Wikibase\\Lib\\Test\\InMemoryDataTypeLookupTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/InMemoryDataTypeLookupTest.php',
     'Wikibase\\Lib\\Test\\MediaWikiNumberUnlocalizerTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/parsers/MediaWikiNumberUnlocalizerTest.php',
@@ -434,9 +436,11 @@
     'Wikibase\\Lib\\Test\\Serializers\\SerializerFactoryTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/serializers/SerializerFactoryTest.php',
     'Wikibase\\Lib\\Test\\SettingsArrayTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/SettingsArrayTest.php',
     'Wikibase\\Lib\\Test\\SnakConstructionServiceTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/SnakConstructionServiceTest.php',
+    'Wikibase\\Lib\\Test\\TimeDetailsFormatterTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/formatters/TimeDetailsFormatterTest.php',
     'Wikibase\\Lib\\Test\\UnDeserializableValueFormatterTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/formatters/UnDeserializableValueFormatterTest.php',
     'Wikibase\\Lib\\Test\\WikibaseSnakFormatterBuildersTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/formatters/WikibaseSnakFormatterBuildersTest.php',
     'Wikibase\\Lib\\Test\\WikibaseValueFormatterBuildersTest' => $baseDir . 
'/extensions/Wikibase/lib/tests/phpunit/formatters/WikibaseValueFormatterBuildersTest.php',
+    'Wikibase\\Lib\\TimeDetailsFormatter' => $baseDir . 
'/extensions/Wikibase/lib/includes/formatters/TimeDetailsFormatter.php',
     'Wikibase\\Lib\\TypedValueFormatter' => $baseDir . 
'/extensions/Wikibase/lib/includes/TypedValueFormatter.php',
     'Wikibase\\Lib\\UnDeserializableValueFormatter' => $baseDir . 
'/extensions/Wikibase/lib/includes/formatters/UnDeserializableValueFormatter.php',
     'Wikibase\\Lib\\V4GuidGenerator' => $baseDir . 
'/extensions/Wikibase/lib/includes/V4GuidGenerator.php',
diff --git a/vendor/composer/autoload_real.php 
b/vendor/composer/autoload_real.php
index 58cdf44..eafd6c0 100644
--- a/vendor/composer/autoload_real.php
+++ b/vendor/composer/autoload_real.php
@@ -2,7 +2,7 @@
 
 // autoload_real.php @generated by Composer
 
-class ComposerAutoloaderInit091c1870b0b2b7bf8fb2154121add18d
+class ComposerAutoloaderInit8eb07131bd7af16abad5d4e6d7c85b78
 {
     private static $loader;
 
@@ -19,9 +19,9 @@
             return self::$loader;
         }
 
-        
spl_autoload_register(array('ComposerAutoloaderInit091c1870b0b2b7bf8fb2154121add18d',
 'loadClassLoader'), true, true);
+        
spl_autoload_register(array('ComposerAutoloaderInit8eb07131bd7af16abad5d4e6d7c85b78',
 'loadClassLoader'), true, true);
         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
-        
spl_autoload_unregister(array('ComposerAutoloaderInit091c1870b0b2b7bf8fb2154121add18d',
 'loadClassLoader'));
+        
spl_autoload_unregister(array('ComposerAutoloaderInit8eb07131bd7af16abad5d4e6d7c85b78',
 'loadClassLoader'));
 
         $vendorDir = dirname(__DIR__);
         $baseDir = dirname($vendorDir);
@@ -45,14 +45,14 @@
 
         $includeFiles = require __DIR__ . '/autoload_files.php';
         foreach ($includeFiles as $file) {
-            composerRequire091c1870b0b2b7bf8fb2154121add18d($file);
+            composerRequire8eb07131bd7af16abad5d4e6d7c85b78($file);
         }
 
         return $loader;
     }
 }
 
-function composerRequire091c1870b0b2b7bf8fb2154121add18d($file)
+function composerRequire8eb07131bd7af16abad5d4e6d7c85b78($file)
 {
     require $file;
 }
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index 4066ea2..f9b2c3a 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -878,12 +878,12 @@
         "source": {
             "type": "git",
             "url": 
"https://github.com/wikimedia/mediawiki-extensions-Wikibase.git";,
-            "reference": "5efd64371d362fc7b34cb37b3b5a4321b480d11a"
+            "reference": "3079d2258e4b17fd1e3d535695f0064662eb2a68"
         },
         "dist": {
             "type": "zip",
-            "url": 
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/5efd64371d362fc7b34cb37b3b5a4321b480d11a";,
-            "reference": "5efd64371d362fc7b34cb37b3b5a4321b480d11a",
+            "url": 
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/3079d2258e4b17fd1e3d535695f0064662eb2a68";,
+            "reference": "3079d2258e4b17fd1e3d535695f0064662eb2a68",
             "shasum": ""
         },
         "require": {
@@ -902,7 +902,7 @@
             "wikibase/data-model": "~0.6.0",
             "wikibase/easyrdf_lite": "~0.8.1"
         },
-        "time": "2014-03-05 15:20:32",
+        "time": "2014-03-05 21:16:30",
         "type": "mediawiki-extension",
         "installation-source": "dist",
         "autoload": {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f0f49603cfcbcdd17d04a12623088ad89298a8c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikidata
Gerrit-Branch: master
Gerrit-Owner: WikidataBuilder <wikidata-servi...@wikimedia.de>

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

Reply via email to