Topic on Extension talk:SimpleMathJax

SimpleMathjax and Extension:MobileFrontend don't work

9
Summary by Sophivorus

Fixed in version 0.8.3+

Gdwikimeca (talkcontribs)

Hi,

I'm using mediaWiki 1.31.

I install SimpleMathJax and it work well. Thanks for this extension.

But when i use Extension:MobileFrontend for a phone or tablet displaying, math formulas are not displayed.

Is there a way to fix this problem?

Thanks

Libattery (talkcontribs)

You can use extension:math if you can install.

but there are pros and cons.

extension:math

pro - work with MobileFronted well. work with Visaul Editor ...

con - you can't use \tag, \label \eqref ...

extension:simplemathjax

con - don't work with MobileFronted ...

pro - you can use \tag, \label, \eqref ...

Jmkim dot com (talkcontribs)
Varlin (talkcontribs)

Same issue for me. When using MobileFrontend, the formulas are displayed in raw math syntax (not rendered). I do use version 0.8.1 (and MW 1.34.0)

Perfect Reason (talkcontribs)

Hello!

I've made this quick fix in my fork to make the extension work with MobileFrontend.

P.S. When I originally posted it, the fork used MathJax 2.7.3 for the mobile view. Today I've updated it, so that MathJax 3.1.4 is being used for both desktop and mobile view.

Varlin (talkcontribs)

Thanks for the sharing, but I can't make it work (MW 1.35.3, using only SimpleMathJax, without integration in VE).

Perfect Reason (talkcontribs)

Thanks for trying. Yeah, I have no idea why it works in some cases and doesn't in others, but it still works for me in MW 1.36.2 🤷.

Varlin (talkcontribs)

You know what ? Now it works XD

Sophivorus (talkcontribs)

Hi! See my fix at https://github.com/Appropedia/SimpleMathJax I did a pull request to get it upstream, but until then, feel free to clone the Appropedia fork to get the fix, or see the diff to manually redo the changes on your own source code (they're quite trivial). Cheers!