Page MenuHomePhabricator

Release REST API Sandbox on 6 initial wikis
Closed, ResolvedPublic2 Estimated Story Points

Description

Description

Over the course of this quarter, we implemented multi-lingual support for REST API documentation through the REST Sandbox special page. As of today, the sandbox is only enabled on the testwiki. However, translation has already been happening across many languages. We would like to surface the translated experience to a handful of wikis that already have translation support, so that we may receive feedback from the community before launching to all wikis.

Conditions of acceptance

  • Enable the REST API Sandbox on an initial set of ~6 wikis:
    • ar
    • de
    • fr
    • he
    • ia
    • nl
    • zh-hans/zh-hant
    • Simple English Wikipedia (as "control" group) --> Alternatively, Wiktionary, Wiki Voyages, or some other english Wiki project.
  • Manually check a version of english
  • Announce launch on WikiTech News
  • Announce limited launch on wikitech-l distro
Implementation details

Reminder to NEVER try to open InitialseSettings.php in an IDE :) Use a dumb text editor or update through a script. PHP storm will die if you try to open it.

The initial set of wikis will be selected based on existing translation support. List of wikis with translations: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/a0bb8b1f7e9d237026628906f7e61f1faee3af01/includes/Rest/i18n

The following languages seem to have complete (or close to complete) translation support based on the number of translated strings:

  • ar
  • de
  • fr
  • he
  • ia
  • nl
  • zh-hans/zh-hant

Enabling the sandbox requires a configuration change.

Event Timeline

HCoplin-WMF triaged this task as Medium priority.
HCoplin-WMF updated the task description. (Show Details)
HCoplin-WMF set the point value for this task to 2.

Change #1131384 had a related patch set uploaded (by BPirkle; author: BPirkle):

[operations/mediawiki-config@master] REST: Enable REST Sandbox on an initial set of production wikis

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

Change #1131384 merged by jenkins-bot:

[operations/mediawiki-config@master] REST: Enable REST Sandbox on an initial set of production wikis

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

Mentioned in SAL (#wikimedia-operations) [2025-03-31T13:09:13Z] <tgr@deploy1003> Started scap sync-world: Backport for [[gerrit:1131384|REST: Enable REST Sandbox on an initial set of production wikis (T389407)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-31T13:14:18Z] <tgr@deploy1003> bpirkle, tgr: Backport for [[gerrit:1131384|REST: Enable REST Sandbox on an initial set of production wikis (T389407)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-03-31T13:27:34Z] <tgr@deploy1003> Finished scap sync-world: Backport for [[gerrit:1131384|REST: Enable REST Sandbox on an initial set of production wikis (T389407)]] (duration: 18m 21s)

Change #1132645 had a related patch set uploaded (by BPirkle; author: BPirkle):

[operations/mediawiki-config@master] REST: enable Specs module on certain wikis, adjust Sandbox modules

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

Change #1132645 merged by jenkins-bot:

[operations/mediawiki-config@master] REST: enable Specs module on certain wikis, adjust Sandbox modules

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

Mentioned in SAL (#wikimedia-operations) [2025-03-31T20:13:43Z] <tgr@deploy1003> Started scap sync-world: Backport for [[gerrit:1132645|REST: enable Specs module on certain wikis, adjust Sandbox modules (T389407)]], [[gerrit:1132197|Throttle exemption for Editathon at Universidad Nacional de La Plata - 9 April 2025 (T390290)]], [[gerrit:1132745|EmailAuth: Add EmailAuthRequireToken hook implementation (T390437)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-31T20:18:23Z] <tgr@deploy1003> superpes, bpirkle, tgr, kharlan: Backport for [[gerrit:1132645|REST: enable Specs module on certain wikis, adjust Sandbox modules (T389407)]], [[gerrit:1132197|Throttle exemption for Editathon at Universidad Nacional de La Plata - 9 April 2025 (T390290)]], [[gerrit:1132745|EmailAuth: Add EmailAuthRequireToken hook implementation (T390437)]] synced to the testservers (https://wikitech.wikimedia.org/wiki

Mentioned in SAL (#wikimedia-operations) [2025-03-31T20:26:43Z] <tgr@deploy1003> Finished scap sync-world: Backport for [[gerrit:1132645|REST: enable Specs module on certain wikis, adjust Sandbox modules (T389407)]], [[gerrit:1132197|Throttle exemption for Editathon at Universidad Nacional de La Plata - 9 April 2025 (T390290)]], [[gerrit:1132745|EmailAuth: Add EmailAuthRequireToken hook implementation (T390437)]] (duration: 12m 59s)