Henning Snater has uploaded a new change for review. https://gerrit.wikimedia.org/r/84976
Change subject: Included item namespace and language code in repo_url ...................................................................... Included item namespace and language code in repo_url Change-Id: I1ad202a1417dbcf28c7225e93cf8debb649b90a2 --- M selenium_cuc/features/support/utils/utils.rb 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/76/84976/1 diff --git a/selenium_cuc/features/support/utils/utils.rb b/selenium_cuc/features/support/utils/utils.rb index 458078d..48cde50 100644 --- a/selenium_cuc/features/support/utils/utils.rb +++ b/selenium_cuc/features/support/utils/utils.rb @@ -40,7 +40,7 @@ end id = resp["entity"]["id"] - url = URL.repo_url(id) + url = URL.repo_url(ITEM_NAMESPACE + id + '?setlang=' + LANGUAGE_CODE) entity_data = ActiveSupport::JSON.decode(data) entity = {"id" => id, "url" => url, "label" => entity_data["labels"]["en"]["value"], "description" => entity_data["descriptions"]["en"]["value"]} return entity -- To view, visit https://gerrit.wikimedia.org/r/84976 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1ad202a1417dbcf28c7225e93cf8debb649b90a2 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Henning Snater <henning.sna...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits