WikidataBuilder has uploaded a new change for review.
https://gerrit.wikimedia.org/r/129133
Change subject: New Wikidata Build - 23/04/2014 10:00
......................................................................
New Wikidata Build - 23/04/2014 10:00
Change-Id: Ie24997f5c358bc39d513757cc2183f57c8e42b1c
---
M composer.lock
M extensions/ValueView/ValueView.i18n.php
M extensions/Wikibase/build/travis/mw-apply-wb-settings.sh
M extensions/Wikibase/client/i18n/hi.json
M extensions/Wikibase/client/i18n/it.json
M extensions/Wikibase/client/i18n/sl.json
M extensions/Wikibase/client/includes/scribunto/WikibaseLuaBindings.php
M
extensions/Wikibase/client/tests/phpunit/includes/scribunto/WikibaseLuaBindingsTest.php
M extensions/Wikibase/lib/i18n/en.json
M extensions/Wikibase/lib/i18n/pl.json
M extensions/Wikibase/lib/i18n/sl.json
M extensions/Wikibase/lib/i18n/sv.json
M extensions/Wikibase/repo/i18n/en.json
M extensions/Wikibase/repo/i18n/ru.json
M extensions/Wikibase/repo/i18n/sv.json
M vendor/autoload.php
M vendor/composer/autoload_real.php
M vendor/composer/installed.json
M vendor/diff/diff/Diff.i18n.php
M vendor/wikibase/data-model/WikibaseDataModel.i18n.php
20 files changed, 94 insertions(+), 98 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikidata
refs/changes/33/129133/1
diff --git a/composer.lock b/composer.lock
index b65108f..8d4c8d8 100644
--- a/composer.lock
+++ b/composer.lock
@@ -869,12 +869,12 @@
"source": {
"type": "git",
"url":
"https://github.com/wikimedia/mediawiki-extensions-Wikibase.git",
- "reference": "6947a4383ae009d242c6de4dc0e669796a1d3070"
+ "reference": "0b98383077d1a9bafe39e142acef5377b8d616cf"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/6947a4383ae009d242c6de4dc0e669796a1d3070",
- "reference": "6947a4383ae009d242c6de4dc0e669796a1d3070",
+ "url":
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/0b98383077d1a9bafe39e142acef5377b8d616cf",
+ "reference": "0b98383077d1a9bafe39e142acef5377b8d616cf",
"shasum": ""
},
"require": {
@@ -934,7 +934,7 @@
"wikibaserepo",
"wikidata"
],
- "time": "2014-04-22 08:20:47"
+ "time": "2014-04-22 23:30:48"
}
],
"packages-dev": [
diff --git a/extensions/ValueView/ValueView.i18n.php
b/extensions/ValueView/ValueView.i18n.php
index 700246d..eeb2776 100644
--- a/extensions/ValueView/ValueView.i18n.php
+++ b/extensions/ValueView/ValueView.i18n.php
@@ -11,25 +11,21 @@
* This shim maintains compatibility back to MediaWiki 1.17.
*/
$messages = array();
-if ( !function_exists( 'wfJsonI18nShimf27c5f1c03dcc57d' ) ) {
- function wfJsonI18nShimf27c5f1c03dcc57d( $cache, $code, &$cachedData ) {
- $codeSequence = array_merge( array( $code ),
$cachedData['fallbackSequence'] );
- foreach ( $codeSequence as $csCode ) {
- $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json";
- if ( is_readable( $fileName ) ) {
- $data = FormatJson::decode( file_get_contents(
$fileName ), true );
- foreach ( array_keys( $data ) as $key ) {
- if ( $key === '' || $key[0] === '@' ) {
- unset( $data[$key] );
- }
+$GLOBALS['wgHooks']['LocalisationCacheRecache'][] = function ( $cache, $code,
&$cachedData ) {
+ $codeSequence = array_merge( array( $code ),
$cachedData['fallbackSequence'] );
+ foreach ( $codeSequence as $csCode ) {
+ $fileName = __DIR__ . "/i18n/$csCode.json";
+ if ( is_readable( $fileName ) ) {
+ $data = FormatJson::decode( file_get_contents(
$fileName ), true );
+ foreach ( array_keys( $data ) as $key ) {
+ if ( $key === '' || $key[0] === '@' ) {
+ unset( $data[$key] );
}
- $cachedData['messages'] = array_merge( $data,
$cachedData['messages'] );
}
-
- $cachedData['deps'][] = new FileDependency( $fileName );
+ $cachedData['messages'] = array_merge( $data,
$cachedData['messages'] );
}
- return true;
- }
- $GLOBALS['wgHooks']['LocalisationCacheRecache'][] =
'wfJsonI18nShimf27c5f1c03dcc57d';
-}
+ $cachedData['deps'][] = new FileDependency( $fileName );
+ }
+ return true;
+};
diff --git a/extensions/Wikibase/build/travis/mw-apply-wb-settings.sh
b/extensions/Wikibase/build/travis/mw-apply-wb-settings.sh
index 33727dd..1274a4f 100644
--- a/extensions/Wikibase/build/travis/mw-apply-wb-settings.sh
+++ b/extensions/Wikibase/build/travis/mw-apply-wb-settings.sh
@@ -27,6 +27,7 @@
echo '$wgLanguageCode = "'$LANG'";' >> LocalSettings.php
echo '$wgDebugLogFile = "mw-debug.log";' >> LocalSettings.php
echo "define( 'WB_EXPERIMENTAL_FEATURES', 1 );" >> LocalSettings.php
+ echo 'require_once __DIR__ . "/extensions/Scribunto/Scribunto.php";' >>
LocalSettings.php
}
apply_common_settings
diff --git a/extensions/Wikibase/client/i18n/hi.json
b/extensions/Wikibase/client/i18n/hi.json
index 16f4d8a..2d28f5f 100644
--- a/extensions/Wikibase/client/i18n/hi.json
+++ b/extensions/Wikibase/client/i18n/hi.json
@@ -9,7 +9,7 @@
"wikibase-client-desc": "विकिबेस एक्सटेंशन के लिए क्लाइन्ट",
"specialpages-group-wikibaseclient": "{{WBREPONAME}} क्लाइंट",
"wikibase-after-page-move": "स्थान्तरित पृष्ठ पर भाषा कड़ियो को बनाए
रखने के लिए आप सम्बन्धित विकिडेटा आइटम का भी [$1 अद्यतन] कर सकते हैं।",
- "wikibase-after-page-move-queued": "[ $1 {{WBREPONAME}} वस्तु] जो इस
प्रिश्ट से जुडा है, वह जल्द ही स्व्तह अद्यतन किया जायेगा।",
+ "wikibase-after-page-move-queued": "इस पृष्ठ से जुड़ा [$1
{{WBREPONAME}} वस्तु] जल्द ही स्वतः अद्यतनीत किया जायेगा।",
"wikibase-comment-add": "{{WBREPONAME}} वस्तु बनाया गया है।",
"wikibase-comment-remove": "जुड़ा हुआ {{WBREPONAME}} वस्तु मिटादी गयी
है। भाषा से जुडी लिंक हटा दिये गये है।",
"wikibase-comment-linked": "{{WBREPONAME}} वस्तु इस पृष्ठ से जोडी गयी
है।",
diff --git a/extensions/Wikibase/client/i18n/it.json
b/extensions/Wikibase/client/i18n/it.json
index 23dde77..172d533 100644
--- a/extensions/Wikibase/client/i18n/it.json
+++ b/extensions/Wikibase/client/i18n/it.json
@@ -7,7 +7,8 @@
"Gloria sah",
"Maria victoria",
"Raoli",
- "Sannita"
+ "Sannita",
+ "Nemo bis"
]
},
"wikibase-client-desc": "Client per l'estensione Wikibase",
@@ -25,7 +26,7 @@
"wikibase-comment-sitelink-change": "Collegamento linguistico
modificato da $1 a $2",
"wikibase-comment-sitelink-remove": "Collegamento linguistico rimosso:
$1",
"wikibase-comment-multi": "$1 {{PLURAL:$1|modifica|modifiche}}",
- "wikibase-dataitem": "Elemento dati",
+ "wikibase-dataitem": "Dati sull'elemento",
"wikibase-editlinks": "Modifica link",
"wikibase-editlinkstitle": "Modifica collegamenti interlinguistici",
"wikibase-linkitem-addlinks": "Aggiungi link",
diff --git a/extensions/Wikibase/client/i18n/sl.json
b/extensions/Wikibase/client/i18n/sl.json
index 9147153..ee3be21 100644
--- a/extensions/Wikibase/client/i18n/sl.json
+++ b/extensions/Wikibase/client/i18n/sl.json
@@ -7,15 +7,15 @@
]
},
"wikibase-client-desc": "Klient za razširitev Wikibase",
- "specialpages-group-wikibaseclient": "Klient za Wikipodatke",
+ "specialpages-group-wikibaseclient": "Odjemalec za
{{GRAMMAR:tožilnik|{{WBREPONAME}}}}",
"tooltip-t-wikibase": "Povežite na ustrezni predmet v podatkovnem
odložišču",
- "wikibase-after-page-move-queued": "[$1 Objekt v Wikipodatkih], povezan
s to stranjo, bo v kratkem samodejno posodobljen.",
- "wikibase-comment-add": "Ustvarjen je predmet v Wikipodatkih.",
- "wikibase-comment-remove": "Povezan objekt v Wikipodatkih izbrisan.
Jezikovne povezave odstranjene.",
- "wikibase-comment-linked": "Objekt v Wikipodatkih je bil povezan s to
stranjo.",
- "wikibase-comment-unlink": "Stran je bila razvezana od objekta v
Wikipodatkih. Jezikovne povezave odstranjene.",
- "wikibase-comment-restore": "Povezan objekt v Wikipodatkih odbrisan.
Jezikovne povezave obnovljene.",
- "wikibase-comment-update": "Objekt v Wikipodatkih spremenjen.",
+ "wikibase-after-page-move-queued": "[$1 Objekt v
{{GRAMMAR:mestnik|{{WBREPONAME}}}}], povezan s to stranjo, bo v kratkem
samodejno posodobljen.",
+ "wikibase-comment-add": "Ustvarjen je predmet v
{{GRAMMAR:mestnik|{{WBREPONAME}}}}.",
+ "wikibase-comment-remove": "Povezan objekt v
{{GRAMMAR:mestnik|{{WBREPONAME}}}} izbrisan. Jezikovne povezave odstranjene.",
+ "wikibase-comment-linked": "Objekt v {{GRAMMAR:mestnik|{{WBREPONAME}}}}
je bil povezan s to stranjo.",
+ "wikibase-comment-unlink": "Stran je bila razvezana od objekta v
{{GRAMMAR:mestnik|{{WBREPONAME}}}}. Jezikovne povezave odstranjene.",
+ "wikibase-comment-restore": "Povezan objekt v
{{GRAMMAR:mestnik|{{WBREPONAME}}}}je obnovljen. Jezikovne povezave so
obnovljene.",
+ "wikibase-comment-update": "Objekt v {{GRAMMAR:mestnik|{{WBREPONAME}}}}
je spremenjen.",
"wikibase-comment-sitelink-add": "Jezikovna povezava dodana: $1",
"wikibase-comment-sitelink-change": "Jezikovna povezava spremenjena iz
$1 v $2",
"wikibase-comment-sitelink-remove": "Jezikovna povezava odstranjena:
$1",
@@ -37,12 +37,12 @@
"wikibase-linkitem-not-loggedin": "Za uporabo te funkcije morate biti
prijavljeni tako v tem wikiju kot v [$1 osrednji zbirki podatkov].",
"wikibase-linkitem-success-link": "Strani sta uspešno povezani. Predmet
s povezavami lahko najdete v našem [$1 osrednjem podatkovnem odložišču].",
"wikibase-property-notfound": "Lastnosti $1 ni mogoče najti.",
- "wikibase-rc-hide-wikidata": "$1 Wikipodatki",
+ "wikibase-rc-hide-wikidata": "$1 {{GRAMMAR:tožilnik|{{WBREPONAME}}}}",
"wikibase-rc-hide-wikidata-hide": "Skrij",
"wikibase-rc-hide-wikidata-show": "Prikaži",
"wikibase-rc-show-wikidata-pref": "Pokaži urejanja
{{GRAMMAR:rodilnik|{{WBREPONAME}}}} v zadnjih spremembah",
"wikibase-rc-wikibase-edit-letter": "P",
- "wikibase-rc-wikibase-edit-title": "urejanje v Wikipodatkih",
+ "wikibase-rc-wikibase-edit-title": "urejanje v
{{GRAMMAR:mestnik|{{WBREPONAME}}}}",
"wikibase-watchlist-show-changes-pref": "Pokaži urejanja
{{GRAMMAR:rodilnik|{{WBREPONAME}}}} v spisku nadzorov",
"wikibase-error-serialize-error": "Serializacija podatkov ni uspela.",
"wikibase-error-invalid-entity-id": "Vnesenega ID-ja sistem ne pozna.
Prosimo, vnesite veljaven ID entitete.",
@@ -54,7 +54,7 @@
"wikibase-unconnectedpages-page-warning": "Naslov strani ni mogoče
uporabiti kot zahtevek in je bil ignoriran.",
"wikibase-unconnectedpages-iwdata-label": "Samo strani z medjezikovnimi
povezavami",
"wikibase-unconnectedpages-format-row": "($1 {{PLURAL:$1|medjezikovna
povezava|medjezikovni povezavi|medjezikovne povezave|medjezikovnih povezav}} na
strani)",
- "wikibase-pageinfo-entity-id": "ID objekta v Wikipodatkih",
+ "wikibase-pageinfo-entity-id": "ID objekta v
{{GRAMMAR:mestnik|{{WBREPONAME}}}}",
"wikibase-pageinfo-entity-id-none": "Brez",
"wikibase-property-render-error": "Upodobitev lastnosti $1 je
spodletela: $2",
"wikibase-otherprojects": "Drugi projekti"
diff --git
a/extensions/Wikibase/client/includes/scribunto/WikibaseLuaBindings.php
b/extensions/Wikibase/client/includes/scribunto/WikibaseLuaBindings.php
index 2c2d8a1..07261e3 100644
--- a/extensions/Wikibase/client/includes/scribunto/WikibaseLuaBindings.php
+++ b/extensions/Wikibase/client/includes/scribunto/WikibaseLuaBindings.php
@@ -179,13 +179,11 @@
* @return string|null $id
*/
public function getEntityId( $pageTitle = null ) {
- $numericId = $this->siteLinkTable->getItemIdForLink(
$this->siteId, $pageTitle );
+ $id = $this->siteLinkTable->getItemIdForLink( $this->siteId,
$pageTitle );
- if ( ! is_int( $numericId ) ) {
+ if ( !$id ) {
return null;
}
-
- $id = ItemId::newFromNumber( $numericId );
return $this->entityIdFormatter->format( $id );
}
diff --git
a/extensions/Wikibase/client/tests/phpunit/includes/scribunto/WikibaseLuaBindingsTest.php
b/extensions/Wikibase/client/tests/phpunit/includes/scribunto/WikibaseLuaBindingsTest.php
index 6665eee..8108431 100644
---
a/extensions/Wikibase/client/tests/phpunit/includes/scribunto/WikibaseLuaBindingsTest.php
+++
b/extensions/Wikibase/client/tests/phpunit/includes/scribunto/WikibaseLuaBindingsTest.php
@@ -46,7 +46,7 @@
$siteLinkTable->expects( $this->any() )
->method( 'getItemIdForLink' )
->will( $this->returnCallback( function( $siteId, $page
) {
- return ( $page === 'Rome' ) ? 33 :
false;
+ return ( $page === 'Rome' ) ? new
ItemId( 'Q33' ) : false;
} )
);
diff --git a/extensions/Wikibase/lib/i18n/en.json
b/extensions/Wikibase/lib/i18n/en.json
index ad700ec..2af020d 100644
--- a/extensions/Wikibase/lib/i18n/en.json
+++ b/extensions/Wikibase/lib/i18n/en.json
@@ -60,6 +60,8 @@
"wikibase-sitelinks-sitename-columnheading-special": "Site",
"wikibase-sitelinks-siteid-columnheading": "Code",
"wikibase-sitelinks-link-columnheading": "Linked page",
+ "wikibase-snakview-snaktypeselector-somevalue": "unknown value",
+ "wikibase-snakview-snaktypeselector-novalue": "no value",
"wikibase-tooltip-error-details": "Details",
"wikibase-undeserializable-value": "The value is invalid and cannot be
displayed.",
"wikibase-validator-invalid": "Invalid value",
diff --git a/extensions/Wikibase/lib/i18n/pl.json
b/extensions/Wikibase/lib/i18n/pl.json
index d73d1bc..77e0dfc 100644
--- a/extensions/Wikibase/lib/i18n/pl.json
+++ b/extensions/Wikibase/lib/i18n/pl.json
@@ -16,6 +16,7 @@
"wikibase-entity-query": "zapytanie",
"wikibase-deletedentity-item": "Usunięty element",
"wikibase-deletedentity-property": "Usunięta właściwość",
+ "wikibase-deletedentity-query": "Skasowane zapytanie",
"wikibase-diffview-reference": "przypis",
"wikibase-diffview-rank": "ranga",
"wikibase-diffview-rank-preferred": "Ranga preferowana",
@@ -26,7 +27,7 @@
"wikibase-diffview-alias": "aliasy",
"wikibase-diffview-description": "opis",
"wikibase-diffview-link": "linki",
- "wikibase-error-unexpected": "Wystąpił nieoczekiwany błąd.",
+ "wikibase-error-unexpected": "Wystąpił nieoczekiwany błąd: $1.",
"wikibase-error-save-generic": "Wystąpił błąd podczas próby zapisu i z
tego powodu zmiany nie zostały zapisane.",
"wikibase-error-remove-generic": "Wystąpił błąd podczas próby usunięcia
i z tego powodu zmiany nie zostały zapisane.",
"wikibase-error-save-connection": "Wystąpił błąd połączenia podczas
próby zapisu i z tego powodu zmiany nie zostały zapisane. Sprawdź swoje
połączenie z Internetem.",
@@ -42,6 +43,7 @@
"wikibase-error-ui-link-exists": "Nie możesz podać tej strony, gdyż
inny wpis już na nią wskazuje.",
"wikibase-error-ui-session-failure": "Twoja sesja wygasła. Zaloguj się
ponownie.",
"wikibase-error-ui-edit-conflict": "Wystąpił konflikt edycji. Załaduj
raz jeszcze i zapisz.",
+ "wikibase-quantitydetails-amount": "Liczność",
"wikibase-quantitydetails-upperbound": "Górna granica",
"wikibase-quantitydetails-lowerbound": "Dolna granica",
"wikibase-quantitydetails-unit": "Jednostka",
@@ -65,6 +67,7 @@
"wikibase-sitelinks-link-columnheading": "Powiązana strona",
"wikibase-tooltip-error-details": "Szczegóły",
"wikibase-undeserializable-value": "Wartość jest nieprawidłowa i nie
może zostać wyświetlona.",
+ "wikibase-validator-invalid": "Nieprawidłowa wartość",
"wikibase-validator-bad-type": "$2, powinno być: $1",
"wikibase-validator-too-long": "Nie może być dłuższe niż {{PLURAL:$1|
jeden znak|$1 znaki|$1 znaków}}",
"wikibase-validator-too-short": "Musi zawierać co najmniej {{PLURAL:$1|
jeden znak|$1 znaki|$1 znaków}}.",
@@ -72,6 +75,7 @@
"wikibase-validator-too-low": "Poza zakresem, powinno być nie mniej niż
$1",
"wikibase-validator-malformed-value": "Błędnie wprowadzone dane: $1",
"wikibase-validator-bad-entity-id": "Nieprawidłowy ID: $1",
+ "wikibase-validator-bad-entity-type": "Nieoczekiwany typ obiektu $1",
"wikibase-validator-no-such-entity": "$1 nie znaleziono",
"wikibase-validator-no-such-property": "Właściwości $1 nie została
znaleziona",
"wikibase-validator-bad-value": "Niepoprawna wartość: $1",
@@ -79,6 +83,7 @@
"wikibase-validator-bad-url": "Nieprawidłowy URL: $1",
"wikibase-validator-bad-url-scheme": "Nieobsługiwany schemat adresu
URL: $1",
"wikibase-validator-bad-http-url": "Nieprawidłowy URL HTTP: $1",
+ "wikibase-validator-bad-mailto-url": "Nieprawidłowy URL adresu e-mail:
$1",
"wikibase-validator-unknown-unit": "Nieznana jednostka: $1",
"datatypes-type-wikibase-item": "Element",
"datatypes-type-commonsMedia": "Plik multimedialny na Commons",
diff --git a/extensions/Wikibase/lib/i18n/sl.json
b/extensions/Wikibase/lib/i18n/sl.json
index 9529e72..ca5b25a 100644
--- a/extensions/Wikibase/lib/i18n/sl.json
+++ b/extensions/Wikibase/lib/i18n/sl.json
@@ -1,7 +1,8 @@
{
"@metadata": {
"authors": [
- "Eleassar"
+ "Eleassar",
+ "Dbc334"
]
},
"wikibase-entity-item": "predmet",
@@ -17,7 +18,7 @@
"wikibase-diffview-alias": "druga imena",
"wikibase-diffview-description": "opis",
"wikibase-diffview-link": "povezave",
- "wikibase-error-unexpected": "Prišlo je do nepričakovane napake.",
+ "wikibase-error-unexpected": "Prišlo je do nepričakovane napake: $1.",
"wikibase-replicationnote": "Spremembe se bodo na vseh wikijih morda
prikazale šele po več minutah.",
"wikibase-sitelinks-wikipedia": "Strani Wikipedije, povezane na ta
predmet.",
"wikibase-sitelinks-sitename-columnheading": "Jezik",
diff --git a/extensions/Wikibase/lib/i18n/sv.json
b/extensions/Wikibase/lib/i18n/sv.json
index 8b052b9..8302bb1 100644
--- a/extensions/Wikibase/lib/i18n/sv.json
+++ b/extensions/Wikibase/lib/i18n/sv.json
@@ -24,7 +24,7 @@
"wikibase-diffview-alias": "alias",
"wikibase-diffview-description": "beskrivning",
"wikibase-diffview-link": "länkar",
- "wikibase-error-unexpected": "Ett oväntat fel uppstod.",
+ "wikibase-error-unexpected": "Ett oväntat fel uppstod: $1",
"wikibase-error-save-generic": "Ett fel uppstod under sparningsförsöket
och på grund av detta, kunde dina ändringar inte genomföras.",
"wikibase-error-remove-generic": "Ett fel uppstod vid
borttagningsförsöket och på grund av detta, kunde dina ändringar inte
genomföras.",
"wikibase-error-save-connection": "Ett anslutningsfel uppstod vid
sparningsförsöket och på grund av detta, kunde dina ändringar inte genomföras.
Kontrollera din internetanslutning.",
@@ -64,6 +64,7 @@
"wikibase-sitelinks-link-columnheading": "Länkad sida",
"wikibase-tooltip-error-details": "Detaljer",
"wikibase-undeserializable-value": "Värdet är ogiltigt och kunde inte
visas.",
+ "wikibase-validator-invalid": "Ogiltigt värde",
"wikibase-validator-bad-type": "$2 istället för $1",
"wikibase-validator-too-long": "Får inte vara mer än {{PLURAL:$1|ett
tecken|$1 tecken}} lång",
"wikibase-validator-too-short": "Måste vara minst {{PLURAL:$1|ett
tecken|$1 tecken}} lång",
diff --git a/extensions/Wikibase/repo/i18n/en.json
b/extensions/Wikibase/repo/i18n/en.json
index 2cd48f6..cb56c0e 100644
--- a/extensions/Wikibase/repo/i18n/en.json
+++ b/extensions/Wikibase/repo/i18n/en.json
@@ -82,8 +82,6 @@
"wikibase-snakview-variations-somevalue-label": "unknown value",
"wikibase-snakview-variations-novalue-label": "no value",
"wikibase-snakview-snaktypeselector-value": "custom value",
- "wikibase-snakview-snaktypeselector-somevalue": "unknown value",
- "wikibase-snakview-snaktypeselector-novalue": "no value",
"wikibase-snakformat-invalid-value": "Invalid value.",
"wikibase-snakformat-propertynotfound": "Property not found.",
"wikibase-shortcopyrightwarning": "By clicking \"$1\", you agree to the
[[$2|terms of use]], and you irrevocably agree to release your contribution
under the $3.",
diff --git a/extensions/Wikibase/repo/i18n/ru.json
b/extensions/Wikibase/repo/i18n/ru.json
index 8d4ee7b..59197e6 100644
--- a/extensions/Wikibase/repo/i18n/ru.json
+++ b/extensions/Wikibase/repo/i18n/ru.json
@@ -14,7 +14,8 @@
"Shirayuki",
"Zolo",
"Александр Сигачёв",
- "Умар"
+ "Умар",
+ "Meshkov.a"
]
},
"wikibase-desc": "Хранилище структурированных данных",
@@ -24,7 +25,7 @@
"wikibase-cancel": "отменить",
"wikibase-add": "добавить",
"wikibase-addqualifier": "квалификатор",
- "wikibase-addreference": "добавить источник",
+ "wikibase-addreference": "добавить сноску",
"wikibase-save-inprogress": "Сохранение…",
"wikibase-remove-inprogress": "Удаление…",
"wikibase-label-empty": "Метка (название) отсутствует.",
diff --git a/extensions/Wikibase/repo/i18n/sv.json
b/extensions/Wikibase/repo/i18n/sv.json
index fa50726..3c68cea 100644
--- a/extensions/Wikibase/repo/i18n/sv.json
+++ b/extensions/Wikibase/repo/i18n/sv.json
@@ -17,7 +17,7 @@
"wikibase-cancel": "avbryt",
"wikibase-add": "lägg till",
"wikibase-addqualifier": "lägg till bestämningsord",
- "wikibase-addreference": "lägg till källa",
+ "wikibase-addreference": "lägg till referens",
"wikibase-save-inprogress": "Sparar...",
"wikibase-remove-inprogress": "Tar bort...",
"wikibase-label-empty": "Ingen etikett har definierats ännu.",
@@ -66,8 +66,8 @@
"wikibase-statementview-rank-preferred": "Föredragen rang",
"wikibase-statementview-rank-normal": "Normal rang",
"wikibase-statementview-rank-deprecated": "Orekommenderad rang",
- "wikibase-statementview-referencesheading-pendingcountersubject":
"{{PLURAL:$1|källa|källor}}",
- "wikibase-statementview-referencesheading-pendingcountertooltip":
"{{PLURAL:$1|En källa|$1 källor}} har ännu inte sparats",
+ "wikibase-statementview-referencesheading-pendingcountersubject":
"{{PLURAL:$1|referens|referenser}}",
+ "wikibase-statementview-referencesheading-pendingcountertooltip":
"{{PLURAL:$1|En referens|$1 referenser}} har ännu inte sparats",
"wikibase-snakview-property-input-placeholder": "egenskap",
"wikibase-snakview-unsupportedsnaktype": "Snak av typ \"$1\". Hantering
för denna typ av Snak stöds inte än.",
"wikibase-snakview-choosesnaktype": "Välj en värdetyp.",
diff --git a/vendor/autoload.php b/vendor/autoload.php
index cb8a47a..e701d36 100644
--- a/vendor/autoload.php
+++ b/vendor/autoload.php
@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer' . '/autoload_real.php';
-return ComposerAutoloaderInit16296f14943e09edcc41856734c24429::getLoader();
+return ComposerAutoloaderInit2144e31caaa93802acbc0151c20362db::getLoader();
diff --git a/vendor/composer/autoload_real.php
b/vendor/composer/autoload_real.php
index efce736..4a42726 100644
--- a/vendor/composer/autoload_real.php
+++ b/vendor/composer/autoload_real.php
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInit16296f14943e09edcc41856734c24429
+class ComposerAutoloaderInit2144e31caaa93802acbc0151c20362db
{
private static $loader;
@@ -19,9 +19,9 @@
return self::$loader;
}
-
spl_autoload_register(array('ComposerAutoloaderInit16296f14943e09edcc41856734c24429',
'loadClassLoader'), true, true);
+
spl_autoload_register(array('ComposerAutoloaderInit2144e31caaa93802acbc0151c20362db',
'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
-
spl_autoload_unregister(array('ComposerAutoloaderInit16296f14943e09edcc41856734c24429',
'loadClassLoader'));
+
spl_autoload_unregister(array('ComposerAutoloaderInit2144e31caaa93802acbc0151c20362db',
'loadClassLoader'));
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
@@ -45,14 +45,14 @@
$includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $file) {
- composerRequire16296f14943e09edcc41856734c24429($file);
+ composerRequire2144e31caaa93802acbc0151c20362db($file);
}
return $loader;
}
}
-function composerRequire16296f14943e09edcc41856734c24429($file)
+function composerRequire2144e31caaa93802acbc0151c20362db($file)
{
require $file;
}
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index dc1614d..760fdf8 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -896,12 +896,12 @@
"source": {
"type": "git",
"url":
"https://github.com/wikimedia/mediawiki-extensions-Wikibase.git",
- "reference": "6947a4383ae009d242c6de4dc0e669796a1d3070"
+ "reference": "0b98383077d1a9bafe39e142acef5377b8d616cf"
},
"dist": {
"type": "zip",
- "url":
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/6947a4383ae009d242c6de4dc0e669796a1d3070",
- "reference": "6947a4383ae009d242c6de4dc0e669796a1d3070",
+ "url":
"https://api.github.com/repos/wikimedia/mediawiki-extensions-Wikibase/zipball/0b98383077d1a9bafe39e142acef5377b8d616cf",
+ "reference": "0b98383077d1a9bafe39e142acef5377b8d616cf",
"shasum": ""
},
"require": {
@@ -921,7 +921,7 @@
"wikibase/data-model": "~0.7.3",
"wikibase/easyrdf_lite": "~0.8.1"
},
- "time": "2014-04-22 08:20:47",
+ "time": "2014-04-22 23:30:48",
"type": "mediawiki-extension",
"installation-source": "dist",
"autoload": {
diff --git a/vendor/diff/diff/Diff.i18n.php b/vendor/diff/diff/Diff.i18n.php
index 59311eb..eeb2776 100644
--- a/vendor/diff/diff/Diff.i18n.php
+++ b/vendor/diff/diff/Diff.i18n.php
@@ -11,25 +11,21 @@
* This shim maintains compatibility back to MediaWiki 1.17.
*/
$messages = array();
-if ( !function_exists( 'wfJsonI18nShim885ff9bd3068d2af' ) ) {
- function wfJsonI18nShim885ff9bd3068d2af( $cache, $code, &$cachedData ) {
- $codeSequence = array_merge( array( $code ),
$cachedData['fallbackSequence'] );
- foreach ( $codeSequence as $csCode ) {
- $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json";
- if ( is_readable( $fileName ) ) {
- $data = FormatJson::decode( file_get_contents(
$fileName ), true );
- foreach ( array_keys( $data ) as $key ) {
- if ( $key === '' || $key[0] === '@' ) {
- unset( $data[$key] );
- }
+$GLOBALS['wgHooks']['LocalisationCacheRecache'][] = function ( $cache, $code,
&$cachedData ) {
+ $codeSequence = array_merge( array( $code ),
$cachedData['fallbackSequence'] );
+ foreach ( $codeSequence as $csCode ) {
+ $fileName = __DIR__ . "/i18n/$csCode.json";
+ if ( is_readable( $fileName ) ) {
+ $data = FormatJson::decode( file_get_contents(
$fileName ), true );
+ foreach ( array_keys( $data ) as $key ) {
+ if ( $key === '' || $key[0] === '@' ) {
+ unset( $data[$key] );
}
- $cachedData['messages'] = array_merge( $data,
$cachedData['messages'] );
}
-
- $cachedData['deps'][] = new FileDependency( $fileName );
+ $cachedData['messages'] = array_merge( $data,
$cachedData['messages'] );
}
- return true;
- }
- $GLOBALS['wgHooks']['LocalisationCacheRecache'][] =
'wfJsonI18nShim885ff9bd3068d2af';
-}
+ $cachedData['deps'][] = new FileDependency( $fileName );
+ }
+ return true;
+};
diff --git a/vendor/wikibase/data-model/WikibaseDataModel.i18n.php
b/vendor/wikibase/data-model/WikibaseDataModel.i18n.php
index b458d19..eeb2776 100644
--- a/vendor/wikibase/data-model/WikibaseDataModel.i18n.php
+++ b/vendor/wikibase/data-model/WikibaseDataModel.i18n.php
@@ -11,25 +11,21 @@
* This shim maintains compatibility back to MediaWiki 1.17.
*/
$messages = array();
-if ( !function_exists( 'wfJsonI18nShim46f28c6dc340c181' ) ) {
- function wfJsonI18nShim46f28c6dc340c181( $cache, $code, &$cachedData ) {
- $codeSequence = array_merge( array( $code ),
$cachedData['fallbackSequence'] );
- foreach ( $codeSequence as $csCode ) {
- $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json";
- if ( is_readable( $fileName ) ) {
- $data = FormatJson::decode( file_get_contents(
$fileName ), true );
- foreach ( array_keys( $data ) as $key ) {
- if ( $key === '' || $key[0] === '@' ) {
- unset( $data[$key] );
- }
+$GLOBALS['wgHooks']['LocalisationCacheRecache'][] = function ( $cache, $code,
&$cachedData ) {
+ $codeSequence = array_merge( array( $code ),
$cachedData['fallbackSequence'] );
+ foreach ( $codeSequence as $csCode ) {
+ $fileName = __DIR__ . "/i18n/$csCode.json";
+ if ( is_readable( $fileName ) ) {
+ $data = FormatJson::decode( file_get_contents(
$fileName ), true );
+ foreach ( array_keys( $data ) as $key ) {
+ if ( $key === '' || $key[0] === '@' ) {
+ unset( $data[$key] );
}
- $cachedData['messages'] = array_merge( $data,
$cachedData['messages'] );
}
-
- $cachedData['deps'][] = new FileDependency( $fileName );
+ $cachedData['messages'] = array_merge( $data,
$cachedData['messages'] );
}
- return true;
- }
- $GLOBALS['wgHooks']['LocalisationCacheRecache'][] =
'wfJsonI18nShim46f28c6dc340c181';
-}
+ $cachedData['deps'][] = new FileDependency( $fileName );
+ }
+ return true;
+};
--
To view, visit https://gerrit.wikimedia.org/r/129133
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie24997f5c358bc39d513757cc2183f57c8e42b1c
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