Page MenuHomePhabricator

Migrate all builtin functions to work with the new transpiled version
Open, In Progress, HighPublic

Description

Description

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • there is a set of bulitin functions that work with the abstractions in src/transpilation

Completion checklist

  • Z901
  • Z902
  • Z903
  • Z904
  • Z905
  • Z908
  • Z910
  • Z911
  • Z912
  • Z913
  • Z920
  • Z921
  • Z922
  • Z923
  • Z928
  • Z931
  • Z944
  • Z950
  • Z951
  • Z952
  • Z953
  • Z954
  • Z960
  • Z961
  • Z966
  • Z968
  • Z972
  • Z973
  • Z976
  • Z977
  • Z986
  • Z988
  • Z989
  • Z999

// Wikidata-related pre-defined implementations

  • Z6901
  • Z6902
  • Z6903
  • Z6904
  • Z6905
  • Z6906
  • Z6907
  • Z6908
  • Z6920
  • Z6921
  • Z6922
  • Z6924
  • Z6925
  • Z6926
  • Z6930
  • Z6931
  • Z6994
  • Z6995
  • Z6996

Event Timeline

ecarg changed the task status from Open to In Progress.Jan 8 2026, 7:42 AM
ecarg claimed this task.
DSantamaria changed the task status from In Progress to Open.Jan 8 2026, 3:13 PM
ecarg changed the task status from Open to In Progress.Jan 8 2026, 5:30 PM

BUILTIN_ABSTRACT_: migrate
BUILTIN_ADD_DEBUG_LOG_: WAIT; this one will be tricky
BUILTIN_CHARS_TO_STRING_: migrate
BUILTIN_CONS_: migrate
BUILTIN_ECHO_: migrate
BUILTIN_EMPTY_: IGNORE; this shouldn't be needed
BUILTIN_EMPTY_VALIDATOR_: IGNORE; this shouldn't be needed
BUILTIN_EQUALS_BOOLEAN_: migrate
BUILTIN_EQUALS_HTML_FRAGMENT_: migrate
BUILTIN_EQUALS_LIST_: migrate
BUILTIN_EQUALS_STRING_: migrate
BUILTIN_EQUALS_WIKIDATA_CLAIM_: migrate
BUILTIN_EQUALS_WIKIDATA_ENUM_: migrate
BUILTIN_EQUALS_WIKIDATA_ITEM_: migrate
BUILTIN_EQUALS_WIKIDATA_LEXEME: migrate
BUILTIN_EQUALS_WIKIDATA_LEXEME_FORM: migrate
BUILTIN_EQUALS_WIKIDATA_LEXEME_SENSE: migrate
BUILTIN_EQUALS_WIKIDATA_PROPERTY_: migrate
BUILTIN_EQUALS_WIKIDATA_STATEMENT_: migrate
BUILTIN_ERRORTYPE_TO_TYPE_: migrate
BUILTIN_ERROR_TYPE_VALIDATOR_: IGNORE; this shouldn't be needed
BUILTIN_FETCH_PERSISTENT_ZOBJECT_: migrate
BUILTIN_FETCH_WIKIDATA_ENTITIES_: migrate
BUILTIN_FETCH_WIKIDATA_ITEM_: migrate
BUILTIN_FETCH_WIKIDATA_LEXEME_: migrate
BUILTIN_FETCH_WIKIDATA_LEXEME_FORM_: migrate
BUILTIN_FETCH_WIKIDATA_LEXEME_SENSE_: migrate
BUILTIN_FETCH_WIKIDATA_PROPERTY_: migrate
BUILTIN_FILTER_FUNCTION_: migrate
BUILTIN_FIND_LEXEMES_FOR_ITEM_: migrate
BUILTIN_FIND_LEXEMES_FOR_LEXEME_SENSE_: migrate
BUILTIN_FIRST_: migrate
BUILTIN_FUNCTION_CALL_VALIDATOR_: IGNORE; this shouldn't be needed
BUILTIN_FUNCTION_CALL_VALIDATOR_INTERNAL_: IGNORE; this shouldn't be needed
BUILTIN_GENERIC_LIST_TYPE_: WAIT; this one will be tricky
BUILTIN_GENERIC_MAP_TYPE_: WAIT; this one will be tricky
BUILTIN_GENERIC_PAIR_TYPE_: WAIT; this one will be tricky
BUILTIN_GENERIC_WIKIDATA_ENUM_TYPE_: WAIT; this one will be tricky
BUILTIN_GET_ENVELOPE_: WAIT; this one will be tricky
BUILTIN_GET_ERROR_: WAIT; this one will be tricky
BUILTIN_HEAD_: migrate
BUILTIN_IF_: migrate
BUILTIN_IS_ERROR_TYPE_: migrate
BUILTIN_LANGUAGE_CODE_TO_LANGUAGE_: migrate
BUILTIN_MAP_FUNCTION_: migrate
BUILTIN_MULTILINGUAL_STRINGSET_VALIDATOR_: IGNORE; this shouldn't be needed
BUILTIN_MULTILINGUAL_TEXT_VALIDATOR_: IGNORE; this shouldn't be needed
BUILTIN_REDUCE_FUNCTION_: migrate
BUILTIN_REF_FROM_WIKIDATA_ENUM_: migrate
BUILTIN_REIFY_: migrate
BUILTIN_SAME_: migrate
BUILTIN_SCHEMA_VALIDATOR_: IGNORE; this shouldn't be needed
BUILTIN_SECOND_: migrate
BUILTIN_STRING_TO_CHARS_: migrate
BUILTIN_TAIL_: migrate
BUILTIN_THROW_: migrate
BUILTIN_TRIGGER_METADATA_: WAIT; this one will be tricky
BUILTIN_TRY_CATCH_: WAIT; this one will be tricky
BUILTIN_UNQUOTE_: migrate
BUILTIN_VALUE_BY_KEY_: migrate
BUILTIN_VALUES_BY_KEYS_: migrate
BUILTIN_VALUES_FROM_WIKIDATA_ENUM_: migrate
BUILTIN_WIKIDATA_ENUM_VALIDATOR_: IGNORE; this shouldn't be needed
BUILTIN_WRAP_MONOLINGUAL_TEXT_: migrate

Change #1229569 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-01-07-163903 to 2026-01-21-135031

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

Change #1229569 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-01-07-163903 to 2026-01-21-135031

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

Change #1234428 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-01-21-135031 to 2026-01-28-071101

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

Change #1234428 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-01-21-135031 to 2026-01-28-071101

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

add #TODO followup commented out task for error cases for Z6894: Same Wikidata enum' according to this update until error handling is complete (another todo task)

Change #1238721 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-01-28-071101 to 2026-02-11-121010

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

Change #1238721 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-01-28-071101 to 2026-02-11-121010

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

thanks for the description update; this checklist!!!