Commit graph

177 commits

Author SHA1 Message Date
nageh b08fbbbe38 (bug 35188) Do not poison the tex formula with markup
We move the block/inline styling (aka display vs textstyle) markup into
a filter used just before rendering. This way the 'used' formula will
not suddenly contain styling information that wasn't part of the
original formula.

Change-Id: Ie0c308c31d38581e556dc73109879c7a3d365121
2013-04-27 14:41:32 +00:00
Siebrand Mazeland 7b2b7301e0 Maintenance for Math extension.
* Replace deprecated wfMsg* calls with alternatives.
* Add FIXME for occurrence I don't know how to replace.
* Update some docs.
* Sprinkle a few semi-colons over the JavaScript.

Change-Id: I755a95f8bba48a23ef8c432e232adfaef4caae70
2012-08-31 01:25:48 +02:00
Aaron ae9e0d989b Added file backend support via $wgMathFileBackend.
* Also removed old legacy migration code.

Change-Id: I43cfd7f0da49690a2d0b4eb2daab9b8a110137b7
2012-08-22 17:16:49 -07:00
Translation updater bot 29a0a80e8f Localisation updates from http://translatewiki.net.
Change-Id: I4bf24d364416894874077e1570aa2b9f6f9fa02a
2012-08-20 19:20:18 +00:00
Translation updater bot 0f35575e82 Localisation updates from http://translatewiki.net.
Change-Id: If8484d7b9b72e36a85aeca3d3c939b4c6ad5d2b3
2012-08-19 14:47:42 +00:00
Translation updater bot 6dfbd3a80b Localisation updates from http://translatewiki.net.
Change-Id: Ia7cefda210d836b064b68ecd1588919b0458d80a
2012-08-11 00:07:01 +00:00
Translation updater bot 401c957a47 Localisation updates from http://translatewiki.net.
Change-Id: I808a74f9ee23ae94b73b4c39753f9e633e836e28
2012-08-09 19:29:09 +00:00
Translation updater bot d3ac76c332 Localisation updates from http://translatewiki.net.
Change-Id: Icae9812ae1aa76abd253bcb12f1d37e183daf370
2012-08-03 16:19:17 +00:00
awjrichards 2c7ad693fe Merge "Fix Change I6d548d06, redo Change I23407ae6: Add one more space" 2012-07-20 21:43:25 +00:00
Translation updater bot c2d25d464d Localisation updates from http://translatewiki.net.
Change-Id: Iff4d5ada6321b815eb8d5d6a3c322e79ec608534
2012-07-11 07:15:15 +00:00
Translation updater bot db457b324b Localisation updates from http://translatewiki.net.
Change-Id: Ifd2df38fa4e657f22976fab4075ef2dfba5a959b
2012-07-08 19:21:29 +00:00
Translation updater bot 2307b88171 Localisation updates from http://translatewiki.net.
Change-Id: I6d61892a816f57b9281e74ca4168f184ecee3a5c
2012-07-06 21:19:07 +00:00
Translation updater bot c7a6101081 Localisation updates from http://translatewiki.net.
Change-Id: I692e0ae9f7bbbb0a38f285f004d96c9f0f3e1a1a
2012-07-01 14:03:44 +00:00
Liangent 33e11bae86 Fix Change I6d548d06, redo Change I23407ae6: Add one more space
Change-Id: I8cc9d7320dcd948bfedc2b3d6d7e76bcfd682037
2012-06-29 13:45:38 +08:00
Brion VIBBER 022da5c3a5 Merge "(bug 36059) Double escaping of html characters in Math module" 2012-06-25 19:25:13 +00:00
Translation updater bot 01388fb8d4 $COMMITMSG
Change-Id: I236982cf958a1afeddeb0ea7bc22b571c9c00efd
2012-06-23 20:13:38 +00:00
Translation updater bot 1b9198e19b Localisation updates from http://translatewiki.net.
Change-Id: Ia679c4881ded3266c1c9fc4dddfdd1e44a6d8e91
2012-06-22 18:08:13 +00:00
Translation updater bot 72a6ef1408 Localisation updates from http://translatewiki.net.
Change-Id: I6f7fca4fe5d138aea155ceddd9f01a0e08a64ef8
2012-06-20 20:26:19 +00:00
Translation updater bot f66855ee77 Localisation updates from http://translatewiki.net.
Change-Id: I702fa693e4816ed10058b30ba9c7cc3bf611d258
2012-06-18 19:54:50 +00:00
Translation updater bot 20bbc8bd53 Localisation updates from http://translatewiki.net.
Change-Id: I61d020f1df4167069a049681c002ecc2a9453478
2012-06-17 20:31:30 +00:00
Translation updater bot e8c7210b7e Localisation updates from http://translatewiki.net.
Change-Id: I5f1cae81c999711fb96ec27294317f5d6ee57e87
2012-06-14 19:55:00 +00:00
Translation updater bot 1154e885bf Localisation updates from http://translatewiki.net.
Change-Id: I6a5b30d82ff315569127dc7e61b312583b431954
2012-06-13 20:59:07 +00:00
Derk-Jan Hartman 7eefc9f5a3 (bug 36059) Double escaping of html characters in Math module
Change-Id: I6d548d060ac6639fe6d31ddfdae78edbb48ee4cb
2012-06-02 11:46:00 +02:00
Derk-Jan Hartman 8a0e533cd4 Ignore .DS_Store
Change-Id: Idcd1a4667502909fe017d4bab1d951c0996b1b7c
2012-06-02 11:42:18 +02:00
Translation updater bot c01fc3600f Localisation updates from http://translatewiki.net.
Change-Id: I3540aefb3553cea79e7b1d7fab6f2bf95fb195e0
2012-05-31 20:17:17 +00:00
Translation updater bot 5044494478 Localisation updates from http://translatewiki.net.
Change-Id: I6b25615c06b39893d0209d4d999295899a57d3cd
2012-05-25 20:18:04 +00:00
Reedy 2aeed9e78c Add .gitignore
Change-Id: I7d69b09dd97caf25699b12857be2d0a495cc4604
2012-05-21 01:39:35 +01:00
Translation updater bot 6da3353606 Localisation updates from http://translatewiki.net.
Change-Id: I98ac6cff8ff1c6b384aeb7b6349b4502465ec423
2012-05-20 19:49:25 +00:00
Translation updater bot 5887195ef3 Localisation updates from http://translatewiki.net.
Change-Id: I3231be8eff1354249a614577a7735c65b8d831de
2012-05-12 17:50:53 +00:00
Translation updater bot b358960ad6 Remove mixed script messages.
Were introduced in the past months. The nan localisation should be in
Latin script.

Change-Id: If323a7475ace28711efd3b1a357f90196e74777c
2012-05-12 15:41:41 +00:00
Siebrand 10dc823d7b Merge "Localisation updates from http://translatewiki.net." 2012-05-07 20:50:27 +00:00
Translation updater bot b93cd90e1d Localisation updates from http://translatewiki.net.
Change-Id: Icd60d8926699f36a446bd3582da802eb40a96b04
2012-05-07 20:42:41 +00:00
Translation updater bot f08177747d Localisation updates from http://translatewiki.net.
Change-Id: Id4e84bc8ce2fb61ec93fdbeb55700e9de537b575
2012-05-06 18:58:37 +00:00
Translation updater bot bceb662a46 Localisation updates from http://translatewiki.net.
Change-Id: I140b7a19e4767a3965dceafb220be91bf210cd8a
2012-05-05 09:36:50 +00:00
Translation updater bot d245c946ae Localisation updates from http://translatewiki.net.
Change-Id: Icf00e4aa68880896c8ec6b1e20bee757a1e02354
2012-04-27 20:02:10 +00:00
Catrope 4c9e7dbe76 Merge "Disable dangerous \href and \style commands" 2012-04-25 18:57:40 +00:00
Demon cb263d5b7e Merge "Update math parser test cases for new rendering defaults" 2012-04-23 18:30:47 +00:00
Translation updater bot 2525e2d519 Localisation updates from http://translatewiki.net.
Change-Id: I2d7f96395abedd27b90b5bea0735e885f0577a51
2012-04-21 18:55:25 +00:00
Translation updater bot e38262caa9 Localisation updates from http://translatewiki.net.
Change-Id: I4b6ba944af00ce0e6a40567e6a5ba6d8c3be371e
2012-04-19 21:44:50 +00:00
Translation updater bot a5e91f78ac Localisation updates from http://translatewiki.net.
Change-Id: I446c497636276c33201bf5f155db8af22f2851af
2012-04-18 20:24:46 +00:00
Brion Vibber 6e110abf85 Disable dangerous \href and \style commands
MathJax's TeX input by default includes \href and \style commands, which can be
used to inject JavaScript and web bugs. Disabling them by overriding them with
named function macros.

Change-Id: Id21253e9d1621b5ec4e93e28361c498c484b1b7b
2012-04-18 11:14:26 -07:00
Translation updater bot c8a38b69bb Localisation updates from http://translatewiki.net.
Change-Id: I69ba0c588703c82fd5fca6b93e8017bf6919d11b
2012-04-16 16:11:54 +00:00
Suhas e5e574604b Bug 31824: Fix for the empty math tag
It fixes the bug by returning an empty string if the math tag is
empty.

Parser tests and changes so that white-text only works.

Change-Id: Ica0dbb9bcfc709331e348fb11d24673103be3b37
2012-04-08 11:50:52 -04:00
Brion Vibber c4137dcbfd Update math parser test cases for new rendering defaults
Previous parser tests assumed the older options which turned some simple bits into HTML, while new default runs everything through images.

Change-Id: I894ea42947da66f93272c56ef89b4357724ec3b9
2012-04-06 15:16:53 -07:00
Mark A. Hershberger c005843d62 w/s and spelling
Change-Id: Iaa5ef4ff534c60ac8de264253edc077005ed5ab0
2012-04-06 11:19:12 -04:00
Brion VIBBER f1a0b5c254 Merge "Remove textcolor macro. It was just a hack to make the colors work." 2012-03-26 22:42:38 +00:00
Derk-Jan Hartman f0c2308047 "\displaystyle" does not need curly braces as it does not take a parameter.
Thanks to User:Nageh for providing feedback:
https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Mathematics/Archive/2012/Mar#mathJax_progress

Change-Id: I52781773c7146f87a839720867a49f1dd6d74483
2012-03-27 00:39:55 +02:00
Derk-Jan Hartman 2205264ada Remove textcolor macro. It was just a hack to make the colors work.
Change-Id: Ifbb05f3750075cbb4104bba5d1ef865fee8857e5
2012-03-27 00:22:22 +02:00
Brion VIBBER 7756451286 Merge "Adding arccot, arcsec and arccsc for bug 35186." 2012-03-26 22:00:12 +00:00
Derk-Jan Hartman ef921fc4ef Load the TeX extension cancel, because it is supported by texvc and in use on wiki. Fixes part of Bug 35186
Change-Id: Icfb2894e4f755ae364a29bcace3e1d14b52c9e87
2012-03-26 23:36:14 +02:00