Page MenuHomePhabricator

Enable Edit Checks in additional namespaces
Open, Needs TriagePublic

Description

There is a request from Russian Wikipedia (via their discord) to enable Edit Checks / Suggestions in 2 additional namespaces:

  • their local Инкубатор, aka "Incubator" namespace (equivalent to Drafts: in Enwiki)
  • and in personal drafts, i.e. User-namespace (but perhaps limited to sub-pages?)

Rationale:
It would be helpful for newcomers to be able to use and learn from the default and locally implemented editchecks, in these other locations where articles are typically written.

Open questions:

  1. At Russian Wikipedia, are there any concerns/nuances that need to be considered before just implementing this proposed change? If yes, please explain/describe below. If no, please confirm in a comment.
  2. At other wikis, would we want to change the default to enable one/both of these new namespaces?

Event Timeline

See: T400506 for the implementation, and T387897 as a specific previous "turn it on for Drafts" ticket.

  1. Not really, I think. Incubator namespace hosts only short-lived page drafts, so there shouldn't be any concerns. User namespace can include different things apart from page drafts, but this is the same on all wikis.

I would recommend enabling Suggestion Mode in user drafts and the Incubator. Currently, in order to review an article using Suggestion Mode, it must first be moved to the main namespace, which is quite inconvenient.

As a result, both newcomers and experienced editors who are working on articles in their user drafts or in the Incubator cannot take advantage of Suggestion Mode.

It would be useful to add a configuration option that allows local projects to specify in which namespaces Suggestion Mode should be available.

If the implementation in T400506 gets merged, turning it on for drafts is going to be a matter of wikis who want it editing their editcheck-config.json to add ['*'] = {"extraNamespaces": ["Draft"]}. (That'd do it for everything. You could alternately configure it per check-type.)

An Admin/IntAdmin from Italian Wikipedia has also requested user sandbox pages (plus Draft namespace), at https://www.mediawiki.org/wiki/Talk:VisualEditor/Suggestion_Mode#namespaces_configuration
I noted there, that user sandboxes are complicated because AFAIK there isn't much consistency between wikis (or even within wikis) regarding categories/templates used to mark "article sandboxes" as distinct from "random notes page as a user-subpage" where we probably don't want to display suggestions - e.g. Only 21 wikis currently seem to have a dedicated templates for Template:Draft article (Q19723431) - but perhaps that would be sufficient as a start?
@Wellverywell is there a standard template/category used in Ruwiki for article drafts within the User: namespace?

An Admin/IntAdmin from Italian Wikipedia has also requested user sandbox pages (plus Draft namespace), at https://www.mediawiki.org/wiki/Talk:VisualEditor/Suggestion_Mode#namespaces_configuration
I noted there, that user sandboxes are complicated because AFAIK there isn't much consistency between wikis (or even within wikis) regarding categories/templates used to mark "article sandboxes" as distinct from "random notes page as a user-subpage" where we probably don't want to display suggestions - e.g. Only 21 wikis currently seem to have a dedicated templates for Template:Draft article (Q19723431) - but perhaps that would be sufficient as a start?
@Wellverywell is there a standard template/category used in Ruwiki for article drafts within the User: namespace?

How about using MediaWiki:Sandboxlink-subpage-name to identify user sandbox pages? That would cover the 80+ Wikipedia language versions (+ some sister projects) using the SandboxLink extension.

@Wellverywell is there a standard template/category used in Ruwiki for article drafts within the User: namespace?

There exists this template, but it's quite rarely used.

to mark "article sandboxes" as distinct from "random notes page as a user-subpage" where we probably don't want to display suggestions

Maybe it would still be ok...