WikidataBuilder has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/347340 )

Change subject: New Wikidata Build - 2017-04-10T10:00:01+0000
......................................................................

New Wikidata Build - 2017-04-10T10:00:01+0000

Change-Id: I8cdd7c860d17878c3e6d61c085c8a234e554f857
---
M composer.lock
M extensions/Wikibase/client/i18n/he.json
M extensions/Wikibase/client/i18n/lb.json
M extensions/Wikibase/client/i18n/tr.json
M 
extensions/Wikibase/client/tests/phpunit/includes/Changes/ChangeRunCoalescerTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/RunnerTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/StatementGroupRendererFactoryTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/Hooks/EditActionHookHandlerTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/Hooks/InfoActionHookHandlerTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/Hooks/ParserOutputUpdateHookHandlersTest.php
M extensions/Wikibase/lib/includes/Changes/ChangeRow.php
M extensions/Wikibase/lib/tests/phpunit/Changes/ChangeRowTest.php
M 
extensions/Wikibase/lib/tests/phpunit/Interactors/DispatchingTermSearchInteractorTest.php
M extensions/Wikibase/repo/i18n/hr.json
M extensions/Wikibase/repo/i18n/tr.json
M extensions/Wikibase/repo/includes/Api/EditEntity.php
M extensions/Wikibase/repo/includes/Content/EntityContentDiff.php
M extensions/Wikibase/repo/includes/Content/EntityHandler.php
M extensions/Wikibase/repo/includes/Rdf/RdfBuilder.php
M extensions/Wikibase/repo/tests/phpunit/includes/Api/EntitySearchHelperTest.php
M extensions/Wikibase/repo/tests/phpunit/includes/Api/ItemByTitleHelperTest.php
M extensions/Wikibase/repo/tests/phpunit/includes/ChangeOp/ChangeOpsTest.php
M 
extensions/Wikibase/repo/tests/phpunit/includes/Content/EntityContentDiffTest.php
M 
extensions/Wikibase/repo/tests/phpunit/includes/Diff/BasicEntityDiffVisualizerTest.php
M 
extensions/Wikibase/repo/tests/phpunit/includes/Modules/MediaWikiConfigModuleTest.php
M 
extensions/Wikibase/repo/tests/phpunit/includes/ParserOutput/ReferencedEntitiesDataUpdaterTest.php
M 
extensions/Wikibase/repo/tests/phpunit/includes/Store/Sql/ItemsPerSiteBuilderTest.php
M vendor/composer/installed.json
29 files changed, 46 insertions(+), 94 deletions(-)


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

diff --git a/composer.lock b/composer.lock
index 216b516..fa1a104 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1557,12 +1557,12 @@
             "source": {
                 "type": "git",
                 "url": 
"https://github.com/wikimedia/mediawiki-extensions-Wikibase.git";,
-                "reference": "7354026232186c7d31e7332def12475dd6451c10"
+                "reference": "45906a0fc16892da3a12c1dbed19b4d655816c85"
             },
             "dist": {
                 "type": "zip",
-                "url": 
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/7354026232186c7d31e7332def12475dd6451c10";,
-                "reference": "7354026232186c7d31e7332def12475dd6451c10",
+                "url": 
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/45906a0fc16892da3a12c1dbed19b4d655816c85";,
+                "reference": "45906a0fc16892da3a12c1dbed19b4d655816c85",
                 "shasum": ""
             },
             "require": {
@@ -1636,7 +1636,7 @@
                 "wikibaserepo",
                 "wikidata"
             ],
-            "time": "2017-04-08 09:30:25"
+            "time": "2017-04-10 09:37:59"
         },
         {
             "name": "wikibase/wikimedia-badges",
diff --git a/extensions/Wikibase/client/i18n/he.json 
b/extensions/Wikibase/client/i18n/he.json
index a6394e7..30bdd87 100644
--- a/extensions/Wikibase/client/i18n/he.json
+++ b/extensions/Wikibase/client/i18n/he.json
@@ -81,6 +81,9 @@
        "wikibase-rcfilters-hide-wikibase-conflicts-ores-global": "מסנן 
\"עריכות {{WBREPONAME}}\" מתנגש עם אחד ממסנני \"איכות תרומות\" או \"כוונת 
משתמש\". חיזויי איכות וכוונה אינם זמינים לעריכות {{WBREPONAME}}. המסננים 
המתנגשים מסומנים באזור המסננים הפעילים לעיל.",
        "wikibase-rcfilters-damaging-conflicts-hide-wikibase": "חיזויי איכות 
תרומות אינם זמינים לסוגים מסוימים של שינויים, אז המסנן הזה מתנגש עם 
{{PLURAL:$2|מסנן סוג השינוי הבא|מסנני סוג השינוי הבאים}}: $1",
        "wikibase-rcfilters-goodfaith-conflicts-hide-wikibase": "חיזויי כוונת 
משתמש אינם זמינים לסוגים מסוימים של שינויים, אז המסנן הזה מתנגש עם 
{{PLURAL:$2|מסנן סוג השינוי הבא|מסנני סוג השינוי הבאים}}: $1",
+       "wikibase-rcfilters-hide-wikibase-conflicts-major-global": "כל העריכות 
ל{{GRAMMAR:תחילית|{{WBREPONAME}}}} מסומנות בתור \"משניות\", כך שמסנן \"עריכות 
{{WBREPONAME}}\" מתנגש עם מסנן \"עריכות שאינן משניות\".",
+       "wikibase-rcfilters-major-conflicts-hide-wikibase": "כל העריכות 
ל{{GRAMMAR:תחילית|{{WBREPONAME}}}} מסומנות בתור \"משניות\", כך שמסנן \"עריכות 
{{WBREPONAME}}\" מתנגש עם מסנן \"עריכות שאינן משניות\".",
+       "wikibase-rcfilters-hide-wikibase-conflicts-major": "כל העריכות 
ל{{GRAMMAR:תחילית|{{WBREPONAME}}}} מסומנות בתור \"משניות\", כך שמסנן \"עריכות 
{{WBREPONAME}}\" מתנגש עם מסנן \"עריכות שאינן משניות\".",
        "wikibase-replicationnote": "יש לשים לב שייתכן שייקח מספר דקות עד 
שהשינויים יוצגו בכל אתרי הוויקי.",
        "wikibase-watchlist-show-changes-pref": "הצגת עריכות שנעשו 
ב{{GRAMMAR:תחילית|{{WBREPONAME}}}} ברשימת המעקב",
        "wikibase-error-deserialize-error": "הוצאת נתונים מהסדרה לא עבדה.",
diff --git a/extensions/Wikibase/client/i18n/lb.json 
b/extensions/Wikibase/client/i18n/lb.json
index ae612e1..6373fe5 100644
--- a/extensions/Wikibase/client/i18n/lb.json
+++ b/extensions/Wikibase/client/i18n/lb.json
@@ -48,6 +48,7 @@
        "wikibase-rc-wikibase-edit-title": "{{WBREPONAME}}-Ännerung",
        "wikibase-rcfilters-hide-wikibase-label": "{{WBREPONAME}}-Ännerungen",
        "wikibase-rcfilters-hide-wikibase-conflicts-major-global": "All 
{{WBREPONAME}}-Ännerunge sinn als \"kleng\" markéiert, esou ass de Filter 
{{WBREPONAME}}-Ännerunge a Konflikt mam Filter \"Keng kleng Ännerungen\".",
+       "wikibase-rcfilters-hide-wikibase-conflicts-major": "All 
{{WBREPONAME}}-Ännerunge sinn als \"kleng\" markéiert, esou ass de Filter 
{{WBREPONAME}}-Ännerunge a Konflikt mam Filter \"Keng kleng Ännerungen\".",
        "wikibase-replicationnote": "Denkt w.e.g. dorun datt et e puer Minutten 
dauere ka bis d'Ännerungen op alle Wikien ze gesi sinn.",
        "wikibase-watchlist-show-changes-pref": "{{WBREPONAME}}-Ännerungen an 
Ärer Iwwerwaachungslëscht weisen",
        "wikibase-error-invalid-entity-id": "D'ID déi Dir aginn hutt ass am 
System net bekannt. Benotzt w.e.g. en valabel ID.",
diff --git a/extensions/Wikibase/client/i18n/tr.json 
b/extensions/Wikibase/client/i18n/tr.json
index a259d9f..d50eda2 100644
--- a/extensions/Wikibase/client/i18n/tr.json
+++ b/extensions/Wikibase/client/i18n/tr.json
@@ -11,7 +11,8 @@
                        "KorkmazO",
                        "HakanIST",
                        "Alpkant",
-                       "Incelemeelemani"
+                       "Incelemeelemani",
+                       "Vito Genovese"
                ]
        },
        "tooltip-t-wikibase": "Veri havuzundaki ilgili ögeye bağlantı",
@@ -40,7 +41,7 @@
        "wikibase-rc-hide-wikidata-show": "göster",
        "wikibase-rc-show-wikidata-pref": "{{WBREPONAME}} değişikliklerini son 
değişikliklerde göster",
        "wikibase-rc-wikibase-edit-letter": "D",
-       "wikibase-rc-wikibase-edit-title": "{{WBREPONAME}} değişikliği",
+       "wikibase-rc-wikibase-edit-title": "{{WBREPONAME}} düzenlemesi",
        "wikibase-watchlist-show-changes-pref": "İzleme listemde {{WBREPONAME}} 
değişikliklerini göster",
        "unconnectedpages": "Öğelerine bağlanmamış sayfalar",
        "wikibase-unconnectedpages-submit": "Sayfaları göster",
diff --git 
a/extensions/Wikibase/client/tests/phpunit/includes/Changes/ChangeRunCoalescerTest.php
 
b/extensions/Wikibase/client/tests/phpunit/includes/Changes/ChangeRunCoalescerTest.php
index 2bc508d..304462e 100644
--- 
a/extensions/Wikibase/client/tests/phpunit/includes/Changes/ChangeRunCoalescerTest.php
+++ 
b/extensions/Wikibase/client/tests/phpunit/includes/Changes/ChangeRunCoalescerTest.php
@@ -120,7 +120,7 @@
                }
 
                $diff = $this->makeDiff( $values['object_id'], 
$values['info']['metadata']['parent_id'], $values[ 'revision_id' ] );
-               $values['info'] = serialize( $values['info'] );
+               $values['info'] = json_encode( $values['info'] );
 
                if ( $values['type'] === 'wikibase-item~add' || $values['type'] 
=== 'wikibase-item~update' ) {
                        $change = new ItemChange( $values );
diff --git 
a/extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/RunnerTest.php
 
b/extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/RunnerTest.php
index 20745a4..1913e69 100644
--- 
a/extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/RunnerTest.php
+++ 
b/extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/RunnerTest.php
@@ -227,8 +227,7 @@
         * @return SiteLinkLookup
         */
        private function getSiteLinkLookup( ItemId $itemId ) {
-               $siteLinkLookup = $this->getMockBuilder( SiteLinkLookup::class )
-                       ->getMock();
+               $siteLinkLookup = $this->getMock( SiteLinkLookup::class );
 
                $siteLinkLookup->expects( $this->once() )
                        ->method( 'getItemIdForLink' )
@@ -293,9 +292,7 @@
         * @return StatementGroupRenderer
         */
        private function getRenderer( EntityId $entityId, $propertyLabelOrId ) {
-               $renderer = $this->getMockBuilder( 
StatementGroupRenderer::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $renderer = $this->getMock( StatementGroupRenderer::class );
 
                $renderer->expects( $this->any() )
                        ->method( 'render' )
diff --git 
a/extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/StatementGroupRendererFactoryTest.php
 
b/extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/StatementGroupRendererFactoryTest.php
index 432b6a1..66cbb2c 100644
--- 
a/extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/StatementGroupRendererFactoryTest.php
+++ 
b/extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/StatementGroupRendererFactoryTest.php
@@ -241,9 +241,7 @@
         * @return OutputFormatSnakFormatterFactory
         */
        private function getSnakFormatterFactory() {
-               $snakFormatter = $this->getMockBuilder( SnakFormatter::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $snakFormatter = $this->getMock( SnakFormatter::class );
 
                $snakFormatter->expects( $this->any() )
                        ->method( 'formatSnak' )
@@ -264,9 +262,7 @@
         * @return EntityLookup
         */
        private function getEntityLookup() {
-               $entityLookup = $this->getMockBuilder( EntityLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $entityLookup = $this->getMock( EntityLookup::class );
 
                $entityLookup->expects( $this->any() )
                        ->method( 'getEntity' )
diff --git 
a/extensions/Wikibase/client/tests/phpunit/includes/Hooks/EditActionHookHandlerTest.php
 
b/extensions/Wikibase/client/tests/phpunit/includes/Hooks/EditActionHookHandlerTest.php
index af41020..4fff72e 100644
--- 
a/extensions/Wikibase/client/tests/phpunit/includes/Hooks/EditActionHookHandlerTest.php
+++ 
b/extensions/Wikibase/client/tests/phpunit/includes/Hooks/EditActionHookHandlerTest.php
@@ -112,9 +112,7 @@
                                ], $text ?: $entityId );
                        } ) );
 
-               $siteLinkLookup = $this->getMockBuilder( SiteLinkLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $siteLinkLookup = $this->getMock( SiteLinkLookup::class );
 
                $siteLinkLookup->expects( $this->any() )
                        ->method( 'getItemIdForLink' )
@@ -139,9 +137,7 @@
                        ->method( 'newLabelDescriptionLookup' )
                        ->will( $this->returnCallback( [ $this, 
'newLabelDescriptionLookup' ] ) );
 
-               $idParser = $this->getMockBuilder( EntityIdParser::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $idParser = $this->getMock( EntityIdParser::class );
 
                $idParser->expects( $this->any() )
                        ->method( 'parse' )
@@ -178,9 +174,7 @@
         * @return LabelDescriptionLookup
         */
        public function newLabelDescriptionLookup() {
-               $lookup = $this->getMockBuilder( LabelDescriptionLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $lookup = $this->getMock( LabelDescriptionLookup::class );
 
                $lookup->expects( $this->any() )
                        ->method( 'getLabel' )
diff --git 
a/extensions/Wikibase/client/tests/phpunit/includes/Hooks/InfoActionHookHandlerTest.php
 
b/extensions/Wikibase/client/tests/phpunit/includes/Hooks/InfoActionHookHandlerTest.php
index 797d924..6615910 100644
--- 
a/extensions/Wikibase/client/tests/phpunit/includes/Hooks/InfoActionHookHandlerTest.php
+++ 
b/extensions/Wikibase/client/tests/phpunit/includes/Hooks/InfoActionHookHandlerTest.php
@@ -145,9 +145,7 @@
                                ], $text ?: $entityId );
                        } ) );
 
-               $siteLinkLookup = $this->getMockBuilder( SiteLinkLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $siteLinkLookup = $this->getMock( SiteLinkLookup::class );
 
                $siteLinkLookup->expects( $this->any() )
                        ->method( 'getItemIdForLink' )
@@ -174,9 +172,7 @@
                        ->method( 'newLabelDescriptionLookup' )
                        ->will( $this->returnCallback( [ $this, 
'newLabelDescriptionLookup' ] ) );
 
-               $idParser = $this->getMockBuilder( EntityIdParser::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $idParser = $this->getMock( EntityIdParser::class );
 
                $idParser->expects( $this->any() )
                        ->method( 'parse' )
@@ -229,9 +225,7 @@
         * @return LabelDescriptionLookup
         */
        public function newLabelDescriptionLookup() {
-               $lookup = $this->getMockBuilder( LabelDescriptionLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $lookup = $this->getMock( LabelDescriptionLookup::class );
 
                $lookup->expects( $this->any() )
                        ->method( 'getLabel' )
diff --git 
a/extensions/Wikibase/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
 
b/extensions/Wikibase/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
index c6907c3..268f4fe 100644
--- 
a/extensions/Wikibase/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
+++ 
b/extensions/Wikibase/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
@@ -30,9 +30,7 @@
         * @return LanguageLinkBadgeDisplay
         */
        private function getLanguageLinkBadgeDisplay() {
-               $labelLookup = $this->getMockBuilder( 
LabelDescriptionLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $labelLookup = $this->getMock( LabelDescriptionLookup::class );
 
                $labelLookup->expects( $this->any() )
                        ->method( 'getLabel' )
diff --git 
a/extensions/Wikibase/client/tests/phpunit/includes/Hooks/ParserOutputUpdateHookHandlersTest.php
 
b/extensions/Wikibase/client/tests/phpunit/includes/Hooks/ParserOutputUpdateHookHandlersTest.php
index 5ea5282..534c9dd 100644
--- 
a/extensions/Wikibase/client/tests/phpunit/includes/Hooks/ParserOutputUpdateHookHandlersTest.php
+++ 
b/extensions/Wikibase/client/tests/phpunit/includes/Hooks/ParserOutputUpdateHookHandlersTest.php
@@ -179,9 +179,7 @@
        }
 
        private function getBadgeDisplay() {
-               $labelDescriptionLookup = $this->getMockBuilder( 
LabelDescriptionLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $labelDescriptionLookup = $this->getMock( 
LabelDescriptionLookup::class );
 
                $labelDescriptionLookup->expects( $this->any() )
                        ->method( 'getLabel' )
diff --git a/extensions/Wikibase/lib/includes/Changes/ChangeRow.php 
b/extensions/Wikibase/lib/includes/Changes/ChangeRow.php
index c499ac6..099538b 100644
--- a/extensions/Wikibase/lib/includes/Changes/ChangeRow.php
+++ b/extensions/Wikibase/lib/includes/Changes/ChangeRow.php
@@ -128,12 +128,7 @@
         * @return array the info array
         */
        protected function unserializeInfo( $str ) {
-               if ( $str[0] === '{' ) { // json
-                       $info = json_decode( $str, true );
-               } else {
-                       // we may still have legacy stuff in the database for a 
while!
-                       $info = unserialize( $str );
-               }
+               $info = json_decode( $str, true );
 
                if ( !is_array( $info ) ) {
                        wfLogWarning( "Failed to unserializeInfo of id: " . 
$this->getObjectId() );
diff --git a/extensions/Wikibase/lib/tests/phpunit/Changes/ChangeRowTest.php 
b/extensions/Wikibase/lib/tests/phpunit/Changes/ChangeRowTest.php
index ba7e5c0..973c277 100644
--- a/extensions/Wikibase/lib/tests/phpunit/Changes/ChangeRowTest.php
+++ b/extensions/Wikibase/lib/tests/phpunit/Changes/ChangeRowTest.php
@@ -92,13 +92,6 @@
                $this->assertSame( $expected, $change->getInfo() );
        }
 
-       public function testUnserializesPhpSerializations() {
-               $serialization = 'a:1:{s:5:"field";s:5:"value";}';
-               $expected = array( 'field' => 'value' );
-               $change = $this->newChangeRow( [ 'info' => $serialization ] );
-               $this->assertSame( $expected, $change->getInfo() );
-       }
-
        public function testCanNotUnserializeWithoutObjectId() {
                $change = $this->newChangeRow( [ 'info' => 's:5:"value";' ] );
                $this->setExpectedException( MWException::class );
diff --git 
a/extensions/Wikibase/lib/tests/phpunit/Interactors/DispatchingTermSearchInteractorTest.php
 
b/extensions/Wikibase/lib/tests/phpunit/Interactors/DispatchingTermSearchInteractorTest.php
index d8f624b..689b3c6 100644
--- 
a/extensions/Wikibase/lib/tests/phpunit/Interactors/DispatchingTermSearchInteractorTest.php
+++ 
b/extensions/Wikibase/lib/tests/phpunit/Interactors/DispatchingTermSearchInteractorTest.php
@@ -43,7 +43,7 @@
        }
 
        private function getTermSearchInteractor( array $resultsByEntityType ) {
-               $interactor = $this->getMockBuilder( 
TermSearchInteractor::class )->getMock();
+               $interactor = $this->getMock( TermSearchInteractor::class );
                $interactor->expects( $this->any() )
                        ->method( 'searchForEntities' )
                        ->will( $this->returnCallback(
diff --git a/extensions/Wikibase/repo/i18n/hr.json 
b/extensions/Wikibase/repo/i18n/hr.json
index 30b7f62..fa53e15 100644
--- a/extensions/Wikibase/repo/i18n/hr.json
+++ b/extensions/Wikibase/repo/i18n/hr.json
@@ -33,9 +33,10 @@
        "wikibase-entitytermsforlanguagelistview-language": "Jezik",
        "wikibase-entitytermsforlanguagelistview-more": "Svi unešeni jezici",
        "wikibase-entitytermsforlanguagelistview-less": "Manje jezika",
-       "wikibase-label-empty": "Oznaka na upit",
+       "wikibase-label-empty": "Nedefinirana oznaka",
        "wikibase-label-edit-placeholder": "unesite naziv",
        "wikibase-description-empty": "Opis nije definiran.",
+       "wikibase-description-edit-placeholder-language-aware": "unesite opis 
na $1",
        "wikibase-diffview-reference": "referenca",
        "wikibase-diffview-qualifier": "atribut",
        "wikibase-diffview-label": "naziv",
@@ -57,6 +58,8 @@
        "wikibase-remove": "ukloni",
        "wikibase-aliases-input-help-message": "Da biste olakšali nalaženje 
jedinice, možete unijeti zamjenske nazive.",
        "wikibase-propertypage-datatype": "Vrsta podataka",
+       "wikibase-claimview-snak-tooltip": "Unesite vrijednost koja odgovara 
svojstvu \"$1\". Ako svojstvo nema vrijednosti ili je trenutačna vrijednost 
nepoznata, možete odabrati alternativnu vrstu klikom na ikonu ispred polja za 
unos.",
+       "wikibase-claimview-snak-new-tooltip": "Nakon specificiranja svojstva 
možete unijeti odgovarajuću vrijednost. Ako svojstvo nema vrijednosti ili je 
trenutačna vrijednost nepoznata, možete odabrati alternativnu vrstu klikom na 
ikonu ispred polja za unos.",
        "wikibase-statementview-rank-preferred": "Poželjni raspon",
        "wikibase-statementview-rank-normal": "Normalni raspon",
        "wikibase-statementview-rank-deprecated": "Zastarjeli raspon",
@@ -69,6 +72,7 @@
        "wikibase-snakview-snaktypeselector-value": "prilagođena vrijednost",
        "wikibase-snakformat-invalid-value": "Neispravna vrijednost.",
        "wikibase-snakformat-propertynotfound": "Svojstvo nije pronađeno.",
+       "wikibase-shortcopyrightwarning": "Klikom na \"$1\" suglasni ste s 
[[$2|Uvjetima uporabe]] i neopozivo ste suglasni da svoje doprinose 
objavljujete pod uvjetima licencije $3.",
        "wikibase-copyrighttooltip-acknowledge": "Pristajem na ove uvjete u 
mojim budućim uređivanjima. Ne prikazuj mi više ovu poruku.",
        "wikibase-entityselector-more": "više",
        "special-itembytitle": "Stavka prema naslovu",
diff --git a/extensions/Wikibase/repo/i18n/tr.json 
b/extensions/Wikibase/repo/i18n/tr.json
index 75e5cad..0b98e6d 100644
--- a/extensions/Wikibase/repo/i18n/tr.json
+++ b/extensions/Wikibase/repo/i18n/tr.json
@@ -18,7 +18,8 @@
                        "Tpt",
                        "McAang",
                        "Nemo bis",
-                       "HakanIST"
+                       "HakanIST",
+                       "Vito Genovese"
                ]
        },
        "wikibase-desc": "Yapılandırılmış veri deposu",
@@ -26,7 +27,7 @@
        "wikibase-entity-item": "öge",
        "wikibase-entity-property": "özellik",
        "wikibase-entity-query": "sorgu",
-       "wikibase-edit": "değiştir",
+       "wikibase-edit": "düzenle",
        "wikibase-save": "kaydet",
        "wikibase-cancel": "iptal",
        "wikibase-add": "ekle",
@@ -172,7 +173,6 @@
        "wikibase-listproperties-submit": "Bul",
        "wikibase-entitieswithoutlabel-label-language": "Dil kodu:",
        "wikibase-entitieswithoutlabel-label-type": "Tür:",
-       "wikibase-entitieswithoutlabel-label-alltypes": "hepsi",
        "wikibase-entitydata-not-found": "$1 kimliğiyle hiçbir varlık 
bulunamadı.",
        "wikibase-entitydata-not-acceptable": "Eşleşen hiçbir biçim bulunamadı. 
Desteklenen MIME türleri: $1",
        "wikibase-entitydata-bad-id": "Geçersiz kimlik: $1.",
diff --git a/extensions/Wikibase/repo/includes/Api/EditEntity.php 
b/extensions/Wikibase/repo/includes/Api/EditEntity.php
index 1ca8c25..ef2aa1e 100644
--- a/extensions/Wikibase/repo/includes/Api/EditEntity.php
+++ b/extensions/Wikibase/repo/includes/Api/EditEntity.php
@@ -5,7 +5,6 @@
 use ApiMain;
 use Deserializers\Deserializer;
 use InvalidArgumentException;
-use MWException;
 use Title;
 use ApiUsageException;
 use Wikibase\ChangeOp\ChangeOp;
@@ -23,11 +22,9 @@
 use Wikibase\DataModel\Term\LabelsProvider;
 use Wikibase\EntityFactory;
 use Wikibase\Lib\ContentLanguages;
-use Wikibase\Lib\DataTypeDefinitions;
 use Wikibase\Lib\Store\EntityRevisionLookup;
 use Wikibase\Repo\ChangeOp\Deserialization\ChangeOpDeserializationException;
 use Wikibase\Repo\ChangeOp\EntityChangeOpProvider;
-use Wikibase\Repo\WikibaseRepo;
 use Wikibase\Summary;
 
 /**
diff --git a/extensions/Wikibase/repo/includes/Content/EntityContentDiff.php 
b/extensions/Wikibase/repo/includes/Content/EntityContentDiff.php
index 2fa4ab3..6677512 100644
--- a/extensions/Wikibase/repo/includes/Content/EntityContentDiff.php
+++ b/extensions/Wikibase/repo/includes/Content/EntityContentDiff.php
@@ -3,7 +3,6 @@
 namespace Wikibase\Repo\Content;
 
 use Diff\DiffOp\Diff\Diff;
-use Wikibase\DataModel\Entity\EntityDocument;
 use Wikibase\DataModel\Services\Diff\EntityDiff;
 
 /**
diff --git a/extensions/Wikibase/repo/includes/Content/EntityHandler.php 
b/extensions/Wikibase/repo/includes/Content/EntityHandler.php
index 892c4ef..ad693cd 100644
--- a/extensions/Wikibase/repo/includes/Content/EntityHandler.php
+++ b/extensions/Wikibase/repo/includes/Content/EntityHandler.php
@@ -31,7 +31,6 @@
 use Wikibase\Lib\Store\EntityContentDataCodec;
 use Wikibase\Repo\Diff\EntityContentDiffView;
 use Wikibase\Repo\Search\Elastic\Fields\FieldDefinitions;
-use Wikibase\Repo\Search\Elastic\Fields\WikibaseFieldDefinitions;
 use Wikibase\Repo\Store\EntityPerPage;
 use Wikibase\Repo\Validators\EntityConstraintProvider;
 use Wikibase\Repo\Validators\EntityValidator;
diff --git a/extensions/Wikibase/repo/includes/Rdf/RdfBuilder.php 
b/extensions/Wikibase/repo/includes/Rdf/RdfBuilder.php
index 165f03e..d8098af 100644
--- a/extensions/Wikibase/repo/includes/Rdf/RdfBuilder.php
+++ b/extensions/Wikibase/repo/includes/Rdf/RdfBuilder.php
@@ -6,7 +6,6 @@
 use SiteList;
 use Wikibase\DataModel\Entity\EntityDocument;
 use Wikibase\DataModel\Entity\EntityId;
-use Wikibase\DataModel\Entity\Property;
 use Wikibase\DataModel\Entity\PropertyId;
 use Wikibase\DataModel\Services\Lookup\EntityLookup;
 use Wikibase\DataModel\Services\Lookup\PropertyDataTypeLookup;
diff --git 
a/extensions/Wikibase/repo/tests/phpunit/includes/Api/EntitySearchHelperTest.php
 
b/extensions/Wikibase/repo/tests/phpunit/includes/Api/EntitySearchHelperTest.php
index 8adfacf..798d575 100644
--- 
a/extensions/Wikibase/repo/tests/phpunit/includes/Api/EntitySearchHelperTest.php
+++ 
b/extensions/Wikibase/repo/tests/phpunit/includes/Api/EntitySearchHelperTest.php
@@ -83,9 +83,8 @@
         * @return LabelDescriptionLookup
         */
        private function getMockLabelDescriptionLookup() {
-               $mock = $this->getMockBuilder( LabelDescriptionLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $mock = $this->getMock( LabelDescriptionLookup::class );
+
                $mock->method( 'getLabel' )
                        ->will( $this->returnValue( new Term( 
self::DEFAULT_LANGUAGE, self::DEFAULT_LABEL ) ) );
                $mock->method( 'getDescription' )
diff --git 
a/extensions/Wikibase/repo/tests/phpunit/includes/Api/ItemByTitleHelperTest.php 
b/extensions/Wikibase/repo/tests/phpunit/includes/Api/ItemByTitleHelperTest.php
index e01ef84..3bc48a9 100644
--- 
a/extensions/Wikibase/repo/tests/phpunit/includes/Api/ItemByTitleHelperTest.php
+++ 
b/extensions/Wikibase/repo/tests/phpunit/includes/Api/ItemByTitleHelperTest.php
@@ -71,9 +71,7 @@
         * @return SiteLinkLookup
         */
        private function getSiteLinkLookupMock( $itemId ) {
-               $siteLinkLookupMock = $this->getMockBuilder( 
SiteLinkLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $siteLinkLookupMock = $this->getMock( SiteLinkLookup::class );
 
                $siteLinkLookupMock->expects( $this->any() )
                        ->method( 'getItemIdForLink' )
diff --git 
a/extensions/Wikibase/repo/tests/phpunit/includes/ChangeOp/ChangeOpsTest.php 
b/extensions/Wikibase/repo/tests/phpunit/includes/ChangeOp/ChangeOpsTest.php
index a6f06e3..9ecc3e0 100644
--- a/extensions/Wikibase/repo/tests/phpunit/includes/ChangeOp/ChangeOpsTest.php
+++ b/extensions/Wikibase/repo/tests/phpunit/includes/ChangeOp/ChangeOpsTest.php
@@ -158,9 +158,7 @@
        public function testValidate_() {
                $item = new Item();
 
-               $changeOp = $this->getMockBuilder( ChangeOp::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $changeOp = $this->getMock( ChangeOp::class );
                $changeOp->expects( $this->any() )
                        ->method( 'validate' )
                        ->will( $this->returnCallback( function( Item $item ) {
diff --git 
a/extensions/Wikibase/repo/tests/phpunit/includes/Content/EntityContentDiffTest.php
 
b/extensions/Wikibase/repo/tests/phpunit/includes/Content/EntityContentDiffTest.php
index ba9e5f5..4224c21 100644
--- 
a/extensions/Wikibase/repo/tests/phpunit/includes/Content/EntityContentDiffTest.php
+++ 
b/extensions/Wikibase/repo/tests/phpunit/includes/Content/EntityContentDiffTest.php
@@ -5,9 +5,7 @@
 use Diff\DiffOp\Diff\Diff;
 use Diff\DiffOp\DiffOpAdd;
 use Diff\DiffOp\DiffOpRemove;
-use Wikibase\DataModel\Entity\EntityDocument;
 use Wikibase\DataModel\Entity\Item;
-use Wikibase\DataModel\Entity\ItemId;
 use Wikibase\DataModel\Services\Diff\EntityDiff;
 use Wikibase\Repo\Content\EntityContentDiff;
 
diff --git 
a/extensions/Wikibase/repo/tests/phpunit/includes/Diff/BasicEntityDiffVisualizerTest.php
 
b/extensions/Wikibase/repo/tests/phpunit/includes/Diff/BasicEntityDiffVisualizerTest.php
index d467b64..fb3d494 100644
--- 
a/extensions/Wikibase/repo/tests/phpunit/includes/Diff/BasicEntityDiffVisualizerTest.php
+++ 
b/extensions/Wikibase/repo/tests/phpunit/includes/Diff/BasicEntityDiffVisualizerTest.php
@@ -10,7 +10,6 @@
 use MediaWikiTestCase;
 use RawMessage;
 use Site;
-use Wikibase\DataModel\Entity\Item;
 use Wikibase\DataModel\Services\Diff\EntityDiff;
 use Wikibase\DataModel\Services\EntityId\EntityIdFormatter;
 use Wikibase\Repo\Content\EntityContentDiff;
diff --git 
a/extensions/Wikibase/repo/tests/phpunit/includes/Modules/MediaWikiConfigModuleTest.php
 
b/extensions/Wikibase/repo/tests/phpunit/includes/Modules/MediaWikiConfigModuleTest.php
index 7f98725..e8d3da6 100644
--- 
a/extensions/Wikibase/repo/tests/phpunit/includes/Modules/MediaWikiConfigModuleTest.php
+++ 
b/extensions/Wikibase/repo/tests/phpunit/includes/Modules/MediaWikiConfigModuleTest.php
@@ -42,9 +42,7 @@
 
        private function newInstance() {
                return new MediaWikiConfigModule( [ 'getconfigvalueprovider' => 
function () {
-                       $provider = $this->getMockBuilder( 
MediaWikiConfigValueProvider::class )
-                               ->disableOriginalConstructor()
-                               ->getMock();
+                       $provider = $this->getMock( 
MediaWikiConfigValueProvider::class );
 
                        $provider->expects( $this->any() )
                                ->method( 'getKey' )
diff --git 
a/extensions/Wikibase/repo/tests/phpunit/includes/ParserOutput/ReferencedEntitiesDataUpdaterTest.php
 
b/extensions/Wikibase/repo/tests/phpunit/includes/ParserOutput/ReferencedEntitiesDataUpdaterTest.php
index 6ad9375..a846506 100644
--- 
a/extensions/Wikibase/repo/tests/phpunit/includes/ParserOutput/ReferencedEntitiesDataUpdaterTest.php
+++ 
b/extensions/Wikibase/repo/tests/phpunit/includes/ParserOutput/ReferencedEntitiesDataUpdaterTest.php
@@ -51,9 +51,7 @@
         * @return ReferencedEntitiesDataUpdater
         */
        private function newInstance( $count = 0 ) {
-               $entityTitleLookup = $this->getMockBuilder( 
EntityTitleLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $entityTitleLookup = $this->getMock( EntityTitleLookup::class );
                $entityTitleLookup->expects( $this->exactly( $count ) )
                        ->method( 'getTitleForId' )
                        ->will( $this->returnCallback( function( EntityId $id ) 
{
@@ -61,9 +59,7 @@
                                return Title::makeTitle( $namespace, 
$id->getSerialization() );
                        } ) );
 
-               $entityIdParser = $this->getMockBuilder( EntityIdParser::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $entityIdParser = $this->getMock( EntityIdParser::class );
                $entityIdParser->expects( $this->any() )
                        ->method( 'parse' )
                        ->will( $this->returnCallback( function( $id ) {
diff --git 
a/extensions/Wikibase/repo/tests/phpunit/includes/Store/Sql/ItemsPerSiteBuilderTest.php
 
b/extensions/Wikibase/repo/tests/phpunit/includes/Store/Sql/ItemsPerSiteBuilderTest.php
index ceb2a58..7ad7e1e 100644
--- 
a/extensions/Wikibase/repo/tests/phpunit/includes/Store/Sql/ItemsPerSiteBuilderTest.php
+++ 
b/extensions/Wikibase/repo/tests/phpunit/includes/Store/Sql/ItemsPerSiteBuilderTest.php
@@ -58,9 +58,7 @@
         * @return EntityLookup
         */
        private function getEntityLookup() {
-               $mock = $this->getMockBuilder( EntityLookup::class )
-                       ->disableOriginalConstructor()
-                       ->getMock();
+               $mock = $this->getMock( EntityLookup::class );
 
                $item = $this->getTestItem();
                $mock->expects( $this->exactly( 10 ) )
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index b11500f..06ed6cb 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -1358,12 +1358,12 @@
         "source": {
             "type": "git",
             "url": 
"https://github.com/wikimedia/mediawiki-extensions-Wikibase.git";,
-            "reference": "7354026232186c7d31e7332def12475dd6451c10"
+            "reference": "45906a0fc16892da3a12c1dbed19b4d655816c85"
         },
         "dist": {
             "type": "zip",
-            "url": 
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/7354026232186c7d31e7332def12475dd6451c10";,
-            "reference": "7354026232186c7d31e7332def12475dd6451c10",
+            "url": 
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/45906a0fc16892da3a12c1dbed19b4d655816c85";,
+            "reference": "45906a0fc16892da3a12c1dbed19b4d655816c85",
             "shasum": ""
         },
         "require": {
@@ -1395,7 +1395,7 @@
             "jakub-onderka/php-parallel-lint": ">=0.3 <0.10",
             "mediawiki/mediawiki-codesniffer": ">=0.4 <0.8"
         },
-        "time": "2017-04-08 09:30:25",
+        "time": "2017-04-10 09:37:59",
         "type": "mediawiki-extension",
         "installation-source": "dist",
         "autoload": {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8cdd7c860d17878c3e6d61c085c8a234e554f857
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikidata
Gerrit-Branch: master
Gerrit-Owner: WikidataBuilder <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to