aboutsummaryrefslogtreecommitdiffstats
path: root/languages/i18n
diff options
context:
space:
mode:
authorbpirkle <bpirkle@wikimedia.org>2025-03-12 09:15:30 -0500
committerbpirkle <bpirkle@wikimedia.org>2025-03-22 13:48:12 -0500
commit18b5d38a00a0f5b0698eeca4f05842956c264cf9 (patch)
tree9efe099954a724c7267f89f3c02bc54e643a35f9 /languages/i18n
parentcddfadaafee86214ec85a980f9e13f002c6c1dc8 (diff)
downloadmediawikicore-18b5d38a00a0f5b0698eeca4f05842956c264cf9.tar.gz
mediawikicore-18b5d38a00a0f5b0698eeca4f05842956c264cf9.zip
REST: add translation disclaimer to REST Sandbox
The REST Sandbox is currently implemented in Swagger UI, which does not support i18n for its own UI elements (it does happily display our internationalized OpenAPI spec). Add disclaimer text to the page if it is being viewed in a language other than English, so that users are aware this is a known issue (and is being worked on). Bug: T388399 Change-Id: I265aa1e7dce78715dd4977eeb460f1ca26dedbd9
Diffstat (limited to 'languages/i18n')
-rw-r--r--languages/i18n/en.json3
-rw-r--r--languages/i18n/qqq.json1
2 files changed, 3 insertions, 1 deletions
diff --git a/languages/i18n/en.json b/languages/i18n/en.json
index a01d410da60e..5cf58f636aa7 100644
--- a/languages/i18n/en.json
+++ b/languages/i18n/en.json
@@ -4397,7 +4397,8 @@
"newpages-showhide-redirect": "$1 redirects",
"newpages-showhide-registered": "$1 registered users",
"restsandbox": "REST Sandbox",
- "restsandbox-text": "This page provides a query builder for REST APIs. Note that API calls will interact with live wiki content.",
+ "restsandbox-text": "Use this page to experiment with the MediaWiki REST APIs. API calls made through the sandbox interface will interact with live wiki content and may modify the wiki. Refer to the [https://www.mediawiki.org/wiki/API:REST_API API documentation] for further details about API usage.",
+ "restsandbox-disclaimer": "Have feedback about this sandbox? Please leave it [https://www.mediawiki.org/wiki/MediaWiki_Interfaces_Team/Feature_Feedback/REST_Sandbox here].<br />Note: sandbox UI and navigation items do not yet support translation.<br />",
"restsandbox-select-api": "Choose the API to explore.",
"restsandbox-no-specs-configured": "No REST APIs were configured for exploration. Use the RestSandboxSpecs setting.",
"restsandbox-no-such-api": "The given API parameter is not supported: $1",
diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json
index efaafcdf86ff..2b031716cde8 100644
--- a/languages/i18n/qqq.json
+++ b/languages/i18n/qqq.json
@@ -4665,6 +4665,7 @@
"newpages-showhide-registered": "Option text in [[Special:NewPages]]. Parameters:\n* $1 - the \"show/hide\" command, with the text taken from either {{msg-mw|show}} or {{msg-mw|hide}}",
"restsandbox": "Title of Special:RestSandbox, also shown in the listing of special pages",
"restsandbox-text": "Message shown at the top of Special:RestSandbox.",
+ "restsandbox-disclaimer": "Message shown on non-English wikis near the top of Special:RestSandbox.",
"restsandbox-select-api": "Message shown at the top of Special:RestSandbox, next to the selector for choosing an API.",
"restsandbox-no-specs-configured": "Message shown on Special:RestSandbox when no API specs have been configured.",
"restsandbox-no-such-api": "Message shown on Special:RestSandbox when an unknown API is requested. \n\nParameters: $1 - The unknown API identifier",