# User Details

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

# Fri, Mar 16

Physikerwelt updated the task description for T185580: Introduction to test driven development.

# Wed, Mar 14

zeljkofilipin awarded T185580: Introduction to test driven development a Pterodactyl token.
Physikerwelt triaged T185580: Introduction to test driven development as Normal priority.
Physikerwelt renamed T185580: Introduction to test driven development from Session: Testing to Introduction to test driven development.

# Sun, Mar 11

I don't see it either. Maybe it was automatically deleted when I deleted the instance yesterday.

# Fri, Mar 9

Physikerwelt added a comment to T189308: reset 2fa for physikerwelt.

Thank you @Andrew
my shell name is physikerwelt and I created the file as follows

ssh physikerwelt@primary.bastion.wmflabs.org
physikerwelt@bastion-01:~$touch reset2fa physikerwelt@bastion-01:~$ ls
reset2fa
Physikerwelt triaged T189308: reset 2fa for physikerwelt as Low priority.

@Kelaun I have restarted api.formulasearchengine.com . It was crashed, but your input should render now. Can you update to the latest version of core and the math extension as described here T188745?

# Tue, Mar 6

Kghbln awarded T188745: Announce simplified installation of the math extension a Barnstar token.
TheDJ awarded T188745: Announce simplified installation of the math extension a Barnstar token.
Physikerwelt updated the task description for T188745: Announce simplified installation of the math extension.

# Mon, Mar 5

Krinkle awarded T74240: Remove PNG only rendering mode a Orange Medal token.

# Sun, Mar 4

Physikerwelt changed the status of T185552: Math rendering behavior change for \limits from Open to Stalled.

I'm marking this task as stalled as the task definition is not clear.

Physikerwelt added a comment to T185552: Math rendering behavior change for \limits.

To 3)

Physikerwelt triaged T188855: Create the user-physikerwelt personal project as Lowest priority.
Physikerwelt added a project to T188598: Support @ character in math mode: RESTBase-Cassandra.
Physikerwelt updated subscribers of T188598: Support @ character in math mode.

I to render a single @ sign with the restbase swagger ui got an error I can not interpret. @mobrovac do you have any ideas?
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/problem+json' -d 'q=%40' 'http://api.formulasearchengine.com/wikimedia.org/v1/media/math/check/tex'
returns

{
"type": "https://mediawiki.org/wiki/HyperSwitch/errors/query_error",
"title": "Error in Cassandra table storage backend",
"method": "post",
"uri": "/wikimedia.org/v1/media/math/check/tex"
}
Physikerwelt added a comment to T185552: Math rendering behavior change for \limits.

@Debenben texvc is neither TeX nor LaTeX. That's why Overleaf or MathJax is another story. To make progress, we need a task definition. Currently, I am not sure what the task is. I see three different options:

1. fix the regression, i.e., make \operatorname{median}\limits_{j\,\ne\,i} X_{i,j} operate at it used to do before.
2. invent a convenience shortcut such as \operatorname[A]{B} which expands to \operatorname{\underset{\mathit{A}}{B}}
3. update the texvc grammar to support starred versions of operators

# Sat, Mar 3

Physikerwelt added a comment to T185552: Math rendering behavior change for \limits.

For me, both, the workaround and the actual presentation look identical; at least with some configuration of LaTeX, c.f.,

Physikerwelt added a comment to T185552: Math rendering behavior change for \limits.

I'm not sure if I understand what's wrong? What are typical use cases for \opertorname*?

Physikerwelt closed T154394: Mathoid instance not working with MW 1.28 as Resolved.
Physikerwelt added a comment to T154394: Mathoid instance not working with MW 1.28.

The configuration process is too complicated. There is now a new version of mathoid Math and MediaWiki core that does not require running mathoid as a service. Details will follow ... T188745

Physikerwelt triaged T89044: double subscript should be in a smaller font as Low priority.
Physikerwelt closed T135335: update npm version of texvcjs as Resolved.
Physikerwelt closed T136685: Can't parse array elements as Resolved.

the example
\begin{array}[t]{rl} a & b \\ c & d \\ e & f \end{array}
works
https://wikimedia.org/api/rest_v1/media/math/render/mml/89afa838cef7fae338deb1a86762fb92793a6cea
now

Physikerwelt closed T136685: Can't parse array elements, a subtask of T136931: texvc vs Mathoid parsing differences, as Resolved.

The original intent of the bug is resolved. However, it seems that there are still some problems. It would be awesome if we could generate individual test cases for the individual problems and file specific bugs. Those can be merged within a time frame from 1-2 days. And go live with the next regular deploy. Trying to solve everything at once would take months and maybe be less effective.

Physikerwelt moved T135746: deny the use of empty math in tevcjs from Backlog to ready to go on the Texvcjs board.
Physikerwelt updated the task description for T135746: deny the use of empty math in tevcjs.

# Fri, Mar 2

Physikerwelt triaged T188745: Announce simplified installation of the math extension as Normal priority.
Physikerwelt updated the task description for T188745: Announce simplified installation of the math extension.
Physikerwelt added a comment to T74240: Remove PNG only rendering mode.

The goal is that people can just apt-get install mediawiki-math as they could in the past. I'm not sure if setting up own packages is easier than just installing node and to use npm i mathoid.

Physikerwelt added a comment to T74240: Remove PNG only rendering mode.

@Legoktm can you elaborate on the process of creating a Debian package, so that one can estimate how much effort each choice causes.

# Mon, Feb 26

Physikerwelt triaged T188255: Upgrade swagger-ui version in mathoid as Low priority.
Physikerwelt added a comment to T74240: Remove PNG only rendering mode.

@mobrovac in theory we could split mathoid in two packages mathoid and mathoid-core to get rid of the swagger ui dependency. However, I think with mathjax, mathjax-node, texvc, tevcinfo and mathoid we alredy have to maintain quite a few packages.

# Fri, Feb 23

Physikerwelt added a comment to T74240: Remove PNG only rendering mode.

@Legoktm the node only math rendering is available now. Should we continue our discussion on a mediawiki-math debian package?

As https://gerrit.wikimedia.org/r/#/c/372100/ was merged now also the client side is done.

# Thu, Feb 22

Physikerwelt added a comment to T184919: Serve at least 50% of Mathoid via kubernetes.

Ok. I was just asking because I will be giving a talk on Math rendering in Wikipedia on Mar. 8th and it would be nice to have some usage statistics;-)
Some years ago there was https://grafana.wikimedia.org/dashboard/db/service-mathoid?orgId=1 but it looks quite empty at this moment.

Physikerwelt added a comment to T184919: Serve at least 50% of Mathoid via kubernetes.

Is there a link to see the chart?

Physikerwelt added a comment to T150011: Fresh Mediawiki + Math install gives Restbase URL error.

@Krinkle that could certainly be implemented. However, we had to inform thousands of MW admins all over the world about the change in the config format. How should one explain that [ "A" => true, "B" => true ] is better than just [ "A", "B" ] ? Because we don't have a strategy to remove either A or B from the defaults?

Physikerwelt added a comment to T150011: Fresh Mediawiki + Math install gives Restbase URL error.

It seems like a general solution will not be available soon, c.f. T186785. MarkAHershberger is the problem still an issue?

# Wed, Feb 21

Physikerwelt updated subscribers of T186785: Add a merge strategy global variables that allows to overwrite lists.

@WMDE-leszek as we discussed my point 4 ... For example in the context of https://gerrit.wikimedia.org/r/#/c/407658/:
Can you tell from looking at the operations config for which wikis the default rendering will change from png to mathml?

# Feb 15 2018

@akosiaris Thank you very much for fixing that. When will the patch be "deployed" to the main Jenkins server. At this moment the problem seems to be still prevalent https://integration.wikimedia.org/ci/job/service-pipeline-test-only/30/console

# Feb 10 2018

To be honest, I would advocate removing all the merge strategies in version 3 of the extension.json schema. It requires a lot of time to understand the merge_strategy options, and it might be very confusing that different variables have different behavior. For extensions, people configured the settings either before loading the extension or afterward. The extension documentation defined the place of the setting; either before or after loading the extension.

# Feb 8 2018

A meta comment on our debate to contributor experience T183317: It would be nice to have documentation on the idea of https://www.mediawiki.org/wiki/Manual:Extension.json/Schema
Even though I it's not optimal to have the documentation in the wiki and the code that it documents on git I think it would be nice to have some documentation on the purpose and the amendment procedure somewhere (maybe in the wiki). Another option would be to come up with a global could have a mechanism for specs that could be documented here https://www.mediawiki.org/wiki/Specs

# Feb 1 2018

I started looking at https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker today again since I got a new computer and wanted to set up a new development environment. The page has many options, but it's not clear how to set up a development environment. Maybe a best practice example in a [digtial ocean tutorial style | https://www.digitalocean.com/community/tutorials] would be helpful. I think a tutorial should cover how to set up a local development environment and how to upload tests to a remote server, i.e. wmflabs.

# Jan 30 2018

@BBUCommander Anyhow, I feel sorry for the bad shape of the current install instructions. Currently a lot of insights are required to configure all the services to run in a non wmf environment. See for instance this guide https://github.com/physikerwelt/mathoid-docs/blob/master/Guide%20for%20Installing%20and%20Setting%20up%20Mediawiki%20with%20Restbase%20and%20Mathoid.pdf . In Jan 2017 new docker containers were announced to simplify the installation of parsoid. I am not sure if they are ready at the moment but check out
https://github.com/benhutchins/docker-mediawiki if math is not supported yet, I'm happy to help integrating that. If the visual editor works, it is relatively easy to install mathoid and configure the math extension.

# Jan 29 2018

@BBUCommander thank you for bringing this up. Currently, you need to install restbase in connection with mathoid to use it in a wiki. However, for the math extension you don't need to install anything on your sever. It's ok to point to wgMathFullRestbaseURL to https://en.wikipedia.org/api/rest_ if you have prpblems with the api.formulasearchengine.com

# Jan 24 2018

@brion I would volunteer to track the progress with regard to the install process (4)

# Jan 20 2018

Physikerwelt added a watcher for Wikimedia-Developer-Summit (2018): Physikerwelt.

# Jan 14 2018

I'm happy to review any pull requests... I have the complete list of all formulae used in the WMF wikis now. Thus, changing the grammar is less risky than it used to be.
https://github.com/wikimedia/texvcjs/pulls

# Jan 6 2018

oh no. This seems to be a regression. We updated the MathJax version last week and also enabled the new grammar based check for \ce tags T159735.
The input <ce>pIC_{50} = -\log_{10} (IC_{50}) </ce> should throw a warning, since it's not correct after the new grammar of @mhchem and @manfredschaefer since log is a math command, but not an error.
So from the grammar the input should be accepted at least it looks very similar to the test cases.
I'll look into it a bit deeper...

# Jan 2 2018

Physikerwelt added a comment to T183557: Mathoid v0.7.0 not accepting chem formula.

It sounds like the best way to go about this would be to fix these formulae manually? Maybe we should track down the pages using them and put a notice out for this?

Exactly. See my pull request that generates a warning for these problems. I think warnings are a very good mechanism to get rid of unhandy syntax.

With the first part of the fix the manual space correction is allowed (except for \; which would fix additional 2.2k cases.

I'm not sure I understand fully which fix you are referring to here. So texvc doesn't allow extra spaces right now but did in the previous version? Could we have it strip extra spaces? Is that even possible?

I replaced \; locally with a regular space for testing... However, doing that without side effects might end in a nightmare. Thus I think this is not a good approach.

But the old ce rule still wouldn't normalise the formula in such a way as to be compatible with the new texvc rules, so I'm not sure that would help us in the long run.

No, it would not help in the long run. But for the time being.

Physikerwelt added a comment to T183557: Mathoid v0.7.0 not accepting chem formula.

The problem is that the old verification added spaces in different places. Those spaces were sometimes not wanted, but sometimes required. Thus people started to adapt to this problem and fixed the spacing manually for instance by adding negative spaces or extra big spaces. With the first part of the fix the manual space correction is allowed (except for \; which would fix additional 2.2k cases. However, for the problem with missing spaces I have no good idea how to implement that. We could add a second phase that if a command fails in ce mode, we run the check with the old ce rule. However, this might lead to unexpected behavior and might confuse the final users.

Physikerwelt added a comment to T183559: Formula that passes the texvcinfo check fails to render.

I checked the render both cases with texvcjs. They all pass the tests even though they contain non valid latex characters. cf. https://github.com/physikerwelt/texvcjs/tree/invalid-input. I guess that the text field misses a rule that specifies which characters are supported by TeX or MathJax respectively.

# Dec 22 2017

Physikerwelt added a comment to T183557: Mathoid v0.7.0 not accepting chem formula.

For this one there was a simple fix https://github.com/wikimedia/texvcjs/pull/27

Physikerwelt updated subscribers of T183557: Mathoid v0.7.0 not accepting chem formula.

\ seems to be handled as a special function by texvcjs https://github.com/physikerwelt/texvcjs/blob/c597d66dac8bb8f78029a3ee131d125a5657b387/lib/parser.pegjs#L323

Physikerwelt added a comment to T183557: Mathoid v0.7.0 not accepting chem formula.

That seem to be a problem with the grammar. In this particular case \ .
In my test suite there were not too many chem examples, because I did not find many in the en-wiki dumps.
https://www.mediawiki.org/wiki/Extension:Math/T1835557
A list of all formulae with \ce in it would help to find more regressions.

Physikerwelt added a comment to T183559: Formula that passes the texvcinfo check fails to render.

OK, that's a bug but not a regression. cf https://www.mediawiki.org/wiki/Extension:Math/T183559

# Dec 21 2017

Liuxinyu970226 awarded T74240: Remove PNG only rendering mode a Love token.

# Dec 12 2017

Physikerwelt added a comment to T182463: Shell\Command should support providing standard input.

See https://gerrit.wikimedia.org/r/#/c/372100/5/MathMathMLCli.php for a prototype that supplies stdin to a command (from the PHP perspective this is stdout, thus I called the additional argument stdout).

# Dec 11 2017

Physikerwelt added a comment to T173127: Establish blubber config in mathoid.

Is there a step by step guide how to test mathoid with blubber. I found https://github.com/marxarelli/blubber, but I was not entirely sure what to install on my Linux development computer?