Page MenuHomePhabricator

fredw (Frédéric Wang)
User

Projects (2)

Today

  • No visible events.

Tomorrow

  • No visible events.

Sunday

  • No visible events.

User Details

User Since
Oct 31 2014, 9:09 AM (580 w, 8 h)
Availability
Available
LDAP User
Unknown
MediaWiki User
Fredw wiki [ Global Accounts ]

Recent Activity

Oct 17 2022

fredw renamed T320910: Remove namedspaces length values in MathML from Deprecate/Remove namedspaces length values in MathML to Remove namedspaces length values in MathML.
Oct 17 2022, 7:10 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Patch-For-Review, Math, Mathoid
fredw added a comment to T320910: Remove namedspaces length values in MathML.

To elaborate a bit, this was just an example. More generally, we should use the substitution described here:

Oct 17 2022, 6:53 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Patch-For-Review, Math, Mathoid

Sep 7 2017

fredw added a comment to T175060: <math> does not render correctly on Android app preview.
Sep 7 2017, 8:01 AM · Math, Wikipedia-Android-App-Backlog, Android-app-Bugs

Feb 8 2017

fredw added a comment to T144445: Spike 2h: Certain browser extensions result in 2 math images on mobile view.

Le 08/02/2017 à 19:13, Physikerwelt a écrit :

Physikerwelt added a subscriber: fredw.
Physikerwelt added a comment.

@Jdlrobson https://phabricator.wikimedia.org/p/Jdlrobson/ @fredw
https://phabricator.wikimedia.org/p/fredw/ is still actively maintaining the
package as far as I know... how would you change the selector?

Adapting the CSS and updating the extension would be straightforward,
hopefully this can be done in a backward compatible way (i.e. the new
version of the addon would still work will previous versions of mediawiki).

Feb 8 2017, 6:25 PM · Unplanned-Sprint-Work, Reading-Web-Sprint-91-🐔🍔, Math, Spike, Web-Team-Backlog-Archived, MobileFrontend, Mobile

Oct 13 2016

fredw added a comment to T147319: No MathML rendering in Firefox - SVG or PNG is used.

Le 13/10/2016 à 11:58, Physikerwelt a écrit :

However, I think we should enable MathML without plugin (at least for some known
good browser / OS combinations).
@fredw https://phabricator.wikimedia.org/p/fredw/ What are your thoughts on that?

I don't think things have changed much since the last time you asked.
This will require coordination between various actors, so we should
probably discuss that in the MathML association.

Oct 13 2016, 11:14 AM · WMF-General-or-Unknown, Math

Jun 2 2016

fredw added a comment to T136709: Make math using MathML / SVG / PNG mode print properly.

Just a note: some people use CSS to force native MathML to be displayed
(in a user stylesheet, addon etc) so the optimization of not loaded SVG
images still makes sense for them.

Jun 2 2016, 6:54 AM · MW-1.28-release (WMF-deploy-2016-05-31_(1.28.0-wmf.4)), MW-1.28-release (WMF-deploy-2016-06-07_(1.28.0-wmf.5)), Patch-For-Review, Services, Math, Mathoid

Apr 24 2016

fredw added a comment to T132607: Increase font size for MathML.

Le 24/04/2016 20:32, Edokter a écrit :

@fredw, the current release version (45) still uses the internal font stack, which is why I find it odd we override it in the first place. But if the internal stack is removed, we may as well leave it.

I think the rule was added in MediaWiki before
https://bugzilla.mozilla.org/show_bug.cgi?id=947654 was fixed. The
internal stack is unlikely to be removed soon (except if in the very
long term all text fonts get a math companion and then Gecko can switch
to math font "automatically").

Apr 24 2016, 6:49 PM · TCB-Team (now WMDE-TechWish), German-Community-Wishlist, Math, Services
fredw added a comment to T78046: Implement a single math rendering mode that works across all devices (MathML / SVG using mathoid).

Note that I was rather talking about that add-on:
https://addons.mozilla.org/en-US/firefox/addon/mathjax-native-mathml/

Apr 24 2016, 4:38 PM · TCB-Team (now WMDE-TechWish), German-Community-Wishlist, Performance Issue, Math, MediaWiki-General, Parsoid, Services, Mathoid
fredw added a comment to T132607: Increase font size for MathML.

On
https://de.wikipedia.org/wiki/MediaWiki_Diskussion:Common.css#Schriftgr.C3.B6.C3.9Fe_f.C3.BCr_MathML,
there is a reference to
https://dxr.mozilla.org/mozilla-central/source/modules/libpref/init/all.js
and to the x-math properties.

Apr 24 2016, 3:59 PM · TCB-Team (now WMDE-TechWish), German-Community-Wishlist, Math, Services

Apr 13 2016

fredw added a comment to T132607: Increase font size for MathML.

Note that this should not be needed if the math font style is consistent
with the one of the text font (e.g. Latin Modern with Latin Modern
Math). The percent is a bit arbitrary and won't work for everybody.
Unfortunately very few standard fonts have a math companion and few math
fonts are available on OS at the moment...

Apr 13 2016, 6:01 PM · TCB-Team (now WMDE-TechWish), German-Community-Wishlist, Math, Services

Mar 5 2016

fredw added a comment to T128950: Make SVG with PNG fallback mode.

Also, note that one can use CSS to select between MathML, SVG or PNG:

Mar 5 2016, 4:25 PM · Math

Jan 26 2016

fredw added a comment to T105311: The MathML code for \not should not use <mpadded> hack.

menclose updiagonalstrike represents some content that is struck out and
this can be exposed as it into the accessible tree. ATs do not need any
heuristics to transmit that presentation to the user and following's
Abraham Nemeth idea it is then up to the user to deduce the mathematical
meaning. This is the best you can do with presentation MathML to make
things accessible. As a comparison, MathJax's solution is really a
visual-only hack: a zero-width BIG SOLIDUS followed by the content.

Jan 26 2016, 7:07 AM · Accessibility, Mathoid, Math

Dec 25 2015

fredw added a comment to T122400: Increased line height when use formula inside a paragraph.

Note that this is already fixed in Debian testing. I'm note familiar
with Ubuntu process and how they import Debian's packages but the next
release Ubuntu 16.04 LTS will be published next April:
https://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Ubuntu_16.04_LTS_.28Xenial_Xerus.29

Dec 25 2015, 11:11 AM · Mathoid, Math

Dec 24 2015

fredw added a comment to T122400: Increased line height when use formula inside a paragraph.

This is a bug in the Latin Modern Math version distributed by Ubuntu.
You should ask your distro maintainer to upgrade to version 1.959. See
https://bugs.launchpad.net/ubuntu/+source/lmodern/+bug/1502701. For now,
you can install the latest version from the official web site.

Dec 24 2015, 3:09 PM · Mathoid, Math

Nov 10 2015

fredw added a comment to T105310: Need a way to generate MathML for contour/surface/volume integrals .

I think unicode-math is also based on David Carlisle's unicode.xml so that should be the same commands. (but please check)

Nov 10 2015, 11:05 AM · Math, Accessibility, Mathoid
fredw added a comment to T105310: Need a way to generate MathML for contour/surface/volume integrals .

I don't have preference, but please check http://ctan.org/pkg/unicode-math and their GitHub repo.

Nov 10 2015, 10:20 AM · Math, Accessibility, Mathoid

Nov 2 2015

fredw added a comment to T106890: smallmatrix not very small in MathML.

Again, there are two bugs here:

Nov 2 2015, 7:47 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math

Nov 1 2015

fredw added a comment to T106890: smallmatrix not very small in MathML.

I checked the http://www.mathmlcentral.com/Tools/FromMathML.jsp to generate a png from the first mathml input and it looks about right.

Nov 1 2015, 4:46 PM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

See https://phabricator.wikimedia.org/T106890#1483157 for how force an increment of scriptlevel (btw, it would probably more convenient if the scriptlevel attribute was allowed on the mtable element...)

Nov 1 2015, 3:16 PM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

Any updates here https://bugzilla.mozilla.org/show_bug.cgi?id=1187682 seems to be stalled.

Nov 1 2015, 6:43 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math

Sep 23 2015

fredw added a comment to T106973: Always use Latin Modern Math for native MathML.

I removed my comment about Windows line spacing bug has it is fixed in Gecko 41. Latin Modern Math should now work on all platforms. For details, see https://lists.w3.org/Archives/Public/www-math/2015Sep/0031.html

Sep 23 2015, 8:14 PM · Math
fredw updated the task description for T106973: Always use Latin Modern Math for native MathML.
Sep 23 2015, 8:09 PM · Math

Sep 2 2015

fredw added a comment to T111222: Mathematical SVG images do not change colors based on user preferences.

If you are talking about the "SVG fallback" of the MathML mode, then that is expected: different CSS properties are necessary to change the color of SVG paths. This does not happen in when "MathML" is really used since it just inherits the text colors.

Sep 2 2015, 5:47 PM · Wikimedia-SVG-rendering, User-Matthewrbowker, Math

Aug 7 2015

fredw added a comment to T99369: Remove client-side MathJax rendering mode.

Why is SVG fallback now broken for Chrome-like browsers?

Aug 7 2015, 9:11 PM · User-notice-archive, WMF-deploy-2015-07-21_(1.26wmf15), Patch-For-Review, Math
fredw renamed T99369: Remove client-side MathJax rendering mode from Remove MathJax rendering mode to Remove client-side MathJax rendering mode.
Aug 7 2015, 9:09 PM · User-notice-archive, WMF-deploy-2015-07-21_(1.26wmf15), Patch-For-Review, Math

Jul 27 2015

fredw added a comment to T99369: Remove client-side MathJax rendering mode.

Finally, I realize we have a history and I don't want to start a fight. But @fredw, could you please *not* speculate about MathJax technology or opinions of MathJax team members? That can mislead people (just like inaccurate comments about Firefox MathML support can). If there's a question about how MathJax or MathJax-node works, we're happy to answer it.

Jul 27 2015, 5:32 PM · User-notice-archive, WMF-deploy-2015-07-21_(1.26wmf15), Patch-For-Review, Math

Jul 26 2015

fredw updated the task description for T106973: Always use Latin Modern Math for native MathML.
Jul 26 2015, 11:06 AM · Math
fredw added a project to T106973: Always use Latin Modern Math for native MathML: Math.
Jul 26 2015, 11:05 AM · Math
fredw created T106973: Always use Latin Modern Math for native MathML.
Jul 26 2015, 11:05 AM · Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

In MathML the size reduction of \begin{smallmatrix} compared to \begin{matrix} is only about 75%. In the SVG mode its more like 65% and in PNG mode its close to 50%. It looks like the font size is not decreased at all, whereas in other modes a smaller font is used.

Jul 26 2015, 10:18 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

Just to be sure to chatch the right one you mean this https://github.com/mathjax/MathJax/issues/839 bug?

Jul 26 2015, 10:05 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

Not beforehand, but if you search "displaystyle" on the MathJax github issue or on the MathML mailing list, you should be able to find it.

Jul 26 2015, 9:57 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

@fredw: So to fix this problem we could include

math {
  line-height: normal;
}

To our custom math.css?

Jul 26 2015, 9:35 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

Regarding the font-size itself: this seems to be a bug in MathJax. If I set <mstyle scriptlevel="+1"> around the <mtable>, I get the expected text size reduction in Gecko.

Jul 26 2015, 9:33 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

line-height: normal also improves the linespacing of https://en.wikipedia.org/wiki/E8_%28mathematics%29 but I'm not sure what's expected for the font-size.

Jul 26 2015, 8:06 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

So I'm wondering whether it's a bug in Gecko or whether the style on the Wiki page is interfering with the native MathML rendering...

Jul 26 2015, 8:01 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math
fredw added a comment to T106890: smallmatrix not very small in MathML.

Here is what I get for https://en.wikipedia.org/wiki/Hecke_operator using Gecko:

Jul 26 2015, 7:42 AM · MW-1.27-release (WMF-deploy-2015-11-10_(1.27.0-wmf.6)), Patch-For-Review, Math

Jul 25 2015

fredw added a comment to T99369: Remove client-side MathJax rendering mode.

What is stopping us from using MathJax to generate HTML/CSS and send that to the browser?

Jul 25 2015, 2:08 PM · User-notice-archive, WMF-deploy-2015-07-21_(1.26wmf15), Patch-For-Review, Math
fredw added a comment to T99369: Remove client-side MathJax rendering mode.

@SalixAlba: Thank you for your comment.

Jul 25 2015, 6:16 AM · User-notice-archive, WMF-deploy-2015-07-21_(1.26wmf15), Patch-For-Review, Math

Jul 24 2015

fredw added a comment to T106855: Extra space after equations in MathML mode..

I think it was https://phabricator.wikimedia.org/T74806

Jul 24 2015, 5:54 PM · Math
fredw added a comment to T106855: Extra space after equations in MathML mode..

Moritz: I think I already reported this bug in the past. IIRC, it was due to the fact that mathoid puts space in the source code around the math output...

Jul 24 2015, 5:53 PM · Math
fredw updated subscribers of T106855: Extra space after equations in MathML mode..
Jul 24 2015, 5:52 PM · Math
fredw added a comment to T99369: Remove client-side MathJax rendering mode.

As I read the comments, it seems that people have limited knowlegde & distorted information about the MathJax / KaTeX / MediaWiki / Browser developments and, sadly, know almost nothing about the technical implementation details... so I'm not sure it is very efficient to try arguing or countering the falsehoods about MathML. Instead, I'll just write one post with a few (hopefully helpful) remarks on MediaWiki math and then go back to doing more constructive work for math rendering on the Web...

Jul 24 2015, 8:20 AM · User-notice-archive, WMF-deploy-2015-07-21_(1.26wmf15), Patch-For-Review, Math

Jul 22 2015

fredw added a comment to T105316: Need a way to write multiscripts around an expression.

I don't know what you mean by "how MathJax looks now and how it should look like". As said in the first comment, it's not a problem with the visual rendering but with the way the generated MathML, which has bad semantics and so makes things hard for assistive technologies.

Jul 22 2015, 6:47 PM · Upstream, Accessibility, Mathoid, Math
fredw added a comment to T105320: Weird examples of limits on Help:Displaying_a_formula.

Does anyone know about this special notation for limits? This looks a TeX hack to achieve a purely visual distinction for "alternative limits style".

Jul 22 2015, 2:29 PM · Accessibility, Mathoid, Math

Jul 9 2015

fredw created T105320: Weird examples of limits on Help:Displaying_a_formula.
Jul 9 2015, 12:13 PM · Accessibility, Mathoid, Math
fredw created T105318: Some LaTeX commands generate characters concatenated in the same MathML token element.
Jul 9 2015, 12:06 PM · Math, Mathoid, Accessibility
fredw created T105316: Need a way to write multiscripts around an expression.
Jul 9 2015, 11:56 AM · Upstream, Accessibility, Mathoid, Math
fredw created T105315: The characters "set minus", "parallel to" (and maybe "divides") should be used in appropriate context.
Jul 9 2015, 11:40 AM · Accessibility, Mathoid, Math
fredw created T105311: The MathML code for \not should not use <mpadded> hack.
Jul 9 2015, 11:24 AM · Accessibility, Mathoid, Math
fredw created T105310: Need a way to generate MathML for contour/surface/volume integrals .
Jul 9 2015, 11:09 AM · Math, Accessibility, Mathoid
fredw renamed T74141: The MathML mode does not work well when doing touch screen navigation in VoiceOver+WebKit from The MathML mode does not work well with VoiceOver + touch screen to The MathML mode does not work well when doing touch screen navigation in VoiceOver+WebKit.
Jul 9 2015, 10:52 AM · Design, Accessibility, Math
fredw added a comment to T74141: The MathML mode does not work well when doing touch screen navigation in VoiceOver+WebKit.

So since this bug was confusely used by the MathJax team to justify their refusal to provide MathML in the DOM by default in order to help assistive technologies, I'd like to clarify the issue:

Jul 9 2015, 10:52 AM · Design, Accessibility, Math

Mar 16 2015

fredw created T92812: The <meta> tag is invalid inside the body of the document.
Mar 16 2015, 9:25 AM · Mathoid, Math