Page MenuHomePhabricator

[RESEARCH SPIKE] Evaluate if some non-talk namespaces should have discussion tools enabled
Closed, ResolvedPublic

Description

As T245890 and T249036 make clear, there are pages outside the talk namespaces where communities host discussions and would like DiscussionTools to be enabled. [1]

This task is about looking at whether there are entire non-talk namespaces where we, along with volunteers, should consider enabling DiscussionTools.

To identify these "non-talk namespaces" where we should consider enabling DiscussionTools, we would like to see a list of namespaces where $wgExtraSignatureNamespaces [2] is enabled.

  • Rationale: if the "Signature" button is shown to contributors by default in a given non-talk namespace, we can assume conversations are happening in said namespace and therefore, DT would be relevant and valuable to the people talking on in these namespaces.

Done

  • Document the Wikipedia namespaces where the "Signature" button is shown by default.

  1. E.g. Le Bistro (fr.wiki), Helpdesk (nl.wiki), Village pump (en.wiki)
  2. https://www.mediawiki.org/wiki/Manual:$wgExtraSignatureNamespaces

Event Timeline

Here is the config for where the signature button is enabled (in addition to talk namespaces):

'wgExtraSignatureNamespaces' => [
	// Namespaces not listed in $wgContentNamespaces are not necessary here
	// for core, but reinforcing default config doesn't harm.
	'default' => [ NS_PROJECT, NS_HELP ],
	'+wikimedia' => [ NS_MAIN ],
	'+special' => [ NS_MAIN ],

	'+dewiki' => [ 100 ], // T145619 - Portal
	'+dewikivoyage' => [ 102 ], // T119420
	'+fiwiki' => [ 106 ], // T224215
	'+frwiki' => [ 102 ], // T127688 - Projet
	'+itwiki' => [ 102 ],
	'+nowikimedia' => [ 100 ], // T181625 - Prosjekt
	'+plwiki' => [ NS_USER, 100, 102 ], // T133978; 100 -> Portal, 102 -> Wikiproject
	'+ruwiki' => [ 104, 106 ], // T125509 and T213049
	'+ruwikinews' => [ 102 ], // T132241 - Комментарии
	'+sewikimedia' => [ 100 ], // T175363 - Projekt
	'+trwiki' => [ 102 ], // T166522 - Vikiproje
	'+wikimaniawiki' => [ 128 ], // T221062
]

For the vast majority of wikis it is just "Project" (usually renamed to "Wikipedia") and "Help".

For the vast majority of wikis it is just "Project" (usually renamed to "Wikipedia") and "Help".

@Esanders, two questions:

  1. Would I be correct to understand the above as saying the following? For each of the wikis listed in the snippet in T249180#6023498, the signature button is enabled in the namespace(s) that follow =>? E.g. on default wikis, the signature button is enabled in the Project and Help namespaces, in addition to all talk namespaces.
  1. What namespaces do the following codes refer to? I didn't see the below listed on https://en.wikipedia.org/wiki/Wikipedia:Namespace#Programming.
Namespace codeNamespace
100Portal
102???
104???
106???
128???

For the vast majority of wikis it is just "Project" (usually renamed to "Wikipedia") and "Help".

That depends on the project, wikipedia isn’t the only one :)

@Esanders, two questions:

  1. Would I be correct to understand the above as saying the following? For each of the wikis listed in the snippet in T249180#6023498, the signature button is enabled in the namespace(s) that follow =>? E.g. on default wikis, the signature button is enabled in the Project and Help namespaces, in addition to all talk namespaces.

That’s correct but for wikimedia’s and special wikis they use NS_MAIN as well.

  1. What namespaces do the following codes refer to? I didn't see the below listed on https://en.wikipedia.org/wiki/Wikipedia:Namespace#Programming.
Namespace codeNamespace
100Portal
102???
104???
106???
128???

You can find that under each wiki’s config, 1xx codes are used for custom namespaces.

wikinamespace IDNamespace Name
dewiki100Portal
dewikivoyage102Wahl
fiwiki106Wikiprojekti
frwiki102Projet
itwiki102Progetto
nowikimedia100Prosjekt
plwiki100Portal
plwiki102Wikiprojekt
ruwiki104Проект (translates to project)
ruwiki106Арбитраж (translates to arbcom)
ruwikinews102Комментарии
sewikimedia100Projekt
trwiki102Vikiproje (translates to wikiproject)
wikimaniawiki1282019

The full config for additional namespaces can be found at
https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/master/wmf-config/InitialiseSettings.php#6646

ppelberg claimed this task.