Commit Graph

16 Commits

Author SHA1 Message Date
Derk-Jan Hartman dc20c51d91 (bug 38720) Output the Math errors in a consistent language
Outputting as content language now.

Change-Id: I77cc38b2db129e904aaf8ada012da4f4160867fd
2012-09-07 19:43:09 +02: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
Liangent 33e11bae86 Fix Change I6d548d06, redo Change I23407ae6: Add one more space
Change-Id: I8cc9d7320dcd948bfedc2b3d6d7e76bcfd682037
2012-06-29 13:45:38 +08: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
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
Mark A. Hershberger c005843d62 w/s and spelling
Change-Id: Iaa5ef4ff534c60ac8de264253edc077005ed5ab0
2012-04-06 11:19:12 -04:00
Derk-Jan Hartman 0cea0bffb5 Let the html output of our tex and mathjax mode inherit attributes such as style.
Required in order to fix bug 35191

Change-Id: Ia267aa211cb1bcb2023cd3f87bbc83c983ffc91f
2012-03-25 21:06:04 +02:00
Brion Vibber 829372f32d update copyright notice years for 2012 2012-03-05 22:25:09 +00:00
Brion Vibber 2af7057b05 Set up MathJax as a selectable option in math preferences 2012-03-05 20:34:29 +00:00
Brion Vibber 09679f2f39 Disable the partial HTML and MathML rendering options for Math extension.
MathML mode was so incomplete most people thought it simply didn't work (bug 25646).
HTML modes often rendered poorly (eg req bug 24207 to set default to PNG on some sites)

This may cause regressions in that simple "equations" of just variables that came out as HTML
will now render as PNGs that don't get aligned properly with the text baseline. Fixing this is
covered by bug 32694: <https://bugzilla.wikimedia.org/show_bug.cgi?id=32694> to retrieve the
baseline info from dvipng and position images to fit.

Note that because of the way user options are pulled in to the oarser cache key, some folks
may see cached pages with their old settings until they get redone or they save their prefs
again and have it normalized.
2011-11-28 22:30:33 +00:00
Platonides 8aab88b76d wfEscapeSingleQuotes() change proposed by Ralf Lederle in
https://bugzilla.wikimedia.org/show_bug.cgi?id=13518#c11
For Bug 13518 - <math> does not work (wrong shell escaping under Windows)
2011-11-17 16:25:25 +00:00
Sam Reed 16b234384a More wfMkdirParents() __METHOD__ additions 2011-07-25 22:09:05 +00:00
Sam Reed 34d456e1f8 Kill off the long deprecated $wgInputEncoding and $wgOutputEncoding globals 2011-05-06 22:09:47 +00:00
Jack Phoenix e0b832c637 Math extension:
*coding style tweaks
*documentation
*check for MediaWiki environment in the main setup file
*add extension credits
*add i18n file (only English at the moment); messages from core MessagesEn.php

This is a follow-up to Brion's r85706.
2011-04-09 15:13:22 +00:00
Brion Vibber c4d9349786 Initial stab at breaking math/texvc out to Math extension.
* (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
  math conversion after upgrading, obtain the Math extension from SVN or from
  http://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
  require_once "$IP/extensions/Math/Math.php";

This is an initial stab, and a few things remain to be cleaned up:
* messages need to be moved from core to extension
* MW_MATH_* constants should be moved to the extension from core
* old back-compat math names interfaces using those constants should be removed from message files
* classic edit toolbar's math button should be added from the extension (or else dropped) -- currently there's not a clean hook, but could do it by JS
* couple of things like the 'armourMath' function on Language & LanguageConverter may want to be redone just as an unconditional, if that's simpler.

Setting $wgUseTeX alone will no longer have any affect. The var's still there for the moment as a few bits still need to be fully moved out from core.
2011-04-09 00:39:40 +00:00