Page MenuHomePhabricator

ResourceLoader for handling HTML building blocks for the entity UI
Closed, ResolvedPublic

Description

Implementing a template engine which can then be used in PHP as well as in JavaScript,
allowing us to define snippets of HTML with basic logic/placeholders.

This should be done using resource loader. Probably as simple as defining a custom module which submits templates in a similar fashion to mw.config variables.


Version: unspecified
Severity: normal
Whiteboard: storypoints: 13

Details

Reference
bz40887

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:08 AM
bzimport set Reference to bz40887.
bzimport added a subscriber: Unknown Object (MLST).

Implement this via a ResourceLoader module for getting HTML snippets to the client from the server, and the server will create all relevant snippets.

Verified in Wikidata demo time for sprint 20