jenkins-bot has submitted this change and it was merged.

Change subject: Make the wbgetentities examples look nicer
......................................................................


Make the wbgetentities examples look nicer

Change-Id: I27e1953d48a862b8f2a7563dee30dd7357a22fdb
---
M repo/includes/api/GetEntities.php
1 file changed, 11 insertions(+), 11 deletions(-)

Approvals:
  Tobias Gritschacher: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/includes/api/GetEntities.php 
b/repo/includes/api/GetEntities.php
index 9ff7863..0f822ad 100644
--- a/repo/includes/api/GetEntities.php
+++ b/repo/includes/api/GetEntities.php
@@ -385,21 +385,21 @@
        protected function getExamples() {
                return array(
                        "api.php?action=wbgetentities&ids=Q42"
-                       => "Get entity with ID Q42 with all available 
attributes in all available languages",
-                       "api.php?action=wbgetentities&ids=P2"
-                       => "Get entity with ID P2 with all available attributes 
in all available languages",
-                       "api.php?action=wbgetentities&ids=Q42|P2"
-                       => "Get entities with IDs Q42 and p2 with all available 
attributes in all available languages",
+                       => "Get entities with ID Q42 with all available 
attributes in all available languages",
+                       "api.php?action=wbgetentities&ids=P17"
+                       => "Get entities with ID P17 with all available 
attributes in all available languages",
+                       "api.php?action=wbgetentities&ids=Q42|P17"
+                       => "Get entities with IDs Q42 and P17 with all 
available attributes in all available languages",
                        "api.php?action=wbgetentities&ids=Q42&languages=en"
-                       => "Get entity with ID Q42 with all available 
attributes in English language",
+                       => "Get entities with ID Q42 with all available 
attributes in English language",
                        
"api.php?action=wbgetentities&ids=Q42&languages=ii&languagefallback="
-                       => "Get entity with ID q42 with all available 
attributes in any possible fallback language for the ii language",
+                       => "Get entities with ID Q42 with all available 
attributes in any possible fallback language for the ii language",
                        "api.php?action=wbgetentities&ids=Q42&props=labels"
-                       => "Get entity with ID Q42 showing all labels in all 
available languages",
-                       "api.php?action=wbgetentities&ids=P2|P3&props=datatype"
-                       => "Get entities with IDs P2 and P3 showing only 
datatypes",
+                       => "Get entities with ID Q42 showing all labels in all 
available languages",
+                       "api.php?action=wbgetentities&ids=P17|P3&props=datatype"
+                       => "Get entities with IDs P17 and P3 showing only 
datatypes",
                        
"api.php?action=wbgetentities&ids=Q42&props=aliases&languages=en"
-                       => "Get entity with ID Q42 showing all aliases in 
English language",
+                       => "Get entities with ID Q42 showing all aliases in 
English language",
                        
"api.php?action=wbgetentities&ids=Q1|Q42&props=descriptions&languages=en|de|fr"
                        => "Get entities with IDs Q1 and Q42 showing 
descriptions in English, German and French languages",
                        
'api.php?action=wbgetentities&sites=enwiki&titles=Berlin&languages=en'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I27e1953d48a862b8f2a7563dee30dd7357a22fdb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Anja Jentzsch <[email protected]>
Gerrit-Reviewer: Ataherivand <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Daniel Werner <[email protected]>
Gerrit-Reviewer: Denny Vrandecic <[email protected]>
Gerrit-Reviewer: Henning Snater <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Jens Ohlig <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: John Erling Blad <[email protected]>
Gerrit-Reviewer: Liangent <[email protected]>
Gerrit-Reviewer: Lydia Pintscher <[email protected]>
Gerrit-Reviewer: Markus Kroetzsch <[email protected]>
Gerrit-Reviewer: Nikola Smolenski <[email protected]>
Gerrit-Reviewer: Nilesh <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to