Page MenuHomePhabricator

Restrict ZObjectType that chooses typed list to only search and return Z4s
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Create a new ZObject in the Special:CreateZObject special page
  • On the ZObject type selector, choose Typed list
  • On the ZObjectSelector to the right of "Typed list ->" the user should be able to choose the type of items that the list will contain

Observed behavior:

  • This ZObjectSelector allows to search and choose any kind of ZObject, not only types

Expected behavior:

  • This ZObjectSelector should only search, return and allow selection of ZObjects of type Z4.

Additional details:

  • The ZObjectSelector has an input property that restricts the objects requested to the wikilambdasearch_labels API called "type". Setting this property to Z4 should fix this issue

Event Timeline

Change 811221 had a related patch set uploaded (by AdesojiThisDot; author: AdesojiThisDot):

[mediawiki/extensions/WikiLambda@master] Restrict ZObjectType that chooses typed list to only search and return Z4s

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

Change 811221 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Restrict ZObjectType that chooses typed list to only search and return Z4s

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