Currently TexVC creates a parsetrree without math and semantics elemntents.
Add these so native renderer interface can be used properly.
Remove the previous way of generating Math element with Utility function from the tests.
| Stegmujo | |
| Mar 2 2023, 5:06 PM |
| F36889408: Screenshot 2023-03-02 at 22-22-07 Fourier - test.png | |
| Mar 2 2023, 9:26 PM |
| F36889295: Screenshot 2023-03-02 at 20.19.30.png | |
| Mar 2 2023, 7:20 PM |
| F36889285: Screenshot 2023-03-02 at 20-15-50 Preferences - test.png | |
| Mar 2 2023, 7:20 PM |
Currently TexVC creates a parsetrree without math and semantics elemntents.
Add these so native renderer interface can be used properly.
Remove the previous way of generating Math element with Utility function from the tests.
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Declined | Stegmujo | T310373 Make Mathoid Client a standalone class | |||
| Open | None | T327098 Implement Math Accessibility Features necessary for Intent attribute usage | |||
| Resolved | Physikerwelt | T302628 Implement native MathML rendering in Math | |||
| Resolved | Physikerwelt | T310211 Deliver visible MathML to the browser | |||
| Resolved | Stegmujo | T331047 Implicitly generate Math elements in MathML from the TexVC parsetree |
Change 893788 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):
[mediawiki/extensions/Math@master] Add minimal native MML mode
To test the new rendering mode, one has to add the following line to LocalSettings
$wgMathValidModes[] = 'native';
thereafter one can select the native MathML mode
When one adds https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Math/+/893818, one can see the current progress, for example, when looking at the Fourier transform page.
The root cause of the Error is
Error: Call to undefined method MediaWiki\Extension\Math\TexVC\Nodes\DQ::getArg()
I suggest adding types to the respective methods so that phan can spot these errors. Moreover, I would rather avoid using function names as arguments, as this creates in particular several empty arguments.