Although publishing directly to namespace has shown to work well as the default (T76618), some users request ways to publish to their user namespace. Although this is currently supported (a) by changing the translation title or (b) through a dialog when an article may be overwritten, we can surface a bit more those options.
This ticket proposes to include a settings menu next to the publish button (e.g., a cog icon) that provides the following options:
- **Publish in user namespace/main namespace.** This will adjust the article title accordingly for the article to be published in the right place.
- **Include a translation template.** For those communities where translations are required to be marked with a template, this can avoid some additional steps editing the published article.
- **Mark as work in progress when published.** For those articles that need some fixing that cannot be done in Content Translation, we may want to allow users to signal that the editor is still working on them. Some communities may have templates we can use for that purpose on the published article.
- **Custom edit summary.** Allows to customise the edit summary to be used when publishing. This would allow editors to indicate their contribution is part of an editathon/campaign [[ https://tools.wmflabs.org/hashtags/search/wikiarte?lang=ca | by using a hashtag ]]. The user contributed text may appear after the default one if the default is needed for attribution (i.e., point to the original article translated).
# Proposed solution
A settings menu next to the publish button would help with the discovery of the settings. In the menu three sections are provided:
- Namespace selection. Changing the selection in the menu will update the article title. Changing the article title will keep the setting selection consistent. The option to publish in the Draft namespace, will be available only for those wikis where the draft namespace is available.
- Summary. The content provided should not replace the automatic publish message but be added after it.
- More options. This should be customisable by each community, each checkbox results in the addition of a specific template that is useful to mark some relevant information regarding the translation.
We don't need to provide support for all options at the same time, so feel free to support this in smaller iterations.