[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 physikerwelt phy...@ckurs.de changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #13 from physikerwelt phy...@ckurs.de --- It's a task of the Math extension to chose which rendering is best for the device of the user. The user should not be bothered with this decision. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Bug 48036 depends on bug 35480, which changed state. Bug 35480 Summary: Create an option for PNG+MathJax https://bugzilla.wikimedia.org/show_bug.cgi?id=35480 What|Removed |Added Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Bug 48036 depends on bug 53992, which changed state. Bug 53992 Summary: MathJax 2.3 upgrade and loading improvement https://bugzilla.wikimedia.org/show_bug.cgi?id=53992 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #10 from Matthew Flaschen mflasc...@wikimedia.org --- No, the preferences system (e.g. Special:Preferences) can not be used when logged out (see above and bug 20151). If this is implemented, it will probably work with a cookie (or perhaps localStorage in supported browsers, to avoid unnecessarily sending it to the server). If they are logged in, though, the toggle could also change the preference (even though they're not on the main preference screen) through the API. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #11 from Peter Krautzberger peter.krautzber...@mathjax.org --- Matthew, is there support for this feature at WMF? Since this would have to integrate into the UI, a design decision from WMF seems required. Perhaps those with an interest could meet up on IRC to collect ideas. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #12 from Matthew Flaschen mflasc...@wikimedia.org --- (In reply to comment #11) Matthew, is there support for this feature at WMF? Since this would have to integrate into the UI, a design decision from WMF seems required. Perhaps those with an interest could meet up on IRC to collect ideas. I'm not working on Math, so I don't want to be a bottleneck. But a good next step might be to suggest a user interface on the design list (https://lists.wikimedia.org/mailman/listinfo/design-l). That's open to everyone, not just WMF people. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Yuvi Panda yuvipa...@gmail.com changed: What|Removed |Added CC||yuvipa...@gmail.com --- Comment #8 from Yuvi Panda yuvipa...@gmail.com --- I see that MathJax has been added for TWN, and the patches linked to have been merged. Are we closer to getting this to be more widely toggleable? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #9 from physikerwelt phy...@ckurs.de --- https://gerrit.wikimedia.org/r/#/c/85801/ Removes the rendering mode MathJaX and adds an orthogonal option to use MathJaX (a check-box) independent of the rendering mode. Thus the user will see the the images immediately before MathJaX is loaded and tries to replace them with something better. Technically, we introduce the user option 'mathJax' in the following way to the preferences. $defaultPreferences['mathJax'] = array( 'type' = 'toggle', 'label-message' = 'mw_math_mathjax', 'section' = 'rendering/math', ); I'm not sure if users that are not signed in can somehow find that option... At least I did not found the section 'rendering/math' when I logged out. Maybe we can add a context menu to the png images in a later step... once MathJaX 2.3 is released. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Matthew Flaschen mflasc...@wikimedia.org changed: What|Removed |Added Depends on||35480 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Bug 48036 depends on bug 35038, which changed state. Bug 35038 Summary: Make MathJax menus translatable [upstream] https://bugzilla.wikimedia.org/show_bug.cgi?id=35038 What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Frédéric Wang fred.w...@free.fr changed: What|Removed |Added Depends on||53992 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #7 from Frédéric Wang fred.w...@free.fr --- So to summarize the status here: - The localization should be ready with MathJax 2.3. We are waiting for MathJax be accepted by TranslateWiki, but they agree that the JSON data will work: http://translatewiki.net/wiki/Thread:Support/Adding_MathJax - I've submitted an easy patch to merge the output of the texvc and MathJax modes as well as using the PNG images as a preview before MathJax rendering: https://gerrit.wikimedia.org/r/#/c/83399/ - With MathJax 2.3, it should be possible to use MathJax's unpacked version and load them with the ResourceLoader. I didn't really want to submit a patch for the master branch since MathJax 2.3 is still in development but Moritz told me to send one to the dev branch: https://gerrit.wikimedia.org/r/#/c/83117/ (apparently, this dev branch is actually just Moritz's LaTeXML branch that has been renamed and IIUC the patches are directly reviewed and accepted on the master branch. So I'll probably need to rewrite a patch for the master branch when MathJax 2.3 is released) After these points are addressed, I think the MathJax option could be exposed to all visitors. Any thoughts? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #6 from Frédéric Wang fred.w...@free.fr --- (In reply to comment #5) If we can serve the same HTML to all anons, but use a cookie (which the server doesn't even need to look at) to determine what JS runs (MathJax vs. no MathJax), it shouldn't cause Squid or Varnish fragmentation. This should be possible, since the math images currently served to all anons already contain TeX as an alt attribute. To follow-up on this, my experimental commit https://gerrit.wikimedia.org/r/#/c/78466/ generates the following HTML code: span class=MathJax_Previewimg .../spanscript type=math/tex.../script so this can be used for both the MathJax and no-MathJax modes: - In the no-MathJax mode, the image will be rendered and the script hidden. - In the MathJax mode, the image will be rendered as a preview until MathJax replaces it by its HTML output. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #4 from Frédéric Wang fred.w...@free.fr --- So from the see also bug 20151, it seems that this feature is very unlikely to happen. Or are WikiMedia people inclined to do an exception for the Math extension? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Matthew Flaschen mflasc...@wikimedia.org changed: What|Removed |Added CC||roan.katt...@gmail.com --- Comment #5 from Matthew Flaschen mflasc...@wikimedia.org --- I think the main concern in bug 20151 is that the HTML cache for anons would be fragmented. If we can serve the same HTML to all anons, but use a cookie (which the server doesn't even need to look at) to determine what JS runs (MathJax vs. no MathJax), it shouldn't cause Squid or Varnish fragmentation. This should be possible, since the math images currently served to all anons already contain TeX as an alt attribute. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Helder mybugs.m...@gmail.com changed: What|Removed |Added CC||mybugs.m...@gmail.com See Also||https://bugzilla.wikimedia. ||org/show_bug.cgi?id=20151 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Bug 48036 depends on bug 35038, which changed state. Bug 35038 Summary: Make MathJax menus translatable [upstream] https://bugzilla.wikimedia.org/show_bug.cgi?id=35038 What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Priority|Unprioritized |Low -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Bug 48036 depends on bug 35038, which changed state. Bug 35038 Summary: Make MathJax menus translatable [upstream] https://bugzilla.wikimedia.org/show_bug.cgi?id=35038 What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #3 from Peter Krautzberger peter.krautzber...@mathjax.org --- Hi Moritz, Thanks for pointing to that document. My proposal here doesn't really affect the roadmap though, no? Peter. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #2 from physikerwelt phy...@ckurs.de --- Hi Peter, I created a roadmap for the future of the Math extension. Maybe we can get a coherent vision there. http://www.mediawiki.org/wiki/Extension:Math/Roadmap Best Moritz -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 Matthew Flaschen mflasc...@wikimedia.org changed: What|Removed |Added CC||peter.krautzberger@mathjax. ||org See Also||https://bugzilla.wikimedia. ||org/show_bug.cgi?id=36496 Depends on||35038 Severity|normal |enhancement -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 48036] Add option for all visitors to toggle Math modes
https://bugzilla.wikimedia.org/show_bug.cgi?id=48036 --- Comment #1 from Peter Krautzberger peter.krautzber...@mathjax.org --- Hi Matthew Thanks for posting this here. Just to repeat it hear: MathJax v2.2 beta has been released, which includes a full localization module. http://www.mathjax.org/mathjax-v2-2-beta-now-available/ To repost the jquery code for experimenting: $('img.tex').wrap('span class=MathJax_Preview /'); // this will allow MathJax to replace the images with its rendering on the fly $('.MathJax_Preview').after(function() { tex = $(this).find('img').attr(alt); //grab the TeX code return script type='math/tex' + tex + /script ; //add the script behind the MathJax_preview TODO handle display style }); $.getScript('https://c328740.ssl.cf1.rackcdn.com/mathjax/2.1-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'); //run MathJax People can put this into a bookmarklet to give it a test run. It's missing a) the correct configuration file for Wikipedia and b) support for display math. Maybe somebody can correct that. Note that this way, the user will always see math on the page -- MathJax will typeset an equation and replace the image only with the final output. There's a configuration option in MathJax called EqnChunk that allows you to specify how many equations get typeset before placing them in the page. The default is relatively high to avoid flickering, but in this case it might be worth exploring a low setting. Peter. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l