jenkins-bot has submitted this change and it was merged. Change subject: New Wikidata Build - 2016-01-06T10:00:01+0000 ......................................................................
New Wikidata Build - 2016-01-06T10:00:01+0000 Change-Id: Iff57db2cb59004919c84827c37912c8232db99a8 --- M composer.lock M extensions/Wikibase/client/i18n/la.json M extensions/Wikibase/composer.json M extensions/Wikibase/lib/i18n/lki.json M extensions/Wikibase/lib/tests/phpunit/changes/EntityChangeTest.php M extensions/Wikibase/lib/tests/phpunit/store/FieldPropertyInfoProviderTest.php A extensions/Wikibase/lib/tests/phpunit/store/RedirectRevisionTest.php M extensions/Wikibase/repo/i18n/de.json M extensions/Wikibase/repo/i18n/fr.json M extensions/Wikibase/repo/i18n/he.json M extensions/Wikibase/repo/i18n/it.json M extensions/Wikibase/repo/i18n/lki.json M extensions/Wikibase/repo/i18n/pl.json M extensions/Wikibase/repo/includes/content/EntityHandler.php M extensions/Wikibase/repo/includes/specials/SpecialEntitiesWithoutPage.php M extensions/Wikibase/repo/tests/phpunit/includes/CachingCommonsMediaFileNameLookupTest.php M extensions/Wikibase/repo/tests/phpunit/includes/DataTypeSelectorTest.php M extensions/Wikibase/repo/tests/phpunit/includes/content/EntityHandlerTest.php R extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectUriRdfBuilderTest.php M extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialEntitiesWithoutPageTest.php M extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php M vendor/composer/autoload_classmap.php M vendor/composer/installed.json 23 files changed, 330 insertions(+), 123 deletions(-) Approvals: Aude: Looks good to me, approved jenkins-bot: Verified diff --git a/composer.lock b/composer.lock index 5887e42..a628236 100644 --- a/composer.lock +++ b/composer.lock @@ -1448,12 +1448,12 @@ "source": { "type": "git", "url": "https://github.com/wikimedia/mediawiki-extensions-Wikibase.git", - "reference": "20a83bd7b45506722f93a332be6d07ca96cec058" + "reference": "ca2aefbf10b3ea6da8687193ceb216c87d709c77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/20a83bd7b45506722f93a332be6d07ca96cec058", - "reference": "20a83bd7b45506722f93a332be6d07ca96cec058", + "url": "https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/ca2aefbf10b3ea6da8687193ceb216c87d709c77", + "reference": "ca2aefbf10b3ea6da8687193ceb216c87d709c77", "shasum": "" }, "require": { @@ -1482,7 +1482,7 @@ "mediawiki/mediawiki": "<1.25" }, "require-dev": { - "jakub-onderka/php-parallel-lint": "0.9", + "jakub-onderka/php-parallel-lint": "0.9.2", "mediawiki/mediawiki-codesniffer": "0.4.0|0.5.0" }, "type": "mediawiki-extension", @@ -1524,7 +1524,7 @@ "wikibaserepo", "wikidata" ], - "time": "2016-01-05 05:20:28" + "time": "2016-01-06 00:30:13" }, { "name": "wikibase/wikimedia-badges", diff --git a/extensions/Wikibase/client/i18n/la.json b/extensions/Wikibase/client/i18n/la.json index 7f904ad..d1400c3 100644 --- a/extensions/Wikibase/client/i18n/la.json +++ b/extensions/Wikibase/client/i18n/la.json @@ -15,5 +15,6 @@ "wikibase-rc-hide-wikidata": "$1 Vicidata", "wikibase-rc-hide-wikidata-hide": "Celare", "wikibase-rc-hide-wikidata-show": "Monstrare", - "wikibase-rc-wikibase-edit-title": "Recensio apud Wikidata facta" + "wikibase-rc-wikibase-edit-title": "Recensio apud Wikidata facta", + "wikibase-watchlist-show-changes-pref": "Mutationes apud {{WBREPONAME}} factas, siquae paginas observandas afficiant, in earum indice ostendere" } diff --git a/extensions/Wikibase/composer.json b/extensions/Wikibase/composer.json index 66e89d3..3e31c9b 100644 --- a/extensions/Wikibase/composer.json +++ b/extensions/Wikibase/composer.json @@ -22,7 +22,6 @@ }, "require": { "php": ">=5.3.2", - "data-values/data-values": "~1.0", "data-values/common": "~0.3.0", "data-values/geo": "~1.0", @@ -34,7 +33,6 @@ "data-values/serialization": "~1.0", "data-values/javascript": "~0.6.0|~0.7.0", "data-values/value-view": "~0.15.6", - "wikibase/data-model": "~4.0", "wikibase/data-model-serialization": "~2.0", "wikibase/internal-serialization": "~2.0", @@ -42,11 +40,10 @@ "wikibase/data-model-javascript": "^1.0.2", "wikibase/javascript-api": "~1.0", "wikibase/serialization-javascript": "~2.0", - "diff/diff": "~2.0" }, "require-dev": { - "jakub-onderka/php-parallel-lint": "0.9", + "jakub-onderka/php-parallel-lint": "0.9.2", "mediawiki/mediawiki-codesniffer": "0.4.0|0.5.0" }, "conflict": { @@ -57,11 +54,9 @@ "client/includes/", "client/WikibaseClient.hooks.php", "client/tests/phpunit/", - "lib/includes/", "lib/WikibaseLib.hooks.php", "lib/tests/phpunit/", - "repo/includes/", "repo/maintenance/", "repo/tests/phpunit/", diff --git a/extensions/Wikibase/lib/i18n/lki.json b/extensions/Wikibase/lib/i18n/lki.json index 5ebee41..c721b9e 100644 --- a/extensions/Wikibase/lib/i18n/lki.json +++ b/extensions/Wikibase/lib/i18n/lki.json @@ -41,7 +41,7 @@ "datatypes-type-commonsMedia": "پروندههای ویکیانبار", "version-wikibase": "ویکیبیس", "wikibase-entity-summary-wbsetdescription-add": "توضیحات [$2] افزوده شد", - "wikibase-entity-summary-wbsetdescription-set": "تغییر توضیحات [$2]", + "wikibase-entity-summary-wbsetdescription-set": "گؤەڕانن/تغییر توضیحات [$2]", "wikibase-entity-summary-wbsetdescription-remove": "حذف توضیحات [$2]", "wikibase-entity-summary-wbsetlabeldescriptionaliases": "[$2] برچسب، شرح و نامهای مستعار تغییر یافت" } diff --git a/extensions/Wikibase/lib/tests/phpunit/changes/EntityChangeTest.php b/extensions/Wikibase/lib/tests/phpunit/changes/EntityChangeTest.php index ce8ca1c..ff7b27e 100644 --- a/extensions/Wikibase/lib/tests/phpunit/changes/EntityChangeTest.php +++ b/extensions/Wikibase/lib/tests/phpunit/changes/EntityChangeTest.php @@ -2,6 +2,8 @@ namespace Wikibase\Test; +use Diff\DiffOp\Diff\Diff; +use Diff\DiffOp\DiffOpAdd; use RecentChange; use Revision; use stdClass; @@ -281,6 +283,27 @@ $this->assertEquals( 'Mr. Kittens', $metadata['user_text'], 'user_text' ); } + public function testGivenEntityChangeWithoutObjectId_setRevisionInfoSetsObjectId() { + $content = $this->getMockBuilder( 'Wikibase\ItemContent' ) + ->disableOriginalConstructor() + ->getMock(); + $content->expects( $this->once() ) + ->method( 'getEntityId' ) + ->will( $this->returnValue( new ItemId( 'Q1' ) ) ); + + $revision = $this->getMockBuilder( 'Revision' ) + ->disableOriginalConstructor() + ->getMock(); + $revision->expects( $this->once() ) + ->method( 'getContent' ) + ->will( $this->returnValue( $content ) ); + + $change = new EntityChange( array( 'info' => array(), 'type' => '~' ) ); + $this->assertFalse( $change->hasField( 'object_id' ), 'precondition' ); + $change->setRevisionInfo( $revision ); + $this->assertSame( 'q1', $change->getObjectId() ); + } + public function testSetTimestamp() { $q7 = new ItemId( 'Q7' ); @@ -292,7 +315,29 @@ $this->assertEquals( $timestamp, $change->getTime() ); } - public function testArrayalizeObjects() { + public function testHasDiff() { + $change = new EntityChange( array( 'info' => array() ) ); + $this->assertFalse( $change->hasDiff() ); + + $change->setDiff( new Diff() ); + $this->assertTrue( $change->hasDiff() ); + } + + public function testIsEmpty() { + $change = new EntityChange(); + $this->assertTrue( $change->isEmpty() ); + + $change->setDiff( new Diff( array( new DiffOpAdd( '' ) ) ) ); + $this->assertFalse( $change->isEmpty() ); + } + + public function testSerializeAndUnserializeInfo() { + $info = array( 'diff' => new DiffOpAdd( '' ) ); + $change = new EntityChange(); + $this->assertEquals( $info, $change->unserializeInfo( $change->serializeInfo( $info ) ) ); + } + + public function testGivenStatement_arrayalizeObjectsReturnsSerialization() { $statement = new Statement( new PropertyNoValueSnak( 1 ) ); $expected = array( 'mainsnak' => array( @@ -315,7 +360,13 @@ $this->assertSame( $expected, $array ); } - public function testObjectifyArrays() { + public function testGivenNonStatement_arrayalizeObjectsReturnsOriginal() { + $data = 'foo'; + $change = new EntityChange(); + $this->assertSame( $data, $change->arrayalizeObjects( $data ) ); + } + + public function testGivenStatementSerialization_objectifyArraysReturnsStatement() { $data = array( 'mainsnak' => array( 'snaktype' => 'novalue', @@ -330,4 +381,10 @@ $this->assertInstanceOf( 'Wikibase\DataModel\Statement\Statement', $statement ); } + public function testGivenNonStatementSerialization_objectifyArraysReturnsOriginal() { + $data = array( 'foo' ); + $change = new EntityChange(); + $this->assertSame( $data, $change->objectifyArrays( $data ) ); + } + } diff --git a/extensions/Wikibase/lib/tests/phpunit/store/FieldPropertyInfoProviderTest.php b/extensions/Wikibase/lib/tests/phpunit/store/FieldPropertyInfoProviderTest.php index 7888f40..373e118 100644 --- a/extensions/Wikibase/lib/tests/phpunit/store/FieldPropertyInfoProviderTest.php +++ b/extensions/Wikibase/lib/tests/phpunit/store/FieldPropertyInfoProviderTest.php @@ -1,13 +1,13 @@ <?php -namespace Wikibase\Lib\Tests\Store; +namespace Wikibase\Lib\Tests; use PHPUnit_Framework_TestCase; use Wikibase\DataModel\Entity\PropertyId; use Wikibase\Lib\FieldPropertyInfoProvider; /** - * @covers Wikibase\Lib\Store\FieldPropertyInfoProvider + * @covers Wikibase\Lib\FieldPropertyInfoProvider * * @group Wikibase * @group WikibaseLib diff --git a/extensions/Wikibase/lib/tests/phpunit/store/RedirectRevisionTest.php b/extensions/Wikibase/lib/tests/phpunit/store/RedirectRevisionTest.php new file mode 100644 index 0000000..4a17ad4 --- /dev/null +++ b/extensions/Wikibase/lib/tests/phpunit/store/RedirectRevisionTest.php @@ -0,0 +1,63 @@ +<?php + +namespace Wikibase\Lib\Tests\Store; + +use PHPUnit_Framework_TestCase; +use Wikibase\DataModel\Entity\EntityRedirect; +use Wikibase\DataModel\Entity\ItemId; +use Wikibase\RedirectRevision; + +/** + * @covers Wikibase\RedirectRevision + * + * @group Wikibase + * @group WikibaseLib + * @group WikibaseStore + * + * @licence GNU GPL v2+ + * @author Thiemo Mättig + */ +class RedirectRevisionTest extends PHPUnit_Framework_TestCase { + + private function newRedirect() { + return new EntityRedirect( new ItemId( 'Q1' ), new ItemId( 'Q2' ) ); + } + + /** + * @dataProvider invalidConstructorArgumentsProvider + */ + public function testConstructorThrowsException( $revisionId, $mwTimestamp ) { + $this->setExpectedException( 'InvalidArgumentException' ); + new RedirectRevision( $this->newRedirect(), $revisionId, $mwTimestamp ); + } + + public function invalidConstructorArgumentsProvider() { + return array( + array( null, '' ), + array( true, '' ), + array( -1, '' ), + array( 0, null ), + array( 0, true ), + array( 0, 1 ), + array( 0, '20141231' ), + array( 0, '2014-12-31T00:00:00' ), + ); + } + + public function testGetRedirect() { + $redirect = $this->newRedirect(); + $instance = new RedirectRevision( $redirect ); + $this->assertSame( $redirect, $instance->getRedirect() ); + } + + public function testGetRevisionId() { + $instance = new RedirectRevision( $this->newRedirect() ); + $this->assertSame( 0, $instance->getRevisionId() ); + } + + public function testGetTimestamp() { + $instance = new RedirectRevision( $this->newRedirect() ); + $this->assertSame( '', $instance->getTimestamp() ); + } + +} diff --git a/extensions/Wikibase/repo/i18n/de.json b/extensions/Wikibase/repo/i18n/de.json index 7dc6563..a078492 100644 --- a/extensions/Wikibase/repo/i18n/de.json +++ b/extensions/Wikibase/repo/i18n/de.json @@ -128,6 +128,7 @@ "wikibase-validator-label-conflict": "Die Eigenschaft $3 hat bereits die Bezeichnung „$1“, die dem Sprachcode $2 zugeordnet ist.", "wikibase-validator-label-with-description-conflict": "Das Datenobjekt $3 hat bereits die Bezeichnung „$1“, die dem Sprachcode $2 zugeordnet ist, verwendet den gleichen Beschreibungstext.", "wikibase-validator-label-no-entityid": "Die Bezeichnung darf keine gültige Objektkennung sein.", + "wikibase-validator-no-such-media": "Die Datei „$1“ ist nicht auf [https://commons.wikimedia.org/ Wikimedia Commons] vorhanden.", "wikibase-wikibaserepopage-not-itemid": "„$1“ ist keine gültige Objektkennung.", "wikibase-wikibaserepopage-invalid-langcode": "Der Sprachcode „$1“ ist unbekannt. Bitte nutze einen gültigen Sprachcode, wie bspw. „de“.", "wikibase-wikibaserepopage-invalid-id": "Die Kennung „$1“ ist unbekannt. Bitte nutze eine gültige Objektkennung.", diff --git a/extensions/Wikibase/repo/i18n/fr.json b/extensions/Wikibase/repo/i18n/fr.json index 74b5dc7..732561e 100644 --- a/extensions/Wikibase/repo/i18n/fr.json +++ b/extensions/Wikibase/repo/i18n/fr.json @@ -147,6 +147,7 @@ "wikibase-validator-label-conflict": "La propriété $3 a déjà un libellé « $1 » associé au code de langue $2.", "wikibase-validator-label-with-description-conflict": "L’élément $3 a déjà le libellé « $1 » associé au code de langue $2, en utilisant exactement le même texte descriptif.", "wikibase-validator-label-no-entityid": "Le libellé ne doit pas être un id d’entité valide.", + "wikibase-validator-no-such-media": "Le fichier \"$1\" n'existe pas sur [https://commons.wikimedia.org/Wikimedia Commons].", "wikibase-wikibaserepopage-not-itemid": "« $1 » n’est pas un identifiant (''id'') d’élément valide.", "wikibase-wikibaserepopage-invalid-langcode": "Le code de langue « $1 » n’est pas connu. Veuillez utiliser un code de langue connu du système, comme « fr ».", "wikibase-wikibaserepopage-invalid-id": "L’ID « $1 » est inconnu du système. Veuillez utiliser un ID d’entité valide.", @@ -410,6 +411,7 @@ "apihelp-wbformatvalue-param-datatype": "Le type de donnée de la valeur. C’est distinct du type de la valeur", "apihelp-wbformatvalue-param-datavalue": "La donnée à mettre en forme. Ce doit être une sérialisation JSON d’un objet DataValue.", "apihelp-wbformatvalue-param-options": "Les options que devrait utiliser la mise en forme. Fournies sous forme d’objet JSON.", + "apihelp-wbformatvalue-param-property": "Le propriété id auquel la valeur de donnée appartient, doit être utilisé à la place du paramètre de type de la donnée.", "apihelp-wbformatvalue-example-1": "Mettre en forme une valeur de chaîne simple.", "apihelp-wbformatvalue-example-2": "Mettre en forme une valeur de chaîne sous forme d’une URL en HTML.", "apihelp-wbgetclaims-description": "Obtenir les réclamations de Wikibase.", diff --git a/extensions/Wikibase/repo/i18n/he.json b/extensions/Wikibase/repo/i18n/he.json index 670658f..57c5e4a 100644 --- a/extensions/Wikibase/repo/i18n/he.json +++ b/extensions/Wikibase/repo/i18n/he.json @@ -113,6 +113,7 @@ "wikibase-validator-label-conflict": "למאפיין $3 כבר יש תווית \"$1\" שמשויכת לקוד השפה $2.", "wikibase-validator-label-with-description-conflict": "לפיט $3 כבר יש תווית \"$1\" שמשויכת לקוד השפה $2, שמשתמשת באותו הטקסט בתיאור.", "wikibase-validator-label-no-entityid": "התווית הזאת אינה צריכה להיות מזהה ישות תקין.", + "wikibase-validator-no-such-media": "הקובץ \"$1\" אינו קיים ב־[https://commons.wikimedia.org/ ויקישיתוף]", "wikibase-wikibaserepopage-not-itemid": "\"$1\" אינו מזהה פריט תקין.", "wikibase-wikibaserepopage-invalid-langcode": "קוד השפה \"$1\" אינו ידוע. נא להשתמש בקוד שפה שידוע למערכת, כגון \"en\".", "wikibase-wikibaserepopage-invalid-id": "המזהה \"$1\" אינו ידוע למערכת. נא להשתמש במזהה ישות תקין.", @@ -376,6 +377,7 @@ "apihelp-wbformatvalue-param-datatype": "סוג הנתונים של הערך. זה שונה מסוג הערך", "apihelp-wbformatvalue-param-datavalue": "הנתונים שצריך לעצב. זו צריכה להיות הסדרת JSON של עצם DataValue.", "apihelp-wbformatvalue-param-options": "האפשרויות שהמעצב צריך להשתמש בהן. מסופק בתור עצם JSON.", + "apihelp-wbformatvalue-param-property": "מזהה המאפיין שערך הנתונים שייך אליו, אמור לשמש במקום פרמטר סוג הנתונים.", "apihelp-wbformatvalue-example-1": "עיצוב ערך מחרוזת פשוט.", "apihelp-wbformatvalue-example-2": "עיצוב ערך מחרוזת בתור URL ל־HTML", "apihelp-wbgetclaims-description": "קבלת טענות ויקיבייס.", diff --git a/extensions/Wikibase/repo/i18n/it.json b/extensions/Wikibase/repo/i18n/it.json index 48c17b9..5ee33fe 100644 --- a/extensions/Wikibase/repo/i18n/it.json +++ b/extensions/Wikibase/repo/i18n/it.json @@ -120,6 +120,7 @@ "wikibase-validator-label-conflict": "La proprietà $3 ha già l'etichetta \"$1\" associata con il codice lingua $2.", "wikibase-validator-label-with-description-conflict": "L'elemento $3 ha già l'etichetta \"$1\" associata con il codice lingua $2, e usano la stessa descrizione.", "wikibase-validator-label-no-entityid": "L'etichetta non può essere un ID entità valido.", + "wikibase-validator-no-such-media": "Il file \"$1\" non esiste su [https://commons.wikimedia.org/ Wikimedia Commons].", "wikibase-wikibaserepopage-not-itemid": "\"$1\" non è un ID elemento valido.", "wikibase-wikibaserepopage-invalid-langcode": "Il codice di lingua \"$1\" è sconosciuto. Utilizza un codice di lingua conosciuto al sistema, ad esempio \"it\".", "wikibase-wikibaserepopage-invalid-id": "L'ID \"$1\" è sconosciuto al sistema. Utilizza un ID di entità valido.", @@ -355,6 +356,7 @@ "apihelp-wbcreateredirect-example-1": "Trasforma Q11 in un redirect a Q12", "apihelp-wbeditentity-example-11": "Aggiunge un'etichetta senza sovrascrivere se già presente", "apihelp-wbeditentity-example-12": "Rimuovi un'etichetta", + "apihelp-wbformatvalue-param-property": "ID proprietà a cui appartiene il valore dei dati, dovrebbe essere usato al posto del parametro tipo di dati.", "apihelp-wbgetclaims-description": "Ottiene asserzioni Wikibase.", "apihelp-wbgetclaims-example-1": "Ottieni asserzioni per l'elemento con ID Q42", "apihelp-wbgetclaims-example-2": "Ottieni asserzioni per l'elemento con ID Q42 e proprietà con ID P2", diff --git a/extensions/Wikibase/repo/i18n/lki.json b/extensions/Wikibase/repo/i18n/lki.json index 991fba9..41ccccb 100644 --- a/extensions/Wikibase/repo/i18n/lki.json +++ b/extensions/Wikibase/repo/i18n/lki.json @@ -86,6 +86,7 @@ "apihelp-wbeditentity-example-7": "توضیحاتی برای nb قرار میدهد و در صورتی که قبلا یکی وجود داشته باشد دوباره روی آن مینویسد", "apihelp-wblinktitles-param-tosite": "شناسۀ وبگاهی که صفحه در آن وجود دارد.\nهمراه با «بهعنوان» استفاده کنید تا تشکیل یک پیونداد کامل دهد.", "apihelp-wblinktitles-param-totitle": "عنوان صفحه که با آن مطابقت دارد.\nهمراه با «بهوبگاه» استفاده کنید تا تشکیل یک پیونداد کامل دهد.", + "apihelp-wbsearchentities-example-3": "مِنِی کردن ئەرا \"alphabet\" ئەانگلیسی ئەرا نوع خصوصیت", "apihelp-wbsetdescription-description": "برای یک جوهره ویکیبیس که منفرد باشد یک توضیحات قرار میدهد", "apihelp-wbsetdescription-param-title": "عنوان صفحه که با آن مطابقت دارد.\nهمراه با «وبگاه» استفاده کنید تا تشکیل یک پیونداد کامل دهد.", "apihelp-wbsetdescription-param-language": "زوون توضیحةل", diff --git a/extensions/Wikibase/repo/i18n/pl.json b/extensions/Wikibase/repo/i18n/pl.json index 5d2574c..1b1dae2 100644 --- a/extensions/Wikibase/repo/i18n/pl.json +++ b/extensions/Wikibase/repo/i18n/pl.json @@ -116,6 +116,7 @@ "wikibase-validator-sitelink-conflict": "Odnośnik do strony $1 jest już wykorzystywany przez element $2. Możesz usunąć go z $2, jeśli nie jest z nim związany, lub połączyć elementy, jeśli odnoszą się dokładnie do tego samego tematu.", "wikibase-validator-label-conflict": "Właściwość $3 ma już etykietę „$1” powiązaną z językiem o kodzie $2.", "wikibase-validator-label-with-description-conflict": "Etykietę \"$1\" z takim samym opisem dla języka o kodzie $2 ma już element $3", + "wikibase-validator-no-such-media": "Plik „$1” nie istnieje w [https://commons.wikimedia.org/ Wikimedia Commons].", "wikibase-wikibaserepopage-invalid-langcode": "Kod języka „$1” jest nieznany. Użyj kodu języka, który jest znany w systemie, na przykład „pl”.", "wikibase-wikibaserepopage-invalid-id": "Identyfikator „$1” jest nieznany w systemie. Użyj prawidłowego identyfikatora encji.", "wikibase-wikibaserepopage-unresolved-redirect": "$1 jest przekierowaniem.", diff --git a/extensions/Wikibase/repo/includes/content/EntityHandler.php b/extensions/Wikibase/repo/includes/content/EntityHandler.php index 051852c..ba26749 100644 --- a/extensions/Wikibase/repo/includes/content/EntityHandler.php +++ b/extensions/Wikibase/repo/includes/content/EntityHandler.php @@ -393,13 +393,7 @@ public function unserializeContent( $blob, $format = null ) { $redirect = $this->contentCodec->decodeRedirect( $blob, $format ); - if ( $redirect ) { - if ( $redirect === null ) { - throw new MWContentSerializationException( - 'The serialized data contains neither an Entity nor an EntityRedirect!' - ); - } - + if ( $redirect !== null ) { return $this->makeEntityRedirectContent( $redirect ); } else { $holder = new DeferredDecodingEntityHolder( diff --git a/extensions/Wikibase/repo/includes/specials/SpecialEntitiesWithoutPage.php b/extensions/Wikibase/repo/includes/specials/SpecialEntitiesWithoutPage.php index 5ab2e39..a5db532 100644 --- a/extensions/Wikibase/repo/includes/specials/SpecialEntitiesWithoutPage.php +++ b/extensions/Wikibase/repo/includes/specials/SpecialEntitiesWithoutPage.php @@ -34,7 +34,7 @@ private $type = null; /** - * @var string + * @var string One of the TermIndexEntry::TYPE_... constants. */ private $termType; @@ -58,6 +58,14 @@ */ private $termsLanguages; + /** + * @param string $name + * @param string $termType One of the TermIndexEntry::TYPE_... constants. + * @param string $legendMsg + * @param EntityPerPage $entityPerPage + * @param EntityFactory $entityFactory + * @param ContentLanguages $termsLanguages + */ public function __construct( $name, $termType, diff --git a/extensions/Wikibase/repo/tests/phpunit/includes/CachingCommonsMediaFileNameLookupTest.php b/extensions/Wikibase/repo/tests/phpunit/includes/CachingCommonsMediaFileNameLookupTest.php index 99a5a42..f801935 100644 --- a/extensions/Wikibase/repo/tests/phpunit/includes/CachingCommonsMediaFileNameLookupTest.php +++ b/extensions/Wikibase/repo/tests/phpunit/includes/CachingCommonsMediaFileNameLookupTest.php @@ -1,13 +1,13 @@ <?php -namespace Wikibase\Test\Repo\Validators; +namespace Wikibase\Test\Repo; use HashBagOStuff; use PHPUnit_Framework_MockObject_Matcher_Invocation; use Wikibase\Repo\CachingCommonsMediaFileNameLookup; /** - * @covers Wikibase\Repo\Validators\CachingCommonsMediaFileNameLookupTest + * @covers Wikibase\Repo\CachingCommonsMediaFileNameLookup * * @license GPL 2+ * diff --git a/extensions/Wikibase/repo/tests/phpunit/includes/DataTypeSelectorTest.php b/extensions/Wikibase/repo/tests/phpunit/includes/DataTypeSelectorTest.php index d261b0a..d914cab 100644 --- a/extensions/Wikibase/repo/tests/phpunit/includes/DataTypeSelectorTest.php +++ b/extensions/Wikibase/repo/tests/phpunit/includes/DataTypeSelectorTest.php @@ -30,6 +30,24 @@ } /** + * @dataProvider invalidConstructorArgumentsProvider + */ + public function testConstructorThrowsException( array $dataTypes, $languageCode ) { + $this->setExpectedException( 'MWException' ); + new DataTypeSelector( $dataTypes, $languageCode ); + } + + public function invalidConstructorArgumentsProvider() { + return array( + array( array(), null ), + array( array(), false ), + array( array( null ), '' ), + array( array( false ), '' ), + array( array( '' ), '' ), + ); + } + + /** * @dataProvider getHtmlProvider */ public function testGetHtml( array $dataTypes, $selectedTypeId, $expected ) { diff --git a/extensions/Wikibase/repo/tests/phpunit/includes/content/EntityHandlerTest.php b/extensions/Wikibase/repo/tests/phpunit/includes/content/EntityHandlerTest.php index 2fac6a4..a6f4930 100644 --- a/extensions/Wikibase/repo/tests/phpunit/includes/content/EntityHandlerTest.php +++ b/extensions/Wikibase/repo/tests/phpunit/includes/content/EntityHandlerTest.php @@ -18,6 +18,7 @@ use Wikibase\Repo\Content\EntityHandler; use Wikibase\Repo\WikibaseRepo; use Wikibase\SettingsArray; +use WikitextContent; /** * @covers Wikibase\Repo\Content\EntityHandler @@ -138,6 +139,13 @@ $this->assertTrue( $specialPageName === null || is_string( $specialPageName ) ); } + public function testGivenNonEntityContent_serializeContentThrowsException() { + $handler = $this->getHandler(); + $content = new WikitextContent( '' ); + $this->setExpectedException( 'InvalidArgumentException' ); + $handler->serializeContent( $content ); + } + /** * @dataProvider contentProvider * @param EntityContent $content @@ -162,6 +170,10 @@ $this->assertFalse( $handler->canBeUsedOn( Title::makeTitle( NS_MEDIAWIKI, "Foo" ) ), 'It should be impossible to create an entity outside the respective entity namespace!' ); + } + + public function testIsParserCacheSupported() { + $this->assertTrue( $this->getHandler()->isParserCacheSupported() ); } public function testGetPageLanguage() { @@ -421,6 +433,11 @@ $this->assertEquals( $expected, $actual ); } + public function testGetLegacyExportFormatDetector() { + $detector = $this->getHandler()->getLegacyExportFormatDetector(); + $this->assertInternalType( 'callable', $detector ); + } + public function forCreationParamProvider() { return array( array( true ), @@ -443,6 +460,11 @@ } } + public function testGetValidationErrorLocalizer() { + $localizer = $this->getHandler()->getValidationErrorLocalizer(); + $this->assertInstanceOf( 'Wikibase\Repo\Validators\ValidatorErrorLocalizer', $localizer ); + } + public function testMakeParserOptions() { $handler = $this->getHandler(); diff --git a/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectValueRdfBuilderTest.php b/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectUriRdfBuilderTest.php similarity index 89% rename from extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectValueRdfBuilderTest.php rename to extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectUriRdfBuilderTest.php index 16d0694..faf2fe1 100644 --- a/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectValueRdfBuilderTest.php +++ b/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectUriRdfBuilderTest.php @@ -9,7 +9,7 @@ use Wikibase\DataModel\Snak\PropertyValueSnak; /** - * @covers Wikibase\Rdf\Values\ObjectValueRdfBuilder + * @covers Wikibase\Rdf\Values\ObjectUriRdfBuilder * * @group Wikibase * @group WikibaseRepo @@ -18,7 +18,7 @@ * @licence GNU GPL v2+ * @author Daniel Kinzler */ -class ObjectValueRdfBuilderTest extends \PHPUnit_Framework_TestCase { +class ObjectUriRdfBuilderTest extends \PHPUnit_Framework_TestCase { public function testAddValue() { $builder = new ObjectUriRdfBuilder(); diff --git a/extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialEntitiesWithoutPageTest.php b/extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialEntitiesWithoutPageTest.php index 2082f41..39a7b59 100644 --- a/extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialEntitiesWithoutPageTest.php +++ b/extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialEntitiesWithoutPageTest.php @@ -2,6 +2,7 @@ namespace Wikibase\Test; +use FauxRequest; use SpecialPageTestBase; use Wikibase\Repo\Specials\SpecialEntitiesWithoutPage; use Wikibase\Repo\WikibaseRepo; @@ -23,6 +24,7 @@ * @licence GNU GPL v2+ * @author Bene* < benestar.wikime...@googlemail.com > * @author Adam Shorland + * @author Thiemo Mättig */ class SpecialEntitiesWithoutPageTest extends SpecialPageTestBase { @@ -30,9 +32,8 @@ $wikibaseRepo = WikibaseRepo::getDefaultInstance(); $termsLanguages = $this->getMock( 'Wikibase\Lib\ContentLanguages' ); - $termsLanguages->expects( $this->any() ) - ->method( 'getLanguages' ) - ->will( $this->returnValue( array( 'acceptedlanguage' ) ) ); + $termsLanguages->expects( $this->never() ) + ->method( 'getLanguages' ); $termsLanguages->expects( $this->any() ) ->method( 'hasLanguage' ) ->will( $this->returnCallback( function( $code ) { @@ -49,29 +50,73 @@ ); } - public function testExecute() { - $matchers['language'] = array( - 'tag' => 'input', - 'attributes' => array( - 'id' => 'wb-entitieswithoutpage-language', - 'name' => 'language', - ) ); + public function testForm() { + list( $html, ) = $this->executeSpecialPage( '', null, 'qqx' ); - $matchers['submit'] = array( - 'tag' => 'button', - 'attributes' => array( - 'id' => 'wikibase-entitieswithoutpage-submit', - 'type' => 'submit', - 'name' => '', - ) ); + $this->assertContains( '(wikibase-entitieswithoutlabel-label-language)', $html ); + $this->assertContains( 'name="language"', $html ); + $this->assertContains( 'id="wb-entitieswithoutpage-language"', $html ); + $this->assertContains( 'wb-language-suggester', $html ); - list( $output, ) = $this->executeSpecialPage( '' ); - foreach ( $matchers as $key => $matcher ) { - $this->assertTag( $matcher, $output, "Failed to match html output with tag '{$key}''" ); - } + $this->assertContains( '(wikibase-entitieswithoutlabel-label-type)', $html ); + $this->assertContains( 'name="type"', $html ); + $this->assertContains( 'id="wb-entitieswithoutpage-type"', $html ); + $this->assertContains( '(wikibase-entitieswithoutlabel-label-alltypes)', $html ); - list( $output, ) = $this->executeSpecialPage( 'acceptedlanguage' ); - $this->assertContains( 'value="acceptedlanguage"', $output ); + $this->assertContains( '(wikibase-entitieswithoutlabel-submit)', $html ); + $this->assertContains( 'id="wikibase-entitieswithoutpage-submit"', $html ); + } + + public function testRequestParameters() { + $request = new FauxRequest( array( + 'language' => '<LANGUAGE>', + 'type' => '<TYPE>', + ) ); + list( $html, ) = $this->executeSpecialPage( '', $request ); + + $this->assertContains( '<LANGUAGE>', $html ); + $this->assertContains( '<TYPE>', $html ); + $this->assertNotContains( '<LANGUAGE>', $html ); + $this->assertNotContains( '<TYPE>', $html ); + $this->assertNotContains( '&', $html, 'no double escaping' ); + } + + public function testSubPageParts() { + list( $html, ) = $this->executeSpecialPage( '<LANGUAGE>/<TYPE>' ); + + $this->assertContains( '<LANGUAGE>', $html ); + $this->assertContains( '<TYPE>', $html ); + } + + public function testNoLanguage() { + list( $html, ) = $this->executeSpecialPage( '', null, 'qqx' ); + + $this->assertNotContains( 'class="mw-spcontent"', $html ); + } + + public function testInvalidLanguage() { + list( $html, ) = $this->executeSpecialPage( '<INVALID>', null, 'qqx' ); + + $this->assertContains( + '(wikibase-entitieswithoutlabel-invalid-language: <INVALID>)', + $html + ); + } + + public function testValidLanguage() { + list( $html, ) = $this->executeSpecialPage( 'acceptedlanguage', null, 'qqx' ); + + $this->assertContains( 'value="acceptedlanguage"', $html ); + $this->assertContains( 'class="mw-spcontent"', $html ); + } + + public function testInvalidType() { + list( $html, ) = $this->executeSpecialPage( 'acceptedlanguage/<INVALID>', null, 'qqx' ); + + $this->assertContains( + '(wikibase-entitieswithoutlabel-invalid-type: <INVALID>)', + $html + ); } } diff --git a/extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php b/extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php index da84c4b..52a81be 100644 --- a/extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php +++ b/extensions/Wikibase/repo/tests/phpunit/includes/specials/SpecialItemDisambiguationTest.php @@ -27,6 +27,7 @@ * @licence GNU GPL v2+ * @author Daniel Kinzler * @author Adam Shorland + * @author Thiemo Mättig */ class SpecialItemDisambiguationTest extends SpecialPageTestBase { @@ -140,80 +141,73 @@ return $page; } - public function requestProvider() { - $cases = array(); - $matchers = array(); + public function testForm() { + list( $html, ) = $this->executeSpecialPage( '', null, 'qqx' ); - $matchers['language'] = array( - 'tag' => 'input', - 'attributes' => array( - 'id' => 'wb-itemdisambiguation-languagename', - 'name' => 'language', - ) ); - $matchers['label'] = array( - 'tag' => 'input', - 'attributes' => array( - 'id' => 'labelname', - 'name' => 'label', - ) ); - $matchers['submit'] = array( - 'tag' => 'button', - 'attributes' => array( - 'id' => 'wb-itembytitle-submit', - 'type' => 'submit', - 'name' => '', - ) ); + $this->assertContains( '(wikibase-itemdisambiguation-lookup-language)', $html ); + $this->assertContains( 'name="language"', $html ); + $this->assertContains( 'id="wb-itemdisambiguation-languagename"', $html ); + $this->assertContains( 'wb-language-suggester', $html ); - $cases['empty'] = array( '', array(), null, $matchers ); + $this->assertContains( '(wikibase-itemdisambiguation-lookup-label)', $html ); + $this->assertContains( 'name="label"', $html ); + $this->assertContains( 'id="labelname"', $html ); - // fr/Foo - $matchers['language']['attributes']['value'] = 'fr'; - $matchers['label']['attributes']['value'] = 'Foo'; - $matchers['matches'] = array( - 'tag' => 'span', - 'content' => 'ItemDisambiguationHTML-2', - 'attributes' => array( 'class' => 'mock-span' ), - ); - $cases['fr/Foo'] = array( 'fr/Foo', array(), 'en', $matchers ); - - return $cases; + $this->assertContains( '(wikibase-itemdisambiguation-submit)', $html ); + $this->assertContains( 'id="wb-itembytitle-submit"', $html ); } - /** - * @dataProvider requestProvider - */ - public function testExecute( $sub, array $data, $languageCode, array $matchers ) { - $request = new FauxRequest( $data ); + public function testRequestParameters() { + $request = new FauxRequest( array( + 'language' => '<LANGUAGE>', + 'label' => '<LABEL>', + ) ); + list( $html, ) = $this->executeSpecialPage( '', $request ); - list( $output, ) = $this->executeSpecialPage( $sub, $request, $languageCode ); - foreach ( $matchers as $key => $matcher ) { - $this->assertTag( $matcher, $output, "Failed to match html output with tag '{$key}''" ); - } + $this->assertContains( '<LANGUAGE>', $html ); + $this->assertContains( '<LABEL>', $html ); + $this->assertNotContains( '<LANGUAGE>', $html ); + $this->assertNotContains( '<LABEL>', $html ); + $this->assertNotContains( '&', $html, 'no double escaping' ); } - /** - * @dataProvider execute_withInvalidLanguageCodeProvider - */ - public function testExecute_withInvalidLanguageCode( $userLanguageCode, $searchLanguageCode ) { - $data = array( - 'language' => $searchLanguageCode, - 'label' => 'Foo' - ); + public function testSubPageParts() { + list( $html, ) = $this->executeSpecialPage( '<LANGUAGE>/<LABEL>' ); - list( $output, ) = $this->executeSpecialPage( - '', - new FauxRequest( $data ), - $userLanguageCode - ); - - $this->assertContains( 'wikibase-itemdisambiguation-invalid-langcode', $output ); + $this->assertContains( '<LANGUAGE>', $html ); + $this->assertContains( '<LABEL>', $html ); } - public function execute_withInvalidLanguageCodeProvider() { - return array( - array( 'qqx', '<omg invalid language>' ), - array( 'qqx', 'ooooooooo' ) - ); + public function testNoLanguage() { + list( $html, ) = $this->executeSpecialPage( '', null, 'qqx' ); + + $this->assertNotContains( 'mock-span', $html ); + } + + public function testInvalidLanguage() { + list( $html, ) = $this->executeSpecialPage( 'invalid/Foo', null, 'qqx' ); + + $this->assertContains( '(wikibase-itemdisambiguation-invalid-langcode)', $html ); + } + + public function testNoLabel() { + list( $html, ) = $this->executeSpecialPage( 'fr', null, 'qqx' ); + + $this->assertNotContains( 'mock-span', $html ); + } + + public function testUnknownLabel() { + list( $html, ) = $this->executeSpecialPage( 'fr/Unknown', null, 'qqx' ); + + $this->assertContains( 'value="fr"', $html ); + $this->assertContains( 'value="Unknown"', $html ); + $this->assertContains( '(wikibase-itemdisambiguation-nothing-found)', $html ); + } + + public function testKnownLabel() { + list( $html, ) = $this->executeSpecialPage( 'fr/Foo', null, 'qqx' ); + + $this->assertContains( '<span class="mock-span" >ItemDisambiguationHTML-2</span>', $html ); } } diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index d1f346f..6319099 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -832,10 +832,11 @@ '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\\Tests\\DataTypeDefinitionsTest' => $baseDir . '/extensions/Wikibase/lib/tests/phpunit/DataTypeDefinitionsTest.php', + 'Wikibase\\Lib\\Tests\\FieldPropertyInfoProviderTest' => $baseDir . '/extensions/Wikibase/lib/tests/phpunit/store/FieldPropertyInfoProviderTest.php', 'Wikibase\\Lib\\Tests\\Modules\\RepoAccessModuleTest' => $baseDir . '/extensions/Wikibase/lib/tests/phpunit/includes/modules/RepoAccessModuleTest.php', 'Wikibase\\Lib\\Tests\\Modules\\SitesModuleTest' => $baseDir . '/extensions/Wikibase/lib/tests/phpunit/includes/modules/SitesModuleTest.php', 'Wikibase\\Lib\\Tests\\Serialization\\CallbackFactoryTest' => $baseDir . '/extensions/Wikibase/lib/tests/phpunit/includes/serialization/CallbackFactoryTest.php', - 'Wikibase\\Lib\\Tests\\Store\\FieldPropertyInfoProviderTest' => $baseDir . '/extensions/Wikibase/lib/tests/phpunit/store/FieldPropertyInfoProviderTest.php', + 'Wikibase\\Lib\\Tests\\Store\\RedirectRevisionTest' => $baseDir . '/extensions/Wikibase/lib/tests/phpunit/store/RedirectRevisionTest.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', @@ -1308,7 +1309,7 @@ 'Wikibase\\Test\\Rdf\\HashDedupeBagTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/rdf/HashDedupeBagTest.php', 'Wikibase\\Test\\Rdf\\LiteralValueRdfBuilderTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/LiteralValueRdfBuilderTest.php', 'Wikibase\\Test\\Rdf\\MonolingualTextRdfBuilderTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/MonolingualTextRdfBuilderTest.php', - 'Wikibase\\Test\\Rdf\\ObjectValueRdfBuilderTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectValueRdfBuilderTest.php', + 'Wikibase\\Test\\Rdf\\ObjectUriRdfBuilderTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/ObjectUriRdfBuilderTest.php', 'Wikibase\\Test\\Rdf\\QuantityRdfBuilderTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/rdf/Values/QuantityRdfBuilderTest.php', 'Wikibase\\Test\\Rdf\\RdfBuilderTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/rdf/RdfBuilderTest.php', 'Wikibase\\Test\\Rdf\\RdfBuilderTestData' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/rdf/RdfBuilderTestData.php', @@ -1366,8 +1367,8 @@ 'Wikibase\\Test\\Repo\\Api\\StatementModificationHelperTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/api/StatementModificationHelperTest.php', 'Wikibase\\Test\\Repo\\Api\\TermTestHelper' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/api/TermTestHelper.php', 'Wikibase\\Test\\Repo\\Api\\WikibaseApiTestCase' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/api/WikibaseApiTestCase.php', + 'Wikibase\\Test\\Repo\\CachingCommonsMediaFileNameLookupTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/CachingCommonsMediaFileNameLookupTest.php', 'Wikibase\\Test\\Repo\\Validators\\AlternativeValidatorTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/Validators/AlternativeValidatorTest.php', - 'Wikibase\\Test\\Repo\\Validators\\CachingCommonsMediaFileNameLookupTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/CachingCommonsMediaFileNameLookupTest.php', 'Wikibase\\Test\\Repo\\Validators\\CommonsMediaExistsValidatorTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/Validators/CommonsMediaExistsValidatorTest.php', 'Wikibase\\Test\\Repo\\Validators\\CompositeEntityValidatorTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/Validators/CompositeEntityValidatorTest.php', 'Wikibase\\Test\\Repo\\Validators\\CompositeFingerprintValidatorTest' => $baseDir . '/extensions/Wikibase/repo/tests/phpunit/includes/Validators/CompositeFingerprintValidatorTest.php', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 2296a31..b6185d6 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -1236,12 +1236,12 @@ "source": { "type": "git", "url": "https://github.com/wikimedia/mediawiki-extensions-Wikibase.git", - "reference": "20a83bd7b45506722f93a332be6d07ca96cec058" + "reference": "ca2aefbf10b3ea6da8687193ceb216c87d709c77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/20a83bd7b45506722f93a332be6d07ca96cec058", - "reference": "20a83bd7b45506722f93a332be6d07ca96cec058", + "url": "https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/ca2aefbf10b3ea6da8687193ceb216c87d709c77", + "reference": "ca2aefbf10b3ea6da8687193ceb216c87d709c77", "shasum": "" }, "require": { @@ -1270,10 +1270,10 @@ "mediawiki/mediawiki": "<1.25" }, "require-dev": { - "jakub-onderka/php-parallel-lint": "0.9", + "jakub-onderka/php-parallel-lint": "0.9.2", "mediawiki/mediawiki-codesniffer": "0.4.0|0.5.0" }, - "time": "2016-01-05 05:20:28", + "time": "2016-01-06 00:30:13", "type": "mediawiki-extension", "installation-source": "dist", "autoload": { -- To view, visit https://gerrit.wikimedia.org/r/262699 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iff57db2cb59004919c84827c37912c8232db99a8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikidata Gerrit-Branch: master Gerrit-Owner: WikidataBuilder <wikidata-servi...@wikimedia.de> Gerrit-Reviewer: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Siebrand <siebr...@kitano.nl> Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits