Danmichaelo has uploaded a new change for review. https://gerrit.wikimedia.org/r/133940
Change subject: Update API doc: replace deprecated language code ...................................................................... Update API doc: replace deprecated language code Replacing 'no' with 'nb' in an example, since 'no' is deprecated on Wikidata. See https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2014/05#.27als.27.2F.27gsw.27.3F_.27de-formal.27.3F Change-Id: I9be0981e68ecc39f31895d19d8d6bf88a1ad4cd5 --- M repo/includes/api/EditEntity.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/40/133940/1 diff --git a/repo/includes/api/EditEntity.php b/repo/includes/api/EditEntity.php index 93e5473..55e2790 100644 --- a/repo/includes/api/EditEntity.php +++ b/repo/includes/api/EditEntity.php @@ -808,8 +808,8 @@ // Setting stuff 'api.php?action=wbeditentity&id=Q42&data={"sitelinks":{"nowiki":{"site":"nowiki","title":"København"}}}' => 'Sets sitelink for nowiki, overwriting it if it already exists', - 'api.php?action=wbeditentity&id=Q42&data={"descriptions":{"no":{"language":"no","value":"no-Description-Here"}}}' - => 'Sets description for no, overwriting it if it already exists', + 'api.php?action=wbeditentity&id=Q42&data={"descriptions":{"nb":{"language":"nb","value":"nb-Description-Here"}}}' + => 'Sets description for nb, overwriting it if it already exists', 'api.php?action=wbeditentity&id=Q42&data={"claims":[{"mainsnak":{"snaktype":"value","property":"P56","datavalue":{"value":"ExampleString","type":"string"}},"type":"statement","rank":"normal"}]}' => 'Creates a new claim on the item for the property P56 and a value of "ExampleString"', 'api.php?action=wbeditentity&id=Q42&data={"claims":[{"id":"Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F","remove":""},{"id":"Q42$GH678DSA-01PQ-28XC-HJ90-DDFD9990126X","remove":""}]}' -- To view, visit https://gerrit.wikimedia.org/r/133940 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9be0981e68ecc39f31895d19d8d6bf88a1ad4cd5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Danmichaelo <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
