Commit graph

2907 commits

Author SHA1 Message Date
Physikerwelt 4c9dc2f08e Breakdown of texvc
texvc had several tasks in the past:

1 checking the input
2 convert MediaWiki custom syntax to standard LaTeX
3 run LaTeX
4 convert dvi2png

This change provides a simplified version that performs
only steps 1+2. This is required to avoid security problems
with tools like MathJax, especially if these tools are
run at the server-side.

Bug: 54624
Change-Id: I1650e6ec2ccefff6335fbc36bbe8ca8f59db0faa
2013-12-14 18:34:15 +00:00
Translation updater bot 21157ef17f Localisation updates from https://translatewiki.net.
Change-Id: Ia6a51e9f78e5a86fdf8273bff3b8e8d860fd82f5
2013-12-07 01:43:49 +00:00
Translation updater bot a1d08817a9 Localisation updates from https://translatewiki.net.
Change-Id: I6aa7392f58f0e07d7eaf0dab8237a81d250e817d
2013-12-01 19:56:05 +00:00
Translation updater bot 2c62d9a804 Localisation updates from https://translatewiki.net.
Change-Id: Ib3edbeabc5f08faf8f7f12688edd6fa43f7727ad
2013-11-29 19:30:04 +00:00
Translation updater bot b582fc0742 Localisation updates from https://translatewiki.net.
Change-Id: I8419e82dbd6b7e7f11cf99e640cba903871f1c12
2013-11-25 21:16:26 +00:00
Translation updater bot 3a18d3dbe8 Localisation updates from https://translatewiki.net.
Change-Id: Ib00c0e1090ab4bac2617c3d828781bb3471f6559
2013-11-23 10:47:48 +00:00
Translation updater bot 4d7aed88a3 Localisation updates from https://translatewiki.net.
Change-Id: Ieb2367587b96310bb7f960ca15242cfff2c6241b
2013-11-21 20:39:45 +00:00
Max Semenik 4d68c31de1 Add profiling
Change-Id: I9066f6b2606044412a9b91ca395e841550d7e787
2013-11-18 14:46:00 +04:00
Translation updater bot ba36f4a462 Localisation updates from http://translatewiki.net.
Change-Id: I32a75a2b130c5d2c6c45c8df73703f0d84b5b91e
2013-11-12 20:31:21 +00:00
Translation updater bot 873902dd1d Localisation updates from http://translatewiki.net.
Change-Id: I8e73fcf786e980dc63187e68888bc5770c43a220
2013-11-11 20:19:06 +00:00
Translation updater bot ece06b1d11 Localisation updates from http://translatewiki.net.
Change-Id: Iefd1bf188ea42815917461ec62e27d8200879fd6
2013-11-09 19:11:55 +00:00
Translation updater bot b3ad6b91c5 Localisation updates from http://translatewiki.net.
Change-Id: Ie12085223664b598149bd49966f32715dcddf311
2013-10-22 19:19:50 +00:00
Translation updater bot d756e88d3b Localisation updates from http://translatewiki.net.
Change-Id: I27881c6e20bdfcd241ddf2e312ad55486e8c4366
2013-10-20 21:46:13 +00:00
Translation updater bot 122b77febb Localisation updates from http://translatewiki.net.
Change-Id: I6a12960835c1a218a43e18aa5b28c37a674f0a74
2013-10-18 19:20:53 +00:00
Translation updater bot 4542b790ee Localisation updates from http://translatewiki.net.
Change-Id: Ia7d8c61181206abd0aae43b3828d469bde5e8699
2013-10-16 21:44:42 +00:00
Translation updater bot 71dd8dbd9d Merge "Localisation updates from http://translatewiki.net." 2013-10-15 19:41:31 +00:00
Translation updater bot 3c61626a7e Localisation updates from http://translatewiki.net.
Change-Id: I2cb3982e27b7f29a45d0c7b01c917a3866a3ba3b
2013-10-15 19:28:11 +00:00
Ori Livneh 679ce7fe2f Log texvc errors in 'texvc' log channel
This patch adds wfDebugLog() calls for conditions related to texvc invocations.
The logs are grouped under a 'texvc' group, added for this purpose. The reason
for logging into a separate channel is that the Math channel is too verbose for
production use on the Wikimedia cluster.

Change-Id: I05a17a0230f49f5d698b91617d06b3e3f838b67d
2013-10-14 15:59:21 -07:00
Siebrand Mazeland b6ed9af2bf Update capitalisation
Change-Id: Ic2f0ad045e8451269e74906b43793cec247d76c9
2013-10-14 13:45:44 +02:00
physikerwelt afc50961ab Fix: Add missing xmlns
Change-Id: Id7c92982a914ec26990556662ba971483e58f934
2013-10-13 14:43:37 +00:00
Gabriel Wicke baf038da0d Insert defs into svg element, not before it
Change-Id: Ic8b56b9d0d854d8a58f6e6b063262dbf3525c809
2013-10-12 22:08:27 +00:00
Translation updater bot e4188c37ea Localisation updates from http://translatewiki.net.
Change-Id: Ifddd77072c6ac742ba72efc28bb141c044cc75ef
2013-10-11 19:10:48 +00:00
Gabriel Wicke 6c7f4e3b38 Fix SVG glyphs and make the service more robust
Change-Id: I14d3ca2fdc89f8662b2e823b6c891c79db5bab5a
2013-10-10 14:17:14 -07:00
Translation updater bot fd8da050fb Localisation updates from http://translatewiki.net.
Change-Id: I5368e9390a58cfbdd25b8de532004fbc93c0db8d
2013-10-08 00:56:24 +00:00
Translation updater bot 53d2be951f Localisation updates from http://translatewiki.net.
Change-Id: I90413f8250bb5bf70aa78dc81604e37bc40c648f
2013-10-06 18:39:47 +00:00
Moritz Schubotz 12a45cff1b Adding mathoid as tex to MathML and SVG renderer
Uses nodejs to call phantomjs that renders the
tex input using MathJax and returns a json object
that includes both the SVG and the MathML
representation.

The project was forked from
https://github.com/agrbin/svgtex.

Co-Authored-By: Gabriel Wicke <gwicke@wikimedia.org>
Co-Authored-By: Moritz Schubotz <wiki@physikerwelt.de>
Change-Id: Ie5f24006c3aacd8f61f48ca275acd63a418d7529
2013-10-04 17:03:34 -07:00
Translation updater bot f84a74d643 Localisation updates from http://translatewiki.net.
Change-Id: Icbfe3dc0591eb81b0c4c3d0d897a464c38c6d3e8
2013-10-01 19:04:42 +00:00
Translation updater bot d3e390c67b Localisation updates from http://translatewiki.net.
Change-Id: I675dba0ac600be44535509d364c71d24e37e8063
2013-09-29 20:06:39 +00:00
physikerwelt (Moritz Schubotz) 12b43489ea Expose LaTeXML Settings
Make LaTeXML setting configurable with the new global
variable $wgDefaultLaTeXMLSetting.

PS: This variable can be specified as an array or a
string. If specified as an array, the
 array('a'=>'b','c'=>array('e','f'))
would be transformed to the equivalent setting
 a=b&c=e&c=f
,which is the input format for the LaTeXML daemon.

Change-Id: I2869df27cee83b426c6eb2312306fac9d6203ef2
2013-09-20 17:20:03 +00:00
Reedy 40ba7ff462 Fix comment about Math compnent to report bugs etc
There isn't a texvc component in extensions

Change-Id: I7d868a37142be0d4163ff891f7392887643ead26
2013-09-20 09:13:18 +00:00
physikerwelt (Moritz Schubotz) 1a4f371cf6 Merge advanced database write method
Merge advanced database write capabilities
from the development branch.

Bug 53400

Change-Id: I99973bcf7b3a663eeecda136e32b70c26055dbb8
2013-09-18 17:37:35 -07:00
Translation updater bot 2db785cfaa Localisation updates from http://translatewiki.net.
Change-Id: I92bd03fa14207d9f67c30c4ddd49f0a01a5a9a4f
2013-09-11 19:37:16 +00:00
jenkins-bot ffa865cc31 Merge "Improvements to prepare a MathJax+PNG option" 2013-09-11 18:45:58 +00:00
Translation updater bot 66b8a5a6c3 Localisation updates from http://translatewiki.net.
Change-Id: I9ee5ec73142e576764a04d5f714657f357f6c439
2013-09-10 20:05:46 +00:00
Frédéric Wang bfc9ce8e7b Improvements to prepare a MathJax+PNG option
- Remove MathMathJax.php, which uses exactly the same output as MathSource.php.
- Make wiki2jax able to handle texvc output as a preview before MathJax rendering.

Change-Id: I1199cb34d555d2a1e57da98857f41a22cfe81df4
2013-09-10 18:38:10 +02:00
Translation updater bot 04cf73f1d3 Localisation updates from http://translatewiki.net.
Change-Id: I179a4d8c64f63a4cba87bc52d934443e587cf741
2013-09-05 20:26:11 +00:00
Translation updater bot b774332e07 Localisation updates from http://translatewiki.net.
Change-Id: I0349afe360bfb4c474ce70da7fcf6b489b248cf0
2013-09-02 19:22:54 +00:00
Translation updater bot c875212922 Localisation updates from http://translatewiki.net.
Change-Id: I8057066a20a86f7ae262ce469117706993e4f4f4
2013-08-25 20:03:24 +00:00
Translation updater bot c12f0103bf Localisation updates from http://translatewiki.net.
Change-Id: Id03d3d7a8ac07dbd4de830929ee9e37c4ec39613
2013-08-25 13:28:17 +00:00
Translation updater bot bf03f11c14 Localisation updates from http://translatewiki.net.
Change-Id: I0989ce26947b82bef52ed512be593a354fe89b72
2013-08-21 20:59:13 +00:00
Translation updater bot 8974b445db Localisation updates from http://translatewiki.net.
Change-Id: Iba1a2a3b628b11359b0aef41f69e6e6a9b016425
2013-08-19 19:32:46 +00:00
Translation updater bot 28cca438ef Localisation updates from http://translatewiki.net.
Change-Id: I0b061b88861ce30d176fd342dea583cee4440b4c
2013-08-18 19:36:47 +00:00
Translation updater bot d1f1642b73 Localisation updates from http://translatewiki.net.
Change-Id: Ib65f37f5c922e5a3fa701e8663ebaefbe9be5144
2013-08-16 19:20:37 +00:00
Translation updater bot 67e21bdc12 Localisation updates from http://translatewiki.net.
Change-Id: Ib217542be98e0c0829c1a5ef239bceac4db0d411
2013-08-14 19:25:39 +00:00
Translation updater bot 0476fd66d5 Localisation updates from http://translatewiki.net.
Change-Id: I84c2d095ca32cdd753dc7d775540a131baac7b03
2013-08-09 19:42:53 +00:00
Translation updater bot 46a1fecdc3 Localisation updates from http://translatewiki.net.
Change-Id: Ic0c2387cd0eb262f9bb024877730e14fe4d33d82
2013-08-08 20:00:32 +00:00
Translation updater bot a3298b0a1b Localisation updates from http://translatewiki.net.
Change-Id: Ieb48987559dcf232ad5ce847e24ea5d26474a816
2013-08-04 18:54:20 +00:00
Translation updater bot b75e882589 Localisation updates from http://translatewiki.net.
Change-Id: I0d014835fcd6c91745a218361184664089b94216
2013-07-31 20:51:40 +00:00
Translation updater bot 222acb836e Localisation updates from http://translatewiki.net.
Change-Id: Ia72c7ddeea537c32d9a31a5df175fd15a3b846e0
2013-07-31 19:58:45 +00:00
Translation updater bot 03ac0569ee Localisation updates from http://translatewiki.net.
Change-Id: Id3a0fbed4cc41569b451b124a2a40bf4f3c86ad1
2013-07-30 20:10:36 +00:00