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
WMDE-leszek triaged this task as Normal priority.
Jakob_WMDE closed this task as Resolved.
Jakob_WMDE claimed this task.
Jakob_WMDE removed Jakob_WMDE as the assignee of this task.Apr 20 2018, 11:37 AM
Jakob_WMDE reopened this task as Open.
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.

WMDE-leszek moved this task from To Do to Doing on the Wikidata-Turtles-Sprint#3 board.

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

Jakob_WMDE closed this task as Resolved.Apr 20 2018, 12:56 PM

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

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