Ricordisamoa has uploaded a new change for review.

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

Change subject: Add i18n messages for the new 'wikibase-property' datatype
......................................................................

Add i18n messages for the new 'wikibase-property' datatype

* wikibase-listdatatypes-wikibase-property-head
* wikibase-listdatatypes-wikibase-property-body
mostly copied from the respective 'wikibase-item' equivalents

Also added as comments on SpecialListDatatypes::execute().

Reported by GZWDer on Wikidata:
https://www.wikidata.org/wiki/?oldid=182136236#MediaWiki_message_requests

Change-Id: I83a8fed4f3e7395caa2b83201682bc911c99c6ef
---
M repo/i18n/en.json
M repo/i18n/qqq.json
M repo/includes/specials/SpecialListDatatypes.php
3 files changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/59/181059/1

diff --git a/repo/i18n/en.json b/repo/i18n/en.json
index 6dedf61..626c5f0 100644
--- a/repo/i18n/en.json
+++ b/repo/i18n/en.json
@@ -390,6 +390,8 @@
        "wikibase-property-summary-special-create-property": "Created a [$2] 
property with {{PLURAL:$1|value|values}}",
        "wikibase-listdatatypes-wikibase-item-head": "Item",
        "wikibase-listdatatypes-wikibase-item-body": "Link to other items at 
the project. When a value is entered, the project's \"Item\" namespace will be 
searched for matching items.",
+       "wikibase-listdatatypes-wikibase-property-head": "Property",
+       "wikibase-listdatatypes-wikibase-property-body": "Link to properties at 
the project. When a value is entered, the project's \"Property\" namespace will 
be searched for matching properties.",
        "wikibase-listdatatypes-commonsmedia-head": "Commons media",
        "wikibase-listdatatypes-commonsmedia-body": "Link to files stored at 
Wikimedia Commons. When a value is entered, the \"File\" namespace on Commons 
will be searched for matching files.",
        "wikibase-listdatatypes-globe-coordinate-head": "Globe coordinate",
diff --git a/repo/i18n/qqq.json b/repo/i18n/qqq.json
index 89542b3..99efa7a 100644
--- a/repo/i18n/qqq.json
+++ b/repo/i18n/qqq.json
@@ -415,6 +415,8 @@
        "wikibase-property-summary-special-create-property": "Automatic edit 
summary when creating a property, and supplying one or more values. 
Parameters:\n* $1 - the number of values set (that is 0 - zero)\n* $2 - the 
language code of the entity page during creation",
        "wikibase-listdatatypes-wikibase-item-head": 
"{{Wikibase-datatype-head|Item|wikibase-item}}\n{{Identical|Item}}",
        "wikibase-listdatatypes-wikibase-item-body": 
"{{Wikibase-datatype-body|Item}}\n\nFor information about \"Iri\" and related 
terms, see [[:w:Internationalized resource identifier|Internationalized 
resource identifier]] and [[:w:URI scheme|URI scheme]].",
+       "wikibase-listdatatypes-wikibase-property-head": 
"{{Wikibase-datatype-head|Property|wikibase-property}}\n{{Identical|Property}}",
+       "wikibase-listdatatypes-wikibase-property-body": 
"{{Wikibase-datatype-body|Property}}\n\nFor information about \"Iri\" and 
related terms, see [[:w:Internationalized resource identifier|Internationalized 
resource identifier]] and [[:w:URI scheme|URI scheme]].",
        "wikibase-listdatatypes-commonsmedia-head": 
"{{Wikibase-datatype-head|Commons media|commonsMedia}}",
        "wikibase-listdatatypes-commonsmedia-body": 
"{{Wikibase-datatype-body|Commons media}}\n\nFor information about \"Iri\" and 
related terms, see [[:w:Internationalized resource identifier|Internationalized 
resource identifier]] and [[:w:URI scheme|URI scheme]].",
        "wikibase-listdatatypes-globe-coordinate-head": 
"{{Wikibase-datatype-head|Globe coordinate|globe-coordinate}}",
diff --git a/repo/includes/specials/SpecialListDatatypes.php 
b/repo/includes/specials/SpecialListDatatypes.php
index 087256e..6e66641 100644
--- a/repo/includes/specials/SpecialListDatatypes.php
+++ b/repo/includes/specials/SpecialListDatatypes.php
@@ -30,6 +30,8 @@
                // some of the datatype descriptions
                // 'wikibase-listdatatypes-wikibase-item-head'
                // 'wikibase-listdatatypes-wikibase-item-body'
+               // 'wikibase-listdatatypes-wikibase-property-head'
+               // 'wikibase-listdatatypes-wikibase-property-body'
                // 'wikibase-listdatatypes-commonsmedia-head'
                // 'wikibase-listdatatypes-commonsmedia-body'
                // 'wikibase-listdatatypes-geo-coordinate-head'

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I83a8fed4f3e7395caa2b83201682bc911c99c6ef
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <[email protected]>

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

Reply via email to