# User Details

User Since
Oct 24 2014, 1:27 PM (247 w, 4 d)
Availability
Available
IRC Nick
physikerwelt
LDAP User
Physikerwelt
MediaWiki User

# Yesterday

Sorry I wanted to write exists.

# Fri, Jul 19

I think we should also deprecate exist as alias for exist.

Physikerwelt closed T197925: Create a bot to replace deprecated math syntax as Resolved.

The bot has been created.

I did run git grep -i jax and the remaining results are justified. Closing.

physikerwelt@x1:~/git/wikipedia/Mathgit grep -i jax RELEASE-NOTES-3.0.0:* (T99369) Remove client-side MathJax support. i18n/ksh.json: "mw_math_mathml": "<i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Mathematical notations in web pages\">MathJax</i>, wann dat nit jeihd <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Scalable Vector Graphics\">SVG</i> udder söns <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Portable Network Graphics\">PNG</i> (för modärne Brauser un Wärkzüsch för der Zohjang)", images/reference.svg:<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="5.099ex" height="2.343ex" style="vertical-align: -0.505ex;" viewBox="0 -791.3 2195.4 1008.6" xmlns="http://www.w3.org/2000/svg" role="math" aria-labelledby="MathJax-SVG-1-Title MathJax-SVG-1-Desc"> images/reference.svg: <title id="MathJax-SVG-1-Title">Equation</title> images/reference.svg: <desc id="MathJax-SVG-1-Desc">a plus b</desc> modules/ve-math/ve.ui.MWMathSymbols.css: background-image: url( data:image/svg+xml,%3Csvg%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%221.55ex%22%20height%3D%222.009ex%22%20style%3D%22vertical-align%3A%20-0.338ex%3B%22%20viewBox%3D%220%20-719.6%20667.3%20865.1%22%20role%3D%22img%22%20focusable%3D%22false%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20aria-labelledby%3D%22MathJax-SVG-1-Title%22%3E%3Ctitle%20id%3D%22MathJax-SVG-1-Title%22%3Elogical-and%3C%2Ftitle%3E%3Cdefs%20aria-hidden%3D%22true%22%3E%3Cpath%20stroke-width%3D%220.5%22%20id%3D%22E1-MJMAIN-2227%22%20d%3D%22M318%20591Q325%20598%20333%20598Q344%20598%20348%20591Q349%20590%20414%20445T545%20151T611%20-4Q609%20-22%20591%20-22Q588%20-22%20586%20-21T581%20-20T577%20-17T575%20-13T572%20-9T570%20-4L333%20528L96%20-4Q87%20-20%2080%20-21Q78%20-22%2075%20-22Q57%20-22%2055%20-4Q55%202%20120%20150T251%20444T318%20591Z%22%3E%3C%2Fpath%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22currentColor%22%20fill%3D%22currentColor%22%20stroke-width%3D%220%22%20transform%3D%22matrix%281%200%200%20-1%200%200%29%22%20aria-hidden%3D%22true%22%3E%20%3Cuse%20xlink%3Ahref%3D%22%23E1-MJMAIN-2227%22%20x%3D%220%22%20y%3D%220%22%3E%3C%2Fuse%3E%3C%2Fg%3E%3C%2Fsvg%3E ); modules/ve-math/ve.ui.MWMathSymbols.css: background-image: url( data:image/svg+xml,%3Csvg%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%221.55ex%22%20height%3D%222.009ex%22%20style%3D%22vertical-align%3A%20-0.338ex%3B%22%20viewBox%3D%220%20-719.6%20667.3%20865.1%22%20role%3D%22img%22%20focusable%3D%22false%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20aria-labelledby%3D%22MathJax-SVG-1-Title%22%3E%3Ctitle%20id%3D%22MathJax-SVG-1-Title%22%3Elogical-or%3C%2Ftitle%3E%3Cdefs%20aria-hidden%3D%22true%22%3E%3Cpath%20stroke-width%3D%220.5%22%20id%3D%22E1-MJMAIN-2228%22%20d%3D%22M55%20580Q56%20587%2061%20592T75%20598Q86%20598%2096%20580L333%2048L570%20580Q579%20596%20586%20597Q588%20598%20591%20598Q609%20598%20611%20580Q611%20574%20546%20426T415%20132T348%20-15Q343%20-22%20333%20-22T318%20-15Q317%20-14%20252%20131T121%20425T55%20580Z%22%3E%3C%2Fpath%3E%3C%2Fdefs%3E%3Cg%20stroke%3D%22currentColor%22%20fill%3D%22currentColor%22%20stroke-width%3D%220%22%20transform%3D%22matrix%281%200%200%20-1%200%200%29%22%20aria-hidden%3D%22true%22%3E%20%3Cuse%20xlink%3Ahref%3D%22%23E1-MJMAIN-2228%22%20x%3D%220%22%20y%3D%220%22%3E%3C%2Fuse%3E%3C%2Fg%3E%3C%2Fsvg%3E ); package-lock.json: "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", src/MathHooks.php: // 'MW_MATH_MATHJAX' => 6 src/MathHooks.php: // 'MW_MATH_LATEXML_JAX' => 8 tests/phpunit/MathHooksTest.php: 'MW_MATH_MATHJAX' =>default,
tests/phpunit/MathHooksTest.php:                        'MW_MATH_LATEXML_JAX' => \$default,
Physikerwelt added a comment to T196055: Remove table math from the database.

Looking for the config I realized that the following config variables are outdated https://github.com/wikimedia/operations-mediawiki-config/blob/78cbf9587caad345a40860ece38afa53909f89a2/wmf-config/CommonSettings.php#L2658-L2660

Physikerwelt added a comment to T196055: Remove table math from the database.

Sorry for the late reply. It was a busy week.
Yes. You can now search if there are still images on the servers. Unfortunately, I do not know where to search. The path configuration should still be in the current server configuration. Independent of this effort, the table can be dropped.

# Sun, Jul 14

Physikerwelt updated the task description for T186242: Math extension should follow Best practices for extensions.

# Fri, Jul 12

Physikerwelt added a comment to T196055: Remove table math from the database.

Thank you.

Physikerwelt added a comment to T196055: Remove table math from the database.

@jcrespo it would be sufficent if you keep a backup of the table somewhere. The outputhash column can not be reconstructed. Only with that one could find all the old images (if they have not already been deleted).

Physikerwelt added a comment to T196055: Remove table math from the database.

From the extension, everything is ready. All the code has been deleted T195847. As a volunteer contributor, I cannot decide if the system administrators need information from the table to find the images of rendered mathematical expressions. So I simply don't know what to do, sorry:-(

Physikerwelt added a comment to T196055: Remove table math from the database.

According to the summary "Please don't do this, this is not ready". If it is ready, it should be said so on the summary and added the tags as Manuel mentioned.

I removed my general comment that there might be other things from the description. In the last year, nothing came to my mind.

Physikerwelt updated the task description for T196055: Remove table math from the database.
Physikerwelt added a comment to T196055: Remove table math from the database.

Why declining it? We are waiting for the blocking work to own this, but nobody seems to be progressing on it.

Physikerwelt added a comment to T196055: Remove table math from the database.

@Marostegui I don't know what I could do to make the task more ready. I will just close the task. Maybe it's best to keep the table forever.

Physikerwelt closed T196055: Remove table math from the database, a subtask of T195847: Clean up artifacts from LaTeX based math rendering, as Declined.
Physikerwelt closed T196055: Remove table math from the database as Declined.
Physikerwelt added a comment to T215220: Zlib spec.yaml example produces a bad request response.

What was the input? I can not decode eJxztc1NjjMCAAagAeM= using https://www.base64decode.org/ No printable characters found, try another source charset, or upload your data as a file for binary decoding.

@WMDE-Fisch thank you.

Physikerwelt updated the task description for T186242: Math extension should follow Best practices for extensions.
Physikerwelt moved T104548: Set up a stable math demo instance from Backlog to Next on the User-Physikerwelt board.
Physikerwelt updated subscribers of T186242: Math extension should follow Best practices for extensions.

@mobrovac @thiemowmde @WMDE-Fisch I checked all boxes where I believe this is certainly implemented. It is now a fairly large list of unchecked points. Do you have any suggestions on how to proceed and prioritize the tasks? For instance, are there some aspects that should be tackled first?

Physikerwelt updated the task description for T186242: Math extension should follow Best practices for extensions.

Resolving! With https://meta.wikimedia.org/wiki/Wikimedia_Community_User_Group_Math , there is a vehicle to separate decision making from the actual implementation.

Physikerwelt closed T185033: Fix texvcjs grammar for X^{2+}, a subtask of T140217: Adjust texvcjs to prevent whitespace modifications in ce-tags, as Resolved.
Physikerwelt closed T185033: Fix texvcjs grammar for X^{2+} as Resolved.

Please reopen if anything is still broken.

# Tue, Jul 9

... might be offtopic here, but I maintain my setup (dev and private wikis) via a very simple docker compose file https://github.com/physikerwelt/mediawiki-docker

For example, the Math extension has no hard dependencies but optional dependencies on Wikibase, VisualEditor, Restbase. While we are already checking if restbase is available, checks for enabled extensions are not yet implemented. See

Physikerwelt updated the task description for T208758: Extend Popups-Extension to render popups for annotated [itex].

# Tue, Jul 2

@Aklapper do you have an idea who could be able to help here?

# Fri, Jun 28

Physikerwelt updated subscribers of T208758: Extend Popups-Extension to render popups for annotated [itex].

@MaxSem : @Andreg-p managed to display a static page when hovering over equations; he also got the Wikidata id from the math extension. Now the missing piece is to display the content of a special page or an API endpoint that receives the Wikidata id as a parameter and returns the wikitext to be displayed.

# Wed, Jun 26

It is not a problem to export the userInputTex unless people start to use it. At that point our efforts to change the input format towards a more standard conform LaTeX input (for instance by deprecating \and or \or, which conflict with regular LaTeX command and sometime lead to strange behavoir in a standard LaTeX setup) will conflict with the interest of potential users of that new format. Currently, in there is no other place where the userInputTex is displayed or used.

OK, you mean "exact string matching for the input LaTeX source code" (i.e., a + b is different from a+b). That's correct. However, would it not be better to use a more generic approach for that? For example, how would I search for a certain javascript input value or (for example a picture) or whatever.

I think we should not make more complicated than neccary and deceide either to use the MathML standard or not. If so one could also add another encoding, e.g., <annotation encoding=\"application/x-texvc\">a</annotation>. Moreover, the additional displaystyle is an artifact produced by the math extension. There is an ongoing effort to make the texvc input more conform to standard LaTeX. By the way with MathML you can query for identifiers like s with contains <mi>s</mi>, which is would also return symbols like \sin in the input form...

# Jun 6 2019

Physikerwelt added a comment to T185033: Fix texvcjs grammar for X^{2+}.

As of today warnings for fallback rendering are emitted. Fallback rendering is not used in any of the cases.

Physikerwelt added a comment to T225030: Expose mathoid warnings via restbase.

Great thank you. I just confirmed that it works for new formulae.

curl -X POST "https://en.wikipedia.org/api/rest_v1/media/math/check/chem" -d "type=chem&q=\ce {pH=-\log _{10}[H+]+20190606}"
{"success":true,"checked":"{\\ce {pH=-\\log _{10}[H]20190606}}","requiredPackages":["mhchem"],"identifiers":["p","H","H"],"endsWithDot":false,"warnings":[{"type":"mhchem-deprecation","details":{"error":{"message":"Expected [a-zA-Z] but \" \" found.","expected":[{"type":"class","parts":[["a","z"],["A","Z"]],"inverted":false,"ignoreCase":false}],"found":" ","location":{"start":{"offset":13,"line":1,"column":14},"end":{"offset":14,"line":1,"column":15}},"name":"SyntaxError"},"success":false,"warnings":[],"status":"S","details":"SyntaxError: Expected [a-zA-Z] but \" \" found.","offset":13,"line":1,"column":14}}]}

# Jun 5 2019

Physikerwelt closed T225029: How to test Math check endpoint via swagger as Invalid.

Sorry. Now it works. Not sure what happened yesterday. Probably I messed up the JSON syntax. For example, if you have an extra comma, like in

{
"q": "a,
}

the generated request parses the input field character by character:

curl -X POST "https://en.wikipedia.org/api/rest_v1/media/math/check/tex" -H  "accept: application/json" -H  "Content-Type: multipart/form-data" -F "0={" -F "1=
" -F "2= " -F "3= " -F "4="" -F "5=q" -F "6="" -F "7=:" -F "8= " -F "9="" -F "10=\" -F "11=\" -F "12=s" -F "13=i" -F "14=n" -F "15= " -F "16=x" -F "17=^" -F "18=2" -F "19="" -F "20=," -F "21=
" -F "22=}"

# Jun 3 2019

Physikerwelt added a comment to T224853: Can't get Math extension to work (Linux).

@Aklapper could you please point @Gardas603 to the appropriate support forum?

Physikerwelt added a comment to T224853: Can't get Math extension to work (Linux).

is indeed required. Why your wiki can't connect to the Wikimedia Rest API is not clear to me. Is your wiki connected to the internet and allowed to access the URL via https?

# Apr 11 2019

Physikerwelt added a comment to T194911: TechCom's Platform Architecture Principles.

After reading the document I do not feel encouraged to develop something... instead I am getting the feeling things are getting more burecratic and less inclusive. Especially student developers and interested hobby hacker might not be enlighted by the quite formal document.

Physikerwelt awarded T194911: TechCom's Platform Architecture Principles a Dislike token.

# Apr 9 2019

@GregorAlexandru that's an excellent idea. I think the following resources are helpful.

# Mar 27 2019

Physikerwelt added a comment to T138453: Many articles containing UNIQ--postMath-00000001-QINU.

Might also be related to T127787

This happens on pages with broken citations. I suspect the problem goes away if the citations are fixed.

# Mar 14 2019

I have no objections to merging this PR, if

• test cases are added and
• "community consensus" is evident.

# Mar 7 2019

Physikerwelt added a comment to T206268: Evaluate using TypeScript on node projects.

I have been playing with typescript for a while. For me, the biggest disadvantage is that one has to compile to run the tests. This really slows things down. Waiting about 5 seconds for the tests to start is not really acceptable.

time tsc

# Mar 3 2019

Physikerwelt changed the status of T200493: Trying to get property 'status' of non-object in /srv/mediawiki/w/extensions/Math/MathMathMLCli.php on line 79 from Open to Stalled.

# Feb 13 2019

Oh no. I have a few questions to better understand the problem:

1. How did you do the update? Did you follow the install instructions on https://www.npmjs.com/package/mathoid ? Have you installed librsvg?
2. Can you run the cli.js from the command line?
3. Is there an updated link for https://github.com/miraheze/puppet/blob/master/modules/mathoid/files/config.yaml

Sorry for the inconvenience.

Physikerwelt updated subscribers of T212710: Update mathoid docker container.

I found a workaround and fixed it on https://github.com/physikerwelt/mathoid-server/tree/docker mainly https://github.com/physikerwelt/mathoid-server/commit/5287fc396fdb98811f1d421186c43f2fc893c970 was the trick. @dbarratt why is that not related to MediaWiki-Docker? Maybe math rendering without contacting the production server API is in the scope of the MediaWiki-Docker project

# Feb 7 2019

For the math extension, the problem is slightly different. If there was dependency management for MW extensions, I would call Wikidata and visual editor test dependencies. The mass extension extends the functionality of Visual Editor and Wikidata respective, which is tested in unit tests, but the extension works fine without these extensions. We could simply skip the tests if the VE or Wikidata extensions are not available. I did not implement it since I have kept up with the recent developments in extension loading and I have a strong feeling that the traditional way to check if the classes exists is deprecated.

# Jan 30 2019

Physikerwelt added a comment to T206268: Evaluate using TypeScript on node projects.

Today, I started my first minimal step towards typescript on a non-wmf project. I followed this imho excellent guide.

@Lucas_Werkmeister_WMDE I think we never implemented support for chrome and other MathML disabled browsers for the wikidata-query-gui

@Smalyshev thanks for the quick fix. No chrome currently does not support MathML. https://www.chromestatus.com/feature/5240822173794304

@Lucas_Werkmeister_WMDE just to be sure that I understand the situation:

# Jan 28 2019

Physikerwelt renamed T214851: query.wikidata.org displays the TeX string rather than the MathML representation for some formulae from Regression: query.wikidata.org does not display formulae anymore to query.wikidata.org displays the TeX string rather than the MathML representation for some formulae.

http://tinyurl.com/y8h35xgg filters for all formulae that do have MathML
@Lucas_Werkmeister_WMDE do you know if there is a way to include the creation date in the query?

# Jan 18 2019

Physikerwelt added a comment to T204509: cloudvps: math project trusty deprecation.

Moving the services (as in the list above) is idenpenend of the existence of the old instances. I guess there are not too many users accessing the not yet migrated services. I have backed up everything on Dec 20 and never accessed the instances since then.

# Jan 16 2019

Is someone interested in moving the User Group application forward. I think https://meta.wikimedia.org/wiki/Wikimaps_User_Group is an example for a comparable active usergroup. @Thuvack reminded me a few days ago to complete the draft on https://meta.wikimedia.org/wiki/Wikimedia_Community_User_Group_Math but I won't find time for this in the near future.

# Jan 3 2019

Physikerwelt added a comment to T206268: Evaluate using TypeScript on node projects.

I definitely support this motion. However, before I consider to create a subtask I would like to know a bit more about the "headaches" caused by the build.

# Dec 30 2018

Physikerwelt added a comment to T204509: cloudvps: math project trusty deprecation.

I made little progress because I ran into T212710 and other bugs.

Physikerwelt triaged T212710: Update mathoid docker container as Low priority.

# Dec 29 2018

Physikerwelt added a comment to T204509: cloudvps: math project trusty deprecation.

Most of them are nodejs apps... @Andreg-p I will convert them to docker containers following https://nodejs.org/en/docs/guides/nodejs-docker-webapp/ we will see how this will work out

Physikerwelt added a comment to T204509: cloudvps: math project trusty deprecation.

There are a few remaining services to be moved.

# Dec 20 2018

To be accepted as a user group the following is neccary:

Physikerwelt added a comment to T204509: cloudvps: math project trusty deprecation.

I have backed up all the data. The remaining open question is how to proceed with the mathoid service cf. T156289

# Dec 10 2018

Physikerwelt added a comment to T210836: +2 for Lucas_Werkmeister_WMDE in mediawiki/*.

Congratulations!

# Dec 7 2018

Physikerwelt added a comment to T207535: Rendering of \oinit very dense.

Cool. If you cherry-pick the change and make a PR. please also update the version npm version to ensure that the change will be included in the deployment repo and picked up for the next deployment.

Physikerwelt added a project to T156647: don't compile math formula with cases: Texvcjs.
Physikerwelt added a comment to T207535: Rendering of \oinit very dense.

great. I hope the command was already supported in the wmf mathjax version. But let's try that.

Physikerwelt added a comment to T94344: Section anchor depends on the rendering mode.

Something with the strip marker seems broken. T209446 might be caused by the same issue. The marker tags are generated here https://github.com/wikimedia/mediawiki-extensions-Math/blob/714b642618c6b43294dd4712dab978ada578d2f7/src/MathHooks.php#L211 and then eventually replaced here and then supposedly removed here https://github.com/wikimedia/mediawiki-extensions-Math/blob/714b642618c6b43294dd4712dab978ada578d2f7/src/MathHooks.php#L377-L379 . In this procedure there is an ugly workaround for T103269 which I guess causes the problem.