Currently Section Translation provides an option to publish in the sandbox. However, the section is published in a sub-page of the user page. This is problematic since it does not provide control on where the page is created.
This ticket proposes for sections to be added to the sandbox when users select the option to publish on the sandbox.
- We need to identify how is the sandbox defined on each wiki. On each wiki it has a different name, but I'd expect it to be possible to retrieve it programmatically since it is shown as a personal link.
- We can use the “makeSandboxLink” function of SandboxLink extension
- Define a fallback approach in case the wiki does not have a sandbox page defined.
- We can keep the current approach (where a sub-page under the user page is created) as a fallback.
This ticket is a follow-up to T260130: Preview and publish: Support publishing in sandbox