Commit graph

2803 commits

Author SHA1 Message Date
physikerwelt fcd542c2c5 remove armourMath and wgContLang (bug 60799)
* armourMath is no longer needed

Bug: 60799

Change-Id: I1134d34d403b527821a1f7ccd370e78cf6197d71
(cherry picked from commit 2c555baf4f)
2014-04-07 15:02:18 +00:00
Derk-Jan Hartman 23f94d5b6a Add dependency for math edit button
Declare that ext.math.editbutton.enabler depends on
mediawiki.action.edit.

Follow up to: I3d126c1c252c27fa65ab8fb42ffab66a2d99cfa8
Bug: 60471
Change-Id: Ibcda91bbb164b0b896d4c3f5f7c2c6ea6658468e
2014-04-07 13:15:02 +00:00
Derk-Jan Hartman c787eb34e7 Move betafeatures images into the images dir.
It's not really nice to have this lying around in the root of the
extension. Even if it's for beta, better to use a proper subdir, so the
directory is somewhat 'readable'

Change-Id: Ib6e6b27b2169626a4f9028fa0f772bbdab16a40c
2014-04-07 14:41:09 +02:00
Derk-Jan Hartman e1343c3f87 Fix globals in strict mode
I didn't really intend to make this strict yet, but since I did,
better make it work

Follow up to: I679246089ec485678088ff08f3a46d8b74a262c5
Change-Id: Ic6180b3188d46ce92e0547b0fbb6c333906c49f6
2014-04-07 12:31:34 +02:00
jenkins-bot ea48a4442f Merge "Editbutton for math" 2014-04-07 09:33:56 +00:00
Moritz Schubotz 9f7a1e51c4 Editbutton for math
Move the code that creates the Editbutton for math from core,
where it is removed in Ib17aa47c7d647e1ed293541adbdd1aa77e25e59e.

Imported button image from:
ssh://gerrit.wikimedia.org:29418/mediawiki/core.git/skins/common/button_math.png

We don't need to vary the icon per language, because there is not a
single language that has a non default icon.

Bug: 60471
Change-Id: I3d126c1c252c27fa65ab8fb42ffab66a2d99cfa8
2014-04-07 09:26:16 +00:00
Derk-Jan Hartman 28efa34ffd Convert MathJax enabler script to tabs
Per our coding conventions:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript

Change-Id: I679246089ec485678088ff08f3a46d8b74a262c5
2014-04-07 11:05:08 +02:00
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