When I enter a value in the Wikibase ui for the math datatype, I expect it to show some preview how the formatted result will look like. This should behave exactly like the preview popup for dates and perhaps the same functionality can be used.
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T325429 Live preview for certain data types | |||
| Open | None | T125522 Show preview when entering value for math data type | |||
| Invalid | None | T125771 [Task] Allow to inject new datatypes in javascript |
Event Timeline
The wikibase ui is the ui you see when editing an item. So if you click enter on an item page on a statement with a math value, I'd like to see a preview of how my formular gets rendered like it appears when editing a date-time value on wikidata.
For me it's still not clear, what are the main differences from the visual editor. Can't we just use the same software that is also been used in the visual editor.
@Esanders: What do you think?
The VE dialogs weren't designed to be separated from VE, so with all the dependencies it might end up being a bit heavy weight unless VE was already loaded. If you want lightweight you could probably make a simple preview gadget using Mathoid.
I think for a preview one can jus tender the input using the rendering functionality described in the hook. From this point, math should not need special treatment and should be handled like other complex types.
