Page MenuHomePhabricator

Lua support for Entity Schemas
Open, Needs TriagePublic

Description

As an editor I want to access Entity Schemas via Lua in order to build templates and Lua modules to work with Entity Schemas.

Problem:
The labels, descriptions, aliases and ShEx code of Entity Schema is not accessibly for Lua modules and templates. We should make it accessible.

Example:
This would be useful to create the equivalent templates to {{P|P123}} and {{Q|Q123}}. Those help immensely in discussions on-wiki.

BDD
GIVEN
AND
WHEN
AND
THEN
AND

Acceptance criteria:

  • The label, description, aliases and ShEx code of an Entity Schema is accessible via Lua

Open questions:

  • How exactly should the syntax look like?

See also: