Page MenuHomePhabricator

Namespaces selector control
Closed, ResolvedPublic

Description

The Special:EditGrowthConfig contains a control for selecting one or more namespaces from the local wiki. The exisiting version uses HTMLNamespacesMultiselectField from HTML form on its OOUI display. We need a new control implemented in Vue as a replacement

Config property: GEHelpPanelExcludedNamespaces

Data schema

"GEHelpPanelExcludedNamespaces": {
  "type": "array",
    "items": {
      "type": "number"
      }
  },

Existing implementation:

Screenshot 2024-02-15 at 19.00.45.png (1×1 px, 165 KB)

Figma design

Event Timeline

Change 1009846 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/CommunityConfiguration@master] [WIP] Editor: add Namespaces selector control

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

Change #1009846 merged by jenkins-bot:

[mediawiki/extensions/CommunityConfiguration@master] Editor: add Namespaces selector control

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

@Sgs - the namespace selectors are not present in any module on eswiki beta Communityconfiguration. Is there any way to check it locally? Or it'd be visible in betalabs soon?

@Sgs - the namespace selectors are not present in any module on eswiki beta Communityconfiguration. Is there any way to check it locally? Or it'd be visible in betalabs soon?

That's sadly correct, it will be visible once we resolve T360472. I'm actively working on it so it should be soon, 2-5 days hopefully.

Etonkovidova added a subscriber: JFernandez-WMF.

For @JFernandez-WMF review:

  • the placeholder text is not present in the form
Screen Shot 2024-04-29 at 5.35.21 PM.png (544×1 px, 112 KB)
Screen Shot 2024-04-29 at 5.35.53 PM.png (900×1 px, 138 KB)

Thank you @Etonkovidova : ) Looks good to me.

IIRC, the Placeholder support is being tracked in T363051: Add support for field placeholders, so we can follow up there.