Commit graph

2889 commits

Author SHA1 Message Date
Translation updater bot 461d31718d Localisation updates from http://translatewiki.net.
Change-Id: Ic1087d8f34b5aa67dc7c689b7ee55d65e7fd39f2
2013-06-15 21:11:02 +00:00
TheDJ 16ef466c19 Merge "Fix: PHP Style corrections" 2013-06-12 20:38:12 +00:00
Translation updater bot a6c23c67c3 Localisation updates from http://translatewiki.net.
Change-Id: I9f1e285500c796dc06546df1b4b7b148426e042d
2013-06-12 19:56:39 +00:00
Translation updater bot d4ef962317 Localisation updates from http://translatewiki.net.
Change-Id: I3311a12a2e5f60597fddcc857c061a1b1fce944e
2013-06-11 20:54:40 +00:00
Translation updater bot 80ba9e1bc3 Localisation updates from http://translatewiki.net.
Change-Id: I9163d9bfb3d501f2958257e029556b324bd3d1b1
2013-06-10 07:27:12 +00:00
physikerwelt 90d678782f Fix: PHP Style corrections
* Explicit function visibility
* Uniform constant definition

Change-Id: I5f064d2eac0dedd4c8cc94f442c65f0e338ebbf4
2013-06-07 15:37:56 +00:00
Matthew Flaschen f420e06763 Set menuSettings.locale
That one is necessary, and MathJax.Localization.locale will copy it automatically.

Bug: 35038
Change-Id: I4e21cc5cdcb0d7a31a97b3b136d725f67a53f75c
2013-06-04 21:42:36 +00:00
Derk-Jan Hartman 296bc66540 MathJax Localization: Remove language menu
This way the cookie is never set and MathJax simply always follows
the MediaWiki language.

Follow up of Ibf43a3e44ea2bfdbd9fddc01c71c72ba097ff1b7
Bug: 35038

Change-Id: Ie7530d3a904fb39945ba8b8d261852c2b8cb666b
2013-06-04 22:47:48 +02:00
Derk-Jan Hartman df9cfe846b MathJax: Support localizations of MathJax
Adding the localizations which I missed when updating to 2.2 in
I9446121985ae27e65a429b5a558940ac30520d44
Forward the userlanguage from MediaWiki to MathJax
Note that MathJax preserves selected language in cookies, so once set,
you need to manually switch it every single time.

Bug: 35038
Change-Id: Ibf43a3e44ea2bfdbd9fddc01c71c72ba097ff1b7
2013-06-04 20:25:55 +00:00
Translation updater bot bace81d6db Localisation updates from http://translatewiki.net.
Change-Id: I43cc7f3b9f5322f14b4accd9e4642116f4e4d3ce
2013-06-03 18:51:06 +00:00
Translation updater bot b4e3ac7215 Localisation updates from http://translatewiki.net.
Change-Id: I04ac4d6c2d9493ea00a45a776b293d02a4d7277a
2013-06-03 11:51:07 +00:00
physikerwelt 443c7ef95a Calculate HTTP POST data in separate method for debugging
To check if the renderer works correctly it is desired to be able to
separate the test of the renderer and the function of the extension
PHP code. Therefore the method getPostData can be used to get
the values can be sent to the renderer directly via
curl –d 'POSTDATA' URL

Change-Id: I530f5fcba46364458643914bca81cf0bc1b60a58
2013-05-30 07:59:27 +00:00
Translation updater bot e056e54f06 Localisation updates from http://translatewiki.net.
Change-Id: I3b738067c32091278faae606bc8fa2094b5f44ae
2013-05-29 08:39:43 +00:00
Translation updater bot c13157c6af Localisation updates from http://translatewiki.net.
Change-Id: I399b57b0783fbc19654ddbcfa7b3cab8cbd706a1
2013-05-28 06:45:35 +00:00
physikerwelt (Moritz Schubotz) ffdd0f6c87 Fix: Added details to error message
The detailed information about the error messeage provided by the MW
HTTP libraries has not been passed to the end-user output.

Change-Id: I9cac67d8fc3a732a87c14e922670253e82f64bbb
2013-05-26 23:02:10 +00:00
jenkins-bot 41efc79495 Merge "New rendering option LaTeXML" 2013-05-26 12:28:24 +00:00
physikerwelt 927340d345 New rendering option LaTeXML
Introduces a new rending option to render TeX to MathML
via LaTeXML.

Bug: 43222
Change-Id: I5d29e219c0d3b907e22ea0bb3b30f000d8a7a9f8
2013-05-26 12:12:51 +00:00
Translation updater bot b60951d043 Localisation updates from http://translatewiki.net.
Change-Id: I84f34737652455a11a927bc148eaee1f9976dd1f
2013-05-25 08:26:14 +00:00
Nageh 9f29f48506 MathJax: Use \mathbf instead \boldsymbol for the \bold command
\boldsymbol actually resulted in bold italic formatting, which was not
consistent with the texvc renderer. Use \mathbf (Bold face) instead.

Change-Id: I1a6fb07c55a2089c7acf50059a3a4a4e196812f1
2013-05-24 20:09:08 +00:00
jenkins-bot b05d44c0dc Merge "Math: Add texvc alias \image to MathJax" 2013-05-24 20:07:58 +00:00
jenkins-bot 41673ba3e5 Merge "Math: Add \Q, \H and \AA texvc commands to MathJax" 2013-05-24 20:06:17 +00:00
Translation updater bot be40b5e9e5 Localisation updates from http://translatewiki.net.
Change-Id: I26e405ba08012de4bbe9a10e6852b8fa57ef1a77
2013-05-24 08:36:38 +00:00
jenkins-bot b88647fae9 Merge "MathJax: Improve font style inheritence" 2013-05-24 07:58:54 +00:00
Translation updater bot 06d249fea2 Merge "Localisation updates from http://translatewiki.net." 2013-05-23 05:47:00 +00:00
Translation updater bot c8e8bffddf Localisation updates from http://translatewiki.net.
Change-Id: Ibd3e8a6a68702f26c61442086a8dd4b9929a4439
2013-05-23 05:41:35 +00:00
jenkins-bot 5e10e3fc77 Merge "Math: Upgrade MathJax to v2.2" 2013-05-23 05:28:00 +00:00
Derk-Jan Hartman 6b58a5143d Math: Add texvc alias \image to MathJax
Bug: 35186
Change-Id: If2fb219a1191caeecb0ed04bf0c0105621725dce
2013-05-19 20:12:52 +02:00
Derk-Jan Hartman 56be566d93 Math: Add \Q, \H and \AA texvc commands to MathJax
\Q and \H doublestruck versions of Q and H
\AA used for Angstrom symbol

Bug: 35186
Change-Id: I20ac8af2253835c20431585d9caebe4066606879
2013-05-19 20:05:34 +02:00
Derk-Jan Hartman 0967b6b364 Math: Upgrade MathJax to v2.2
Change-Id: I9446121985ae27e65a429b5a558940ac30520d44
2013-05-19 17:10:27 +02:00
Matthew Flaschen 32e2f4d4f5 Use i18n params for errors than appending raw string, with test
* Remove parameters/append that are never outputted by texvc.ml
* Add missing math_output_error to i18n file
* Improve a few qqq descriptions

Change-Id: Iea5139682fbe8389e578549f5f62e5505f4c0b48
2013-05-18 01:48:16 -04:00
Translation updater bot 163ff0a019 Localisation updates from http://translatewiki.net.
Change-Id: Ie6bfb087bb15bda904f589f1898b1c319a1a3400
2013-05-15 21:08:30 +00:00
Translation updater bot 1428dedbee Localisation updates from http://translatewiki.net.
Change-Id: I27ff4998b4fbf671b91a2c95f0ab5224b9bee20a
2013-05-05 21:09:22 +00:00
Translation updater bot bc8ae651e8 Localisation updates from http://translatewiki.net.
Change-Id: I69586a3aeb5c39dee9230fe8b14362ed6ff52ec3
2013-05-04 20:23:35 +00:00
physikerwelt 10aea50551 rename MathSourceTest::simpleTest->MathSourceTest::testBasics
Test was not executed, because it did not start with 'test'.

Change-Id: Ie5e14b0a23da6a908781f9a2f17dcd6c7795bebe
2013-05-04 10:43:14 +00:00
Nageh d9a2017e45 MathJax: Support the texvc command \vline
Bug: 35186
Change-Id: If38014bde908bb202dc63213fa21a72b52a6a42d
2013-05-04 07:23:58 +00:00
physikerwelt 5245d0f555 Introduce getter and setter for the MathRenderer
Adds a new method isChanged() for determining if a value was changed.
This is done in preparation for a more elaborated caching method that is
handled inside the abstract base class.

Change-Id: Ica15f77d96453d30edd3a117c7185c694ad3691e
2013-05-03 21:12:36 +00:00
Matthew Flaschen 3b5749cdad Remove dead config variable, wgMathJaxUrl
Change-Id: I15e701f26e8a522bcc34d9c00f3a900982a71f63
2013-05-03 05:41:22 -04:00
Nageh b0e074169e MathJax: Improve font style inheritence
This makes HTML rendered mtext inherit its font properties.

Change-Id: I744750ff3d667006e725c04b88d83a3b259d4de5
2013-05-01 23:31:42 +00:00
jenkins-bot f032265cee Merge "MathJax: Remove our RGB extension again, added in MathJax 2.1" 2013-04-30 16:39:51 +00:00
Translation updater bot 7ac89a3b91 Localisation updates from http://translatewiki.net.
Change-Id: I3cd1083c9b21b1bd33f2f5168cafd284496ae084
2013-04-28 23:56:50 +00:00
Derk-Jan Hartman 83b4107df4 MathJax: Remove our RGB extension again, added in MathJax 2.1
Turns out that with the upgrade to 2.1 this is now included in core
MathJax, so we don't need the extension anymore.
http://docs.mathjax.org/en/latest/whats-new-2.1.html

Change-Id: I653c05aaf6d94851fdf6b1649d2d5c7477d46b7e
2013-04-29 00:15:25 +02:00
jenkins-bot 4aa2741e8f Merge "MathJax: Ignore pagecolor command" 2013-04-28 21:52:16 +00:00
nageh 99a23e4af0 Add support to MathJax for RGB colors
PS2: Make the number matcher limited to 3 digits. Fix at base 10.

Originally, but had broken merge: Iff04d5d650ae87d957d57420f71975ccdf4a5370

Change-Id: I6885ea90e920734e324b6d1d1f70af69cdeab033
2013-04-28 14:37:46 +02:00
jenkins-bot 318f6777f5 Merge "MathJax: Update to version 2.1" 2013-04-28 12:19:03 +00:00
Nageh 5f349cc9da MathJax: Ignore pagecolor command
This command was not yet supported. This implements it as a noop.
In MathJax it's not really useful to be able to define the background
color as sometimes is required in rendered png mode.

Bug 35186

Change-Id: If6573901bafd8599a01979bcbff89e52b51e4ffd
2013-04-28 14:12:12 +02:00
Derk-Jan Hartman 6a519421c4 Bug 41677: Protect against tex nodes wrapped in tex nodes.
This gracefully handles: <span class="tex"><span class="tex"
dir="ltr">$ x^2 $</span></span>, generated when you put math tags
inside element attributes.

Change-Id: I997fc5e87b320879c99f7560fb023876ab6ef573
2013-04-28 11:54:20 +02:00
Derk-Jan Hartman ba87a7cc96 MathJax: Update to version 2.1
http://docs.mathjax.org/en/latest/whats-new-2.1.html

Change-Id: I11123c5ee311369dd4d990417de5a9664d1cd717
2013-04-28 11:21:07 +02:00
jenkins-bot f971af901f Merge "Remove even more unused variables" 2013-04-27 19:41:38 +00:00
Derk-Jan Hartman d1035123e1 MathJax: Remove support for wikEd and AjaxPreview
With the new renderTex hook of https://gerrit.wikimedia.org/r/61183
there is no need for hardcoded support for these 2 scripts. The
scripts in question should call the hook themselves.

PS2: Fix wikEd reference of jsHint
Supersedes: https://gerrit.wikimedia.org/r/23073

Bug: 35478
Change-Id: I9811832430e9ddd8a4c03f265d07529a76efc38a
2013-04-27 19:22:20 +00:00
Derk-Jan Hartman 6d99438a7c MathJax: Add a renderTex hook to render elements on demand
Example usage: $('#wikiPreview').renderTex();

This supersedes: https://gerrit.wikimedia.org/r/23073
Bug: 35478

Change-Id: I18e2f089d56e42b8e603ac45d726942bb478580b
2013-04-27 19:20:39 +00:00