Commit graph

2928 commits

Author SHA1 Message Date
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
Translation updater bot 8a939de364 Localisation updates from https://translatewiki.net.
Change-Id: I8f401a4c74fcf06144a5658fe6c6378a4913117a
2014-02-14 20:20:17 +00:00
jenkins-bot 8e10cffd43 Merge "Differentiate missing texvccheck from missing texvc" 2014-02-13 23:17:13 +00:00
Translation updater bot f448f99583 Localisation updates from https://translatewiki.net.
Change-Id: I73d7cd85b7ef9b939de96846dca80eb00068c0ad
2014-02-12 21:35:11 +00:00
physikerwelt dcc3f0fd3c Differentiate missing texvccheck from missing texvc
Introduce different error messages for missing texvccheck and
texvc and update the README file.

Bug: 61154
Change-Id: I52f796f181f6a3ab6d65a8e8d89f59d523d5b7b8
2014-02-12 01:38:01 +00:00
Translation updater bot 7059fc825f Localisation updates from https://translatewiki.net.
Change-Id: Ie340cbdb97dd58a39f1720c3ead2b6c681116bf5
2014-02-10 20:48:46 +00:00
physikerwelt 76236787e0 Separate Mathoid from the Math extension
Mathoid is supposed to be run at a server separated from
the MediaWiki math extension. It should use the MathJax
version customized to the MediaWiki needs as submodule.
It has been moved to the new repository
mediawiki/services/mathoid

Change-Id: I00b42926ba91043570c5058e0352c0e743a400b0
2014-02-10 18:28:08 +00:00
Chad Horohoe e0b3883c55 Wrap texvccheck call in PoolCounter
Change-Id: Iae9693d1948bec6dd08473bce3cb704f24338ff8
2014-02-10 09:38:35 -08:00
Moritz Schubotz ff83048597 fix: texvccheck is not idempotent
The output of texvccheck is not only "checked" but also
rewritten to another form.
(For example $\R$ is transformed to $\mathbb{R}$.)
But the output might not be a valid input for the thexvccheck
part of texvc, like it happened in for the example given in the bug
description.
See also I599c4390da9b8f36d800f379a33ad5ce90f5096c
Bug: 61012
Change-Id: Iae5e350cb78c0e637e574390c586fbdb8dc38496
2014-02-07 10:27:21 +00:00
Translation updater bot bbccb1fd27 Localisation updates from https://translatewiki.net.
Change-Id: I330c356cfd0c8d92ebc6a33240518b8826d7a721
2014-02-04 21:04:59 +00:00
Matthew Flaschen a10c4d130e Fix one of the old variable names in the release notes
Change-Id: I4dcedb6b1c0f85073d7c3753c8aa81414eca91a4
2014-02-03 18:35:37 -05:00
Translation updater bot fb0f60a550 Localisation updates from https://translatewiki.net.
Change-Id: Iefb3bfba3b8d1430d0f45a0cdfe20486409de12e
2014-02-03 21:21:08 +00:00
jenkins-bot 013cb70749 Merge "Rename some global variables that violate the naming convention" 2014-02-03 18:50:13 +00:00
Translation updater bot 33be0cf17d Localisation updates from https://translatewiki.net.
Change-Id: Iefadad5746cdf1fa7f1f580ff77a948132d7e267
2014-02-01 19:43:31 +00:00
physikerwelt dd4f911d87 Rename some global variables that violate the naming convention
* $wg(.*) variables from extension should start with the extension name
    i.e. for extension Math $wgMath(.*)
* But keep $wgUseMathJax, because it has been used for 2 years now.
* Add release notes

Change-Id: Ib70a9f7767890cc4618bc10c2610784f5b17e670
2014-02-01 11:56:07 +00:00
physikerwelt 52d206c4b4 Remove call to deprecated ParserOptions::getMath
Since math has been moved from core to an extension
it should take care of the caching by its own.
Therefore, a call to the parserOptions::getMath is removed
and own caching logic is introduced, once getMath is removed
from core.

Bug: 14202
Change-Id: Ifa847b61264f8d640c9886fd374eb3d6cf482c0c
2014-01-29 09:10:05 +00:00
jenkins-bot bc4c6809f2 Merge "Makefile in root directory" 2014-01-28 20:51:52 +00:00
jenkins-bot 6d7fa3ef13 Merge "Remove $wgUseTeX" 2014-01-28 20:50:46 +00:00
Antoine Musso 504cabadb2 Makefile in root directory
Creates a Makefile to wrap building of texvc and texvccheck.

Change-Id: I9737529c2db42ffa9f4fb64afd4a8aa5fa26eaf2
2014-01-28 20:55:48 +01:00