Page MenuHomePhabricator

Adjust definition of the wikibase-form datatype
Closed, ResolvedPublic

Description

Defined in WikibaseLexeme.datatypes.php.
Includes:

  • value type should be change to be wikibase-entityid
  • validator callback should be added
  • formatter callback should be adjusted to use formatters created in T192000

Event Timeline

WMDE-leszek created this task.
Jakob_WMDE claimed this task.
Jakob_WMDE moved this task from To Do to Done on the Wikidata-Turtles-Sprint#3 board.
Jakob_WMDE removed Jakob_WMDE as the assignee of this task.
Jakob_WMDE moved this task from Done to To Do on the Wikidata-Turtles-Sprint#3 board.

Whoops, it turns out that just two of the points were completed. Formatter and value-type are done in separate patches, but validator callback still needs to be done.

Change 427897 had a related patch set uploaded (by WMDE-leszek; owner: WMDE-leszek):
[mediawiki/extensions/WikibaseLexeme@master] Defined validators for form data type

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

Change 427897 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Defined validators for form data type

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