Commit Graph

39 Commits

Author SHA1 Message Date
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
Amire80 8674fdd47b Correct "operators" message in chemSymbols.json
Follow up to
I4452ceca55197fda5f1e1293a5741c6f5fb7c245

Change-Id: I061180179da83a7ad1229999ed97a783777bcfed
2017-02-23 19:34:54 +00: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
Moritz Schubotz 14ec229cf9 Add tracking category for math errors
Bug: T134872
Change-Id: I6d0bce34aacfba27bedda23f6395001dae9c6568
2016-06-06 12:06:22 +00:00
IoannisKydonis 9e10e9cc82 Add PLURAL in math-status-introduction
Thread:
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Math-status-introduction/en

Change-Id: I3a41a446001cf35c3dc0cac4025ae8fc64a3c9e4
2016-01-20 18:40:00 +02:00
Thiemo Mättig 5563cda43d Change TeX to LaTeX in all messages
Change-Id: I43257064bc1a29bc3c1a44d5413ed3e183ad933b
2016-01-15 23:17:27 +00:00
Thiemo Mättig f1ac24db06 More human readable name for the Wikibase type "math"
As requested by Lydia. Personally I do support this change.

Change-Id: Ia5b7a96322bb41d1d78d483f0606e3a310cd8387
2016-01-14 12:44:11 +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
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
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
jenkins-bot cd65aa0e13 Merge "Add en.json credits" 2015-08-01 17:14:08 +00:00
jenkins-bot f1ecf1410e Merge "Remove double space in a message" 2015-08-01 14:27:14 +00:00
Amir E. Aharoni 01fb7d0736 Remove double space in a message
Change-Id: I67e529e974c19b182a8ce981ea31c19adfb0c917
2015-08-01 12:13:41 +03:00
Amir E. Aharoni 629d9541fb Add en.json credits
Using `git blame` and `git shortlog -s -n`
on en.json and Math.i18n.php.

Change-Id: I942748b68cd707d19308e048e3b2c835ed8473fb
2015-08-01 12:11:19 +03:00
Amir E. Aharoni efc8e845f8 Add full stop to a message for consistency with a similar message
Change-Id: I2a5251286c9522688c842785089390045fe9d3ae
2015-08-01 12:10:12 +03:00
Amir E. Aharoni 992f781c88 Convert spaces to tabs in en.json
According to the usual i18n json convention.

Change-Id: Ic288f4dbf12d9c3bc04e28cb5cb64f153cdc76b5
2015-08-01 12:06:41 +03: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 d2045ac9a4 Improve layout of Special:MathStatus
Bug: T94434
Change-Id: Ib723c80642d432b7eac66fc18a316aaae026e884
2015-04-06 13:32:45 +00: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
Chad Horohoe eab415ef71 Math: tidy up error message handling
- We don't localize errors and debug logs like this, it makes them
  impossible to decipher
- Also remove some 1.21 and below back-compat while we're here

Change-Id: Idb23fe5b434fa9fa3518672d57ec6e5466d005ac
2015-02-19 16:22:46 -08:00
Ed Sanders 70573daa0b Add support for display and ID attributes to VisualEditor
Change-Id: Ie65ff26c9e214f74b0217238a3def2242505d4c2
2014-11-24 19:24:06 +00:00
Ed Sanders f26cf2cbbd Sort i18n messages, and fix grammar
Use singular in "VisualEditor formula editing".

Change-Id: I88e03d757c5b18615fdcc2978bb5447a01f11b61
2014-11-17 10:50:54 +00:00
Amir E. Aharoni 51e1d2b7b9 Improve wording of preferences
Change-Id: Ieaea40b3337db885d7dc4245467f4879a8650441
2014-10-25 17:43:09 +03:00
Gabriel Wicke c61b8becac Use radio buttons only for math mode selection
While the combination of all redering modes, might
be useful for some power users it will confuse the
average user and makes bug reporting harder.

Therefore, source rendering on the server side is
used when MathJax is enabled on the client side.

Change-Id: I05a20d7c2298115dbf0429db6c107e8132cc15ff
2014-10-13 09:42:37 +02:00
physikerwelt db3026d5e1 Error reporting for Mathoid
Currently the error reporting in MathML mode is
misleading.

The old error message suggested that the MathML
produced is not well formed.
This change displays the actual error
message occurred during the conversion process.

Change-Id: I6a8201107f9280f0cba97509f19b97d8e248c99f
2014-08-28 13:16:35 -04:00
Frédéric Wang 403b238e1c Indicate that a PNG fallback can also be used for the MathML mode
The fallback image for the MathML mode is in SVG format, except for Internet
Explorer < 9 for which PNG is used instead. This commit makes the label of the
MathML mode sligthly more accurate, by mentioning that PNG may be used.

Change-Id: I77c8a8dcb7d2f111f029e1cd5b6f3442640be57e
2014-08-26 20:11:43 +02:00
Frédéric Wang bfa7f5112f Remove the "best for most browsers" comment for the MathJax mode.
This is a subjective comment that was not true for everybody (trade-off
between speed & quality). Moreover, this is now an orthogonal option to enable
MathJax client-side rather than a separate rendering mode per se, so it is
confusing to compare it against the other modes. The "recommended" mode in the
future is likely to become MathML + SVG fallback (which instead uses MathJax
server-side) ; but it's probably best to keep neutral regarding the user's
preferences.

Change-Id: I5c6ff7c95cded4f06f6bfdef43dbe190e42a2968
2014-08-24 14:29:03 +02:00
physikerwelt (Moritz Schubotz) 5cd5f7b49d Add missing period
See
https://gerrit.wikimedia.org/r/#/c/135817/6/i18n/en.json

Change-Id: Ib36c2b00ad7639d6fbd6a1bec940457d3526319c
2014-07-27 20:18:00 +02:00
physikerwelt (Moritz Schubotz) 8ee7ef089e Add description for MathML rendering option
Change-Id: I14538fd879f52a6090414f215175917c1bcdeded
2014-06-11 16:57:36 +00:00
physikerwelt 4ca287b43a Improve MathML error handling
This change improves the error handling for MathML.

* Make MathHooks::getMathNames public
* Allow to use the same error messages for LaTeXML and Mathoid
* unify the string delimiter in error messages to "

Change-Id: I6568e6a3c98cb008f45f887d42e446daafe0ed3c
2014-06-04 07:38:48 +00:00
Yuki Shira 7bcf886644 i18n: Fix MediaWiki.org URL
Change-Id: I64ecfaa967435df0f90014f1a362c43a0f7e4711
2014-05-05 14:30:43 +09:00
Raimond Spekking dbc67b3685 Consistency tweaks: Add <code> around executable name
Spotted by Siebrand
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Math_notexvccheck/en

While I am on it: Always use https for mediawiki.org

Change-Id: I227540a4cc5529c9db44dbbfda617f9b81db7274
2014-04-01 15:07:51 +02:00
Siebrand Mazeland 5cbbd0c807 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Ifcaf0e8516cd92587fc5e51a580a53f4158cdb6e
2014-03-28 11:06:06 +01:00