Commit graph

2596 commits

Author SHA1 Message Date
Moritz Schubotz (Physikerwelt) c5b0b15d8f Fix MathJax centers equations
* Removes the MathJax heuristics that decides
  if equations are centered or left-aligned.
* Introduces the attribute display to specify
  if the math element is rendered in inline,
  display, or inline-displaystyle.
* add css rules for display / inline math images

Bug: 61051
Change-Id: Iba69903f781f0cb1606b8ddcffb90fb86c9b229b
2014-04-06 21:58:30 +00:00
Derk-Jan Hartman 24f2ed2c5e Add the TeX color extension back
The color and the cancel extension was not RL'ified in the update
to MathJax 2.3

Followup to: I9471b1baf41d2bcc4fdc64a26e7d806e92b9b17f
Bug: 63574

Change-Id: I816db6b66ef48a90e7424372783c69ffe8343957
2014-04-05 18:01:15 +02:00
Derk-Jan Hartman eda0726fd4 Reset the fontstack of mathjax back to defaults
I suspect we retained this of the import of Nageh's option, it was
never really a conscious decision. This makes is to so that locally
installed fonts are preferred over the Tex webfont.

Bug: 63016
Change-Id: I6876f4969314b2feea01ecfef29f98dcd5f1056a
2014-04-05 11:52:34 +02:00
Translation updater bot 9b2015229e Localisation updates from https://translatewiki.net.
Change-Id: Ia4f621c925637f146aa9e8341587744d2e9e4944
2014-04-04 20:23:37 +00:00
Translation updater bot b70d13dd59 Localisation updates from https://translatewiki.net.
Change-Id: I70f8880dd364db4154186acefe580c05d408d1be
2014-04-03 19:45:07 +00:00
Translation updater bot 1ee1196dd9 Localisation updates from https://translatewiki.net.
Change-Id: I45696dd752efc2f4c2c1775827adfd8b197d5179
2014-04-02 19:13:56 +00:00
Translation updater bot 03a8a4d6cc Localisation updates from https://translatewiki.net.
Change-Id: I960e7721a7603e84303c2ba928428c22cf0b0263
2014-04-01 19:47:38 +00:00
jenkins-bot ca3c5a58a2 Merge "Consistency tweaks: Add <code> around executable name" 2014-04-01 13:10:29 +00: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
Ed Sanders 31df8ff3a8 Emit rerender on math node if Tex image is not present
This happens with then empty tag is rendered.

Bug: 63093
Change-Id: I5cf731cedda134d2542946da82997bddf58b00b5
2014-03-31 16:07:59 -07:00
Translation updater bot a8625fd0ed Localisation updates from https://translatewiki.net.
Change-Id: I7d6e76220798027ea3f4506ee3c3362dd96d28a8
2014-03-30 20:12:54 +00:00
Translation updater bot 44bb90cd43 Localisation updates from https://translatewiki.net.
Change-Id: I6369679d078024a8915a4beacfee50598025c604
2014-03-29 21:16:41 +00:00
Translation updater bot cf00bd2cd0 Localisation updates from https://translatewiki.net.
Change-Id: Ibe8e362c45893b0472da5c947c3576097ad49778
2014-03-28 19:30:23 +00: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
Translation updater bot 88d3368c23 Localisation updates from https://translatewiki.net.
Change-Id: I3b96991d6f0316c4fd5918e908411976752800c8
2014-03-27 20:31:17 +00:00
Translation updater bot 2380d912c0 Localisation updates from https://translatewiki.net.
Change-Id: Ia5d372fe272eb3d973162ecee9988d362f20c17c
2014-03-26 20:40:40 +00:00
Translation updater bot 37aab2ac82 Localisation updates from https://translatewiki.net.
Change-Id: I3f07d2caf53d3f8e23f889e36994c1c665fcfe77
2014-03-25 20:51:58 +00:00
jenkins-bot 4e362af041 Merge "Make VE math inspector title not be null" 2014-03-25 19:11:26 +00:00
Roan Kattouw 91ac23377f Make VE math inspector title not be null
Forgot to update this for the deferMsg refactor.

Bug: 63083
Change-Id: Ib401c36d656344b74f2358e3e32870186e54e351
2014-03-25 11:35:22 -07:00
Translation updater bot 736cd7b059 Localisation updates from https://translatewiki.net.
Change-Id: I3cb3e4889a146dec117460d80ae5892aa90cae40
2014-03-24 22:21:30 +00:00
Translation updater bot 3b967c48a0 Localisation updates from https://translatewiki.net.
Change-Id: I665aedb985798a51d7e31c7a540e19467cbd28bc
2014-03-23 20:29:54 +00:00
Translation updater bot d46998a247 Localisation updates from https://translatewiki.net.
Change-Id: I33fc4e07f62e75300558bac6aba95c524c418ca4
2014-03-22 20:49:35 +00:00
Translation updater bot b5cb7c0de0 Localisation updates from https://translatewiki.net.
Change-Id: I6d685434ea42d35e5b66116e7a3fe95b0b89ceef
2014-03-21 20:46:37 +00:00
Translation updater bot d81662cde0 Localisation updates from https://translatewiki.net.
Change-Id: I128ecc06ec6847ff1ab1329d8c27bbbe663f769d
2014-03-20 20:30:20 +00:00
Moritz Schubotz (Physikerwelt) 0b6ed3ce2f Improvement of LaTeXML integration tests
* use setMwGlobals to set the globals

Change-Id: I253c75f93fe6fa098b1b6f462129148782db2fa7
2014-03-20 15:51:00 +00:00
Roan Kattouw e7be4f5ba7 Minor fixes for VE Math code
* Update MWMathInspectorTool for deferMsg refactor
* Update ce.MWMathNode to add primaryCommandName

Change-Id: I344e3ef498c504d07b1f42954ab44b82ed3c0a50
2014-03-19 19:31:41 -07:00
Roan Kattouw fcf045f832 Add VisualEditor support
Moved from the VisualEditor extension, where it was removed in Iab0c56246626de1e0f

Change-Id: I8e582ee6deadc2750d30b49f0c6de31ed9c16a50
2014-03-20 01:29:25 +00:00
Translation updater bot 3ebddd2cbb Localisation updates from https://translatewiki.net.
Change-Id: Ifafeb90f725ff5bac8c25aa4b351b9be83c43dc0
2014-03-19 20:43:14 +00:00
Translation updater bot 80a94c8973 Localisation updates from https://translatewiki.net.
Change-Id: I182f1ad0bf191c4ff57725b94901ccbefa4addc2
2014-03-17 21:19:46 +00:00
Translation updater bot 4391cd94f7 Localisation updates from https://translatewiki.net.
Change-Id: Iab95fed59c70c5b91c752e9435106d1b770779d8
2014-03-15 20:08:59 +00:00
addshore 80bf30ca45 Split up some long lines in tests
Change-Id: I45be8ea1b9a9a974614354c0199e3107a5cdc23e
2014-03-11 23:32:33 +00:00
Translation updater bot 6db9b0e6fe Localisation updates from https://translatewiki.net.
Change-Id: Ib19ce59d60301d6cd5ce2cc444bebcc47b64f298
2014-03-11 20:44:34 +00:00
physikerwelt 94b035b26a Coverage tests for the Math extension
* Include generated tests for a better test coverage
of the Math extension.
* Compiles texvc in testsuite (if required)
* Test generator now included
* Replaces the old parser tests
* Fixes whitspace issues

Bug: 61090
Change-Id: Iff7eeb5ee72137492c3f6659e4d4d106e5715586
2014-03-11 15:35:07 +00:00
Translation updater bot 02477fa877 Localisation updates from https://translatewiki.net.
Change-Id: If549c38d39349164a3fa1c74f552c03436916b65
2014-03-09 20:32:13 +00:00
Translation updater bot 1264320db7 Localisation updates from https://translatewiki.net.
Change-Id: Ibeabc7ccef28f1b00ec47366b37b4b5cbff4651b
2014-03-07 21:40:46 +00:00
Translation updater bot acb3975cc5 Localisation updates from https://translatewiki.net.
Change-Id: I99810b72dd4f59790c265d2ba07df8c18eb71875
2014-03-04 20:44:32 +00:00
Translation updater bot 976aac0d78 Localisation updates from https://translatewiki.net.
Change-Id: Iabed2ce540ca29c13de9b2a47d953026837b0a2c
2014-03-03 21:06:40 +00:00
Translation updater bot 28a5111ae9 Localisation updates from https://translatewiki.net.
Change-Id: Id090c14ebf56d5eadae9df0ae7fa63c777aba6a7
2014-03-02 20:39:18 +00:00
Reedy fd58ec6aff Add COPYING
Change-Id: I5b3deadb4654b669cc4440334d6e7b6246a1251a
2014-03-01 16:15:39 +00:00
Translation updater bot fa48af7fdd Localisation updates from https://translatewiki.net.
Change-Id: I225a44b9ecdaece6a8dec10c64fe40513a5f4819
2014-02-26 22:00:37 +00:00
Translation updater bot 0c1ed14e27 Localisation updates from https://translatewiki.net.
Change-Id: I942e23749be7fea7e3aeec15cbbda078389907cf
2014-02-23 21:41:22 +00:00
Translation updater bot 773048cf3b Localisation updates from https://translatewiki.net.
Change-Id: If032ee8ac0f5ec504046a457b4fd9c10f9138a2b
2014-02-20 21:03:05 +00:00
Antoine Musso 28e6a1a751 Compile texvccheck in testsuite
The MathInputCheckTexvcTest class expects texvccheck to be available
via $wgMathTexvcCheckExecutable.  It is not always set or the executable
might not have been compiled (for example on Wikimedia CI Jenkins).

This patch still attempt to use $wgMathTexvcCheckExecutable, if it is
not found it will attempt to compile it using the Makefile in the
texvccheck subfolder of the repository.  That should work whenever
someone has ocaml installed, the resulting binary is used to set
$wgMathTexvcCheckExecutable.

Bug: 61090
Change-Id: I9ea4b87de6e2827aad83961712f66ecbef2639de
2014-02-20 08:00:16 +00:00
Translation updater bot 8b3b0de8a6 Localisation updates from https://translatewiki.net.
Change-Id: I75a301b8d5658ba00ab0393e78a936f40b77d35b
2014-02-19 20:08:05 +00:00
umherirrender f5e302bf9f Add space after math_failure message
Having the error message direct behind the message looks odd.

Change-Id: I60af7eb0aa826c7cd0671470a5a10e6bce8f6649
2014-02-19 19:04:07 +01:00
Davide P. Cervone 01ca982894 Push math nodes onto mathArray individually to avoid problem in IE < 9 where push.apply doesn't work on a nodeList. Also, avoid duplicate elements in the array by checking for namespace prefixes. This needs to work for both HTML and XHTML. Resolves issue #672.
Signed-off-by: physikerwelt <wiki@physikerwelt.de>

Change-Id: I0e2071aebee4e524960b01c4a5a10e49b5520846
(cherry picked from commit d463f88c18)
2014-02-17 03:29:45 +00:00
Translation updater bot c7a8073501 Localisation updates from https://translatewiki.net.
Change-Id: Ic28d54ad67e9702d226737861be96b90f7965799
2014-02-16 20:20:21 +00:00
Translation updater bot 042d3e66a9 Localisation updates from https://translatewiki.net.
Change-Id: I43f2b12b2f00064184e10daf3ca0a6cc3bd8a9c0
2014-02-15 21:05:12 +00:00
jenkins-bot 7bd39100b2 Merge "Update the DB output hash if outdated according to texvc" 2014-02-14 23:52:35 +00:00
Aaron Schulz 078347b35e Update the DB output hash if outdated according to texvc
* Otherwise all future <math> hits will check the wrong file
  (which may not exist), recreate the png, and store over the
  proper file (even if it was already there). Update the DB to
  point to the right hash instead.

bug: 60997
Change-Id: Ib833ad32ff1e4506e9b8ab2cc1b72516cb072cd5
2014-02-14 23:42:17 +00:00