Page MenuHomePhabricator

wikilambdasearch_functions API: Allow search for input and output generic types
Closed, ResolvedPublic

Description

Description

Currently our wikilambdasearch_functions doesn't handle search of input and output generic types (e.g. Z881, Z882, Z883), so locating functions that handle lists or maps becomes complicated.

https://www.wikifunctions.org/wiki/Special:ApiSandbox#action=query&format=json&list=wikilambdasearch_functions&formatversion=2&wikilambdasearch_functions_search=&wikilambdasearch_functions_language=en&wikilambdasearch_functions_input_types=Z881

Desired behavior/Acceptance criteria

  • Searching for Z883 in input types should retrieve all functions that have maps as inputs

Completion checklist

Event Timeline

gengh claimed this task.
gengh updated the task description. (Show Details)

Change #1189832 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Enable input and output generic types to be filtered by the wikilambdasearch_functions API

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

Change #1189832 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Enable input and output generic types to be filtered by the wikilambdasearch_functions API

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

Jdforrester-WMF changed the task status from Open to In Progress.Sep 25 2025, 4:58 PM