User Details
- User Since
- Oct 24 2014, 1:27 PM (504 w, 6 h)
- Availability
- Available
- IRC Nick
- physikerwelt
- LDAP User
- Physikerwelt
- MediaWiki User
- Physikerwelt [ Global Accounts ]
Wed, Jun 19
This patch did not help.
this should fix it.
Tue, Jun 18
Thank you. This is very helpful. I think one of the problems is that we are also writing to the wiki simultaneously.
MariaDB [(none)]> SELECT table_name AS `Table`, round(((data_length + index_length) / 1024 / 1024 / 1024), 2) `Size in GB` FROM information_schema.TABLES where table_name like '%links' order by (data_length + index_length) desc; +---------------+------------+ | Table | Size in GB | +---------------+------------+ | pagelinks | 22.43 | | externallinks | 9.92 | | templatelinks | 7.45 | | categorylinks | 0.09 | | iwlinks | 0.01 |
And it is a bit faster than originally expected. So maybe only 6 days.
I am running MW 1_43-wmf9 and started running update.php yesterday night. It seems that the updater is very slow (running migrateLinksTable on pagelinks). I now started to run this migration in a separate process. Do you have any idea how long the migration might take? My first estimation is 12 days for our 12M pages. This seems very slow, does that make sense?
Sun, Jun 16
It was shut down for a while and has now been deleted.
Fri, Jun 14
As I did deploy the MathSearch extension on quite a few instances, it makes sense to add a patch. From looking at the Translation patch, I guess it would SET foreign_key_checks = 0; before running the updater and reactivate it after it is completed.
The temporary problem vanished.
Thu, Jun 13
Wed, Jun 12
There are only very few people who have access to mathoid-mathjax on npm;-)
Tests on https://www.mediawiki.org/wiki/Extension:Math/T366983 show that it does not even reach mathjax.
In mathoid, we use mathoid-mathjax. The code can be found here https://www.npmjs.com/package/mathoid-mathjax and here https://github.com/wikimedia/mediawiki-services-mathjax. It was forked from mathjax2.7, and is not (yet?) migrated to gitlab per T348384 .
Tue, Jun 11
Thank you, @cscott, for the quick review.
I am considering implementing a prototype for this (as part of the non-WMF deployed extension MathSearch). I am worried this might cause a heavy load on the current SPARQL endpoint backed by blazegraph.
Sun, Jun 9
Sat, Jun 8
@MikhailRyazanov Does https://en.beta.math.wmflabs.org/wiki/User:Admin look as expected.
Thu, Jun 6
Thank you this is perfect for defining the goal. I would personally prefer if formulae were centered (or indented).
Wed, Jun 5
Yes. One or two formulae are enough. I used https://jsfiddle.net in the past. You have live preview and it is easy to share the result.
Tue, Jun 4
@MikhailRyazanov I suggest we continue the discussion about :<math> at T111712 and (T268922 summarizes the current status).
Mon, Jun 3
I did propose <dmath> when this feature was originally developed. However, it was not supported by anyone, thus I had to drop it. We can add dmath as an alias for math display=block if that is useful. However, this is offtopic here and should be a new issue. Keeping the long standard form seems to be a good idea to me, though.
Sun, Jun 2
This ticket was super helpful.
Fri, May 31
Thu, May 30
It seems to not happen on en https://en.wikiquote.org/wiki/Special:MathStatus . Maybe there is a difference in the restbase config for those URLs.
Mon, May 27
@Malparti Thank you. Now, the problem is clear. I also created a test page https://www.mediawiki.org/wiki/Extension:Math/Bug:T363081. It seems the calculation of the size of the image is incorrect, while the actual rendering is correct https://wikimedia.org/api/rest_v1/media/math/render/svg/c39ec41d3916a57b0702237a4eddb3e529da0e11.
It's a bit complicated as there were few tests, and the parse tree was more complicated than it should be. I imagine the production error does not impact a lot of people, thus I would rather take the time to fix it properly.
Likely related to https://phabricator.wikimedia.org/T362344
Sorry, my local copy of the integration config was outdated... php8 tests only run when running check experimental and the behavior is the same for all extensions... so we can just wait until the PHP8 tests run by default
Reopening, as it was still disabled. See for example https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Math/+/1035851 it failed only in the gate-and-submit phase because the php8 tests were not run in the test phase.
May 21 2024
May 5 2024
Apr 24 2024
Apr 22 2024
Thank you. Is this the equation
Unfortunately, I can not see the screenshot. Can you guide me to the section, please?
Apr 16 2024
Apr 15 2024
Removing myself as the Math(Search)? part is done
Apr 13 2024
Apr 11 2024
The parser splits the align cell between \int and \limits. Thus
<math>\begin{align} {\int\limits_\mathrm{momenta}} \end{align} </math>
renders fine
Minimal example:
<math>\begin{align} \int\limits_\mathrm{momenta} \end{align} </math>
fails error and limits is printed on the screen whereas
<math> \int\limits_\mathrm{momenta} </math>
renders fine
Apr 10 2024
Maybe this also applies to extension MathSearch?
Apr 9 2024
Apr 8 2024
I also saw that when testing with docker T362030. However, I didn't find any match for JobTypeConf in the math extension.
Apr 7 2024
Yes, it should. I don't know how. Maybe this is not even possible within extension.json and needs a special hook.
Apr 6 2024
That makes perfect sense, as I don't run wikibase tests locally.
The only problem I see locally is the problem with dynamic property creation T314099.
Apr 3 2024
There are 700 more problems. As it is triaged as unbreak now, maybe reopening this issue is not the right thing to do, but I guess sooner the problems will pop up.
Apr 2 2024
@mmartorana can you share the raw output linked here with the MathJax team or link it from this ticket.
Thank you @mmartorana . @Jdforrester-WMF would you mind looking into the linked patch again, or should I search for another reviewer?
Mar 28 2024
In the meantime, you can test this on any WMF wiki. https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering select MathML rendering mode.
It seems only a problem for math images. With the new rendering, I don't see the problem
Mar 26 2024
Thank you. I am convinced eventually, and I tend to run composer fix before each commit :-) Maybe the documentation could be reordered according to the structure of the PSR-12. Even if we have another convention for some aspects like 2.4, use tabs, not spaces.
For our project, we solved it by overwriting the name https://github.com/MaRDI4NFDI/portal-compose/commit/f10c191a7899a43b4c68e0ec8ee986460fefb65d . Would it be helpful to back-propagate this fix to https://github.com/wmde/wikibase-release-pipeline/blob/main/example/docker-compose.extra.yml ? If so, I can make a pull request.
Mar 25 2024
@Daimona, while risking getting a bit off-topic, let me add one more comment: I think it would be better to adopt well-established rules instead of switching on or off inspections on a case-by-case basis. For example, if you have reserved one hour a week to work on Wikimedia-related activities, spending half an hour dealing with this new rule is quite a significant investment of time. Maybe I also overestimate the impact of that change. So maybe a good practice would be to accept all sniffs from the upstream code-sniffer and lower the warning level for the new rules that create problems. The change https://gerrit.wikimedia.org/r/c/mediawiki/tools/codesniffer/+/1008057 suggests that we act on a case-by-case basis and also I could not find in the documentation what upstream sniffer ideas we follow.
Ok. Do you think it is good enough to wait until then? If so we can maybe make this task a subtask of the migration of production migration task.
Mar 24 2024
@Jdforrester-WMF did we eventually drop support for PHP7. If so this might be easy to fix, by upgrading the library that generates the code that produces the errors.
Thank you @Amire80 .