Commit graph

65 commits

Author SHA1 Message Date
Moritz Schubotz (physikerwelt) 88a4c8bc1d
Add minimal native MML mode
* Add minimal POC for native MathML rendering.
* (minor) convert string-based reference to MathConfig to proper access
  method.

Missing:
 *  Error handling
 *  Image fallbacks

Bug: T331047

Change-Id: I7e644c4688cca7fc9af0d54bdc260268c1f6b9df
2023-03-02 20:50:29 +01:00
Moritz Schubotz (physikerwelt) 110656335f Remove PNG rendering mode
Removes functionality to
* select PNG rendering mode
* automated fallback to PNG images for SVG rendering
* PNG mode related class and tests

However, PNG images received from mathoid / restbase are still stored.

Bug: T311620
Change-Id: I595926027433182cc0396570bc3f1ce0cd2cafb3
2022-11-21 18:57:27 +00:00
Fwolz 74bd7c4730 Add text field in VE to change QID
Makes it possilbe to change the QID of a formula in the visual editor
quick editor and in the dialog editor inside the options panel.

Change-Id: Ie4cb651939a59bf4446cd3e5327522d100eac5bf
2022-06-01 12:27:43 +02:00
Translation updater bot c04849e590 Localisation updates from https://translatewiki.net.
Change-Id: I6c1d54ad3d860fcd4f1f763e6e8975004d80811d
2022-02-11 08:41:55 +01:00
Translation updater bot 98e5916d6e Localisation updates from https://translatewiki.net.
Change-Id: I375f3730fcb7d1fbbbb61761872268bf0599591d
2021-07-12 08:06:38 +02:00
Translation updater bot b4c5632d96 Localisation updates from https://translatewiki.net.
Change-Id: I81a7075ee5c56442d08f1419621189c3ad5122f4
2020-12-28 10:39:07 +01:00
MarcoAurelio be3a3f427f i18n: Fix typo 'occured'
Bug: T201491
Change-Id: Idcaa4c1b42f62e2f001a336b4a1fbc7cba46b47f
2020-09-10 18:08:54 +01:00
Translation updater bot bc7fde9cff Localisation updates from https://translatewiki.net.
Change-Id: I99b7d85486c9a2bb4ca4914e8b06fdcb68e2d86b
2020-04-07 08:44:30 +02:00
Moritz Schubotz (physikerwelt) 9dad688f44 Add tracking category for pages that use a deprecated LaTeX syntax
Discussions in the Wikimedia Math Community show that there is consensus
to deprecate the use of MediaWiki specific LaTeX macros that conflict
with LaTeX macros from commonly used packages.
In this change, we show the deprecation warnings generated by mathoid.

Bug: T197842
Change-Id: I24dbb446665fdc227d0e7342fdbf8829b4c1bda4
2020-03-30 21:56:58 +02:00
Translation updater bot ddf28b2025 Localisation updates from https://translatewiki.net.
Change-Id: Ib3d18916bb4661602ecf1657b5548f605a053fd5
2019-11-29 09:30:13 +01:00
Amir Aharoni 67108480b3 Move API messages to a separate file
Bug: T189982
Change-Id: I3155ef30739ec343c011c57525757de8ab3fe35a
2019-11-25 17:51:19 +01:00
Translation updater bot e171f4075d Localisation updates from https://translatewiki.net.
Change-Id: I43e6c34c5907e80f637f85d41ebe502e0d373d98
2019-11-18 09:23:58 +01:00
Moritz Schubotz (physikerwelt) 4a7bc3ee31 Add special page and API endpoint that show information from math Wikibase items
Add a special page and an API endpoint to fetch data from Wikibase
items with a given qID. The special page summarizes information from
Wikibase. The API endpoint allows to request the information
directly. Both, the API endpoint and the special page, fetch the data
from a new helper class for consistency.

Bug: T208758
Bug: T229939
Change-Id: Idd22057a88312bf1a1cb5546d0a6edca5678d80d
2019-11-14 23:42:35 +09:00
Moritz Schubotz (physikerwelt) 0a4773e7de
Remove unused i18n messages
Bug: T210948
Change-Id: Ie758e1a47b347a56a03b240f01904d994eb18fc6
2018-12-02 17:59:37 +01:00
jenkins-bot 817ada2cf1 Merge "Add tracking category for deprecated mhchem syntax" 2018-11-09 12:19:12 +00:00
James D. Forrester 428f5a847b Drop support for MediaWiki core's removed "2006 wikitext editor"
Change-Id: I59bad8faee3f0f998344f985eb675087533d3d8f
2018-11-06 17:19:43 -08:00
Moritz Schubotz (physikerwelt) a865a8565a
Add tracking category for deprecated mhchem syntax
Gets warning information from restbase and adds tracking categories
for deprecated chemical syntax.
Refactor mechanism to add tracking categories, and avoiding rechecking
already checked formulae.

Depends on: Ieca66f45ae7685d61eece1624bd7ff65ccad2eaa
Change-Id: I10e78ab79015dc1331f645c60b25bbbd237e23fe
2018-10-27 20:38:02 +02:00
Translation updater bot c3c7ce3152 Localisation updates from https://translatewiki.net.
Change-Id: I9245eb1952e3290c28f50aa59278cd39f0251d43
2017-12-10 22:33:18 +01:00
Translation updater bot 4e338cb959 Localisation updates from https://translatewiki.net.
Change-Id: Id8e28d65133f1e8218d7206f7c7bf1cdbab0340a
2017-08-19 09:04:19 +02:00
Umherirrender fc2d573028 Add config for tracking category math-tracking-category-render-error
The tracking category was added with
If7537ed9117fb736a09f4396b7d55d774ce9674f

Bug: T173371
Change-Id: I6cdcfa0ece8e2b2644106bc219b538702b0bb2d8
2017-08-16 16:35:40 +00:00
Amire80 4784fbad35 Remove MathJax messages from en.json
Bug: T165475
Change-Id: I60a63c68552d3a9333c8a099c8893179739149ba
2017-05-16 14:03:59 +03:00
Translation updater bot 753e578a45 Localisation updates from https://translatewiki.net.
Change-Id: Iadf87c3e8477c40495956a9119dbca9253ccf321
2017-04-29 23:15:36 +02:00
Translation updater bot e9da713987 Localisation updates from https://translatewiki.net.
Change-Id: I684f5109a64132996e226e55da96bb23c8aadf16
2017-04-19 23:04:04 +02:00
jenkins-bot 30eece41c5 Merge "Correct "operators" message in chemSymbols.json" 2017-02-23 19:53:24 +00:00
Amire80 8674fdd47b Correct "operators" message in chemSymbols.json
Follow up to
I4452ceca55197fda5f1e1293a5741c6f5fb7c245

Change-Id: I061180179da83a7ad1229999ed97a783777bcfed
2017-02-23 19:34:54 +00:00
Translation updater bot e8af257c7e Localisation updates from https://translatewiki.net.
Change-Id: I0b6c118013cb8daaaebbc2f3b25ffb23e5a12f6b
2017-02-22 22:38:41 +01:00
Amire80 848d762e24 Add support for chemical formulae in VisualEditor
The chemical and mathematical formula inspectors and dialogs
have a lot of similar functionality, and the common parts are
now moved to the common MWLatex class.

MWMath* classes now inherit from MWLatex*, and so do
the new MWChem* classes.

Bug: T153365
Change-Id: I4452ceca55197fda5f1e1293a5741c6f5fb7c245
2017-02-19 18:36:26 +00:00
Translation updater bot 2aea08e1b0 Localisation updates from https://translatewiki.net.
Change-Id: I42fa804fda548769d1c97a900b712c090eb4c755
2016-07-09 22:53:32 +02:00
Moritz Schubotz 14ec229cf9 Add tracking category for math errors
Bug: T134872
Change-Id: I6d0bce34aacfba27bedda23f6395001dae9c6568
2016-06-06 12:06:22 +00:00
IoannisKydonis 785842d486 Clarify math-visualeditor-symbol-group-root
Thread:
https://translatewiki.net/wiki/Thread:Translating_talk:MediaWiki/About_MediaWiki:Math-visualeditor-symbol-group-root/en

Change-Id: Ia05240001617b37786c88c2b77782c38a473ec1c
2016-01-24 16:23:17 +02:00
Thiemo Mättig d292ac5247 Fix qqq descriptions for Wikibase messages
Change-Id: I022de2d48b794c069ec479a15c2e5b86f2ea8d43
2016-01-14 16:56:45 +01:00
physikerwelt 2bc0cc0cc2 Add missing documentation
Fixes: Ia5b7a96322bb41d1d78d483f0606e3a310cd8387

Change-Id: I7ebe010bc2740f7d446c7a54c87f0227a920a145
2016-01-14 12:37:14 +00:00
Translation updater bot 7ee802744e Localisation updates from https://translatewiki.net.
Change-Id: I827c88a574a0cd0dcafac4bf04831ec5308310a4
2016-01-12 22:46:31 +01:00
Thiemo Mättig (WMDE) 9625dbc8e5 Revert "Fixup: Datatype has prefix PT"
This reverts commit 0add158294.

See \Wikibase\Lib\DataTypeDefinitions::getValueTypes. The
prefix is not part of the message key. If it is, this is a
bug and should be fixed.

Change-Id: I214d71a8f1c8de751e464924f75d0458e29f2514
2016-01-12 15:23:29 +00:00
physikerwelt 0add158294 Fixup: Datatype has prefix PT
Change-Id: Ic16ca72f570633a6d008e335d9e82b5bea1d94d8
2016-01-12 15:48:12 +01:00
physikerwelt 5d4fdaf852 Add i18n description for datatype math
Change-Id: I499beb33141d0a9c124db0ac11428544c766adc2
2016-01-12 14:43:24 +01:00
Thalia 5fe280c3cf Allow users to choose math inspector or math dialog
The context item for math nodes now has two edit buttons,
one for the inspector (edit inline) and one for the dialog
(edit). Creating a new math node automatically opens the
dialog.

Bug: T120382
Change-Id: Icd3ec75262fcc5e0cbc304051c651278b0d8b01c
2016-01-04 08:20:16 +00:00
Translation updater bot 40a4507a25 Localisation updates from https://translatewiki.net.
Change-Id: Ic75e2af58da23caaa3a732c9493eb0a0d57f1344
2015-11-28 21:46:32 +01:00
Translation updater bot 652f8e300f Localisation updates from https://translatewiki.net.
Change-Id: Icad4257dafeef11dd52cef0997799d5b41953068
2015-11-26 22:02:06 +01:00
Thalia 6e73aaf86c Make math dialog with clickable list of formula fragments
The main components are:
- a menu of formula fragment buttons
- an ace editor text input into which LaTeX commands are
inserted on clicking the buttons
- a preview of the formula

The deviations from the draft design (full-width menu,
smaller buttons, dialog is 'larger' instead of 'large')
are so that more buttons can be seen at once.

Depends on Ia0f46da2d4 in ve-mw
Depends on Ib75fb7b087 in ve-mw
Depends on I758f90abb9 in ve-mw
Depends on Ibcd941d938 in CodeEditor
Depends on Ie814f59086 in oojs-ui
Depends on If540670bf2 in oojs-ui
Depends on I5f70f133b7 in ve core

Bug: T114163
Bug: T118617
Bug: T118618
Change-Id: I96d4b72f2e49ad3f43a2e5c71f0d348fdfb35503
2015-11-23 16:30:38 -08:00
Translation updater bot 95977c0493 Localisation updates from https://translatewiki.net.
Change-Id: I72d1c1c99a6f2e66b15e0dd254058278f25d3486
2015-11-22 20:44:42 +01:00
Translation updater bot b453c4def0 Localisation updates from https://translatewiki.net.
Change-Id: I7947cb8f000ca8cdb4644f10e735362f8729da8c
2015-11-19 21:37:39 +01:00
Thalia eac71ab60f Add tool to create SVG files of LaTeX symbols
Also produces a CSS file for the symbol buttons, using the
SVG filenames. Gets the list of symbols from symbols.json.

Bug: T118660
Change-Id: Iaa792418d870a7e266b6455ef037994e31278278
2015-11-19 04:11:59 +00:00
Translation updater bot 31f80b4161 Localisation updates from https://translatewiki.net.
Change-Id: I0507b61d408d6b192e11736b6a4be9fbc48a402d
2015-07-31 21:47:52 +02:00
physikerwelt 40c6bb69af Add info about failed tests to MathStatus
* Prints expected and real results for failed tests.
* Adopts to the new LaTeXML naming conventions.

Bug: T94434
Change-Id: I72bc6df7e9a85ae5c14cc7f82df072adfa65b67e
2015-07-31 08:40:00 +00:00
James D. Forrester ce0a32532d Delete unused <math-preference*> i18n strings
These i18n strings stopped being used in this repo by 60411b9a, but
were not removed then as an over-sight. Deleting only the en and qqq
messages as normal, and letting the TWN bot delete the others.

Change-Id: I86e1a09f3ddcc2e558a4f04a606cc26ab379d05e
2015-07-03 13:28:35 -07:00
physikerwelt 47aef55b48 Plural support for MathStatus page
Bug: T94546
Change-Id: I431abc2c2690b24d75d30a15ce6430f0c31b3103
2015-04-13 21:48:55 +03:00
physikerwelt (Moritz Schubotz) 6889086753 Move integration tests to a new special page
The integration tests depend on the presence of external servers
and the user settings.
First, people are bothered by  failing test due to problems with
those servers and second, administrators need to run phpunit tests
to verify the configuration settings.
Therefore, we move the integration tests to a special page.

Bug: T87389
Change-Id: If66f13fe7fa16868cd4b1d8f0e0a6e3d49448b27
2015-03-30 11:47:31 -04:00
Translation updater bot 117a1b6200 Localisation updates from https://translatewiki.net.
Change-Id: I4bb006afe2ab9ef7d339a97a3b771a705f29b008
2015-03-23 21:59:23 +01:00
Translation updater bot d45334b8bc Localisation updates from https://translatewiki.net.
Change-Id: I366383149cb56c90800e06f94aaa6c8895d2381c
2014-12-10 22:09:45 +01:00