https://bugzilla.wikimedia.org/show_bug.cgi?id=40886
Web browser: ---
Bug #: 40886
Summary: Investigate possibility of using a JS/PHP template
engine for rendering DataValue
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Using 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.
A engine suited for our needs had to be chosen, it had to be investigated
whether any options are already used by other MediaWiki extensions so we could
re-use or integrate into core or a separate extension (The actual
implementation should probably be done with a resource loader module).
This would move a lot of code out of the EntityView classes, the HTML wouldn't
have to be generated with the static Html class, which would look a lot
prettier and less confusing since the whole markup could just be written as
such.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l