Commit Graph

1696 Commits

Author SHA1 Message Date
Brion Vibber 296b767c62 uncomment a couple bits in mathjax setup that had been disabled while fiddling 2012-03-02 00:07:32 +00:00
Raimond Spekking e152061459 Localisation update for core and extension messages from translatewiki.net 2012-03-01 22:21:50 +00:00
Brion Vibber b7c09b58c3 fixes to mathjax loading that somehow didn't get committed yesterday? 2012-03-01 21:13:10 +00:00
Brion Vibber f8ad1f3e86 Fix for font path on MathJax 2.0 2012-03-01 02:00:16 +00:00
Brion Vibber 83a8af23f8 MathJax 2.0 update mostly works! 2012-03-01 01:57:44 +00:00
Brion Vibber f5df298230 Straight update of MathJax to 2.0 -- doesn't currently load correctly if experimental $wgMathUseMathJax is enabled, be warned!
Using the unpacked files; minus the PNG fonts.
2012-03-01 01:21:20 +00:00
Raimond Spekking d1957900e2 Localisation updates for core and extension messages from translatewiki.net 2012-02-24 21:11:11 +00:00
Raimond Spekking 6f9311c601 Localisation updates for extension messages from translatewiki.net
Core skipped today, conflicts with dupe messages... Will report on CR soon
2012-02-23 19:45:08 +00:00
Tim Starling 74d5aa19f8 * (bug 34538) Fixed compatibility with $wgResourceLoaderExperimentalAsyncLoading in some extensions.
* Tested AbuseFilter.
* Did not test ArticleCreationWorkflow, Configure, ContributionTracking, FlaggedRevs, FundraiserPortal, InlineCategorizer, MarkAsHelpful, Math/Mathjax.
* Fixed a typo in a comment in LiveTranslate.
* Did not review extensions alphabetically after MoodBar.
2012-02-21 04:03:00 +00:00
Raimond Spekking b1a7830235 Localisation updates for core and extension messages from translatewiki.net 2012-02-19 20:47:51 +00:00
Raimond Spekking 88e53fedf0 Localisation updates for core and extension messages from translatewiki.net 2012-02-18 20:41:29 +00:00
Raimond Spekking a2fa4113cc Localisation updates for core and extension messages from translatewiki.net 2012-02-10 20:57:24 +00:00
Raimond Spekking 063ac7d51e Localisation updates for core and extension messages from translatewiki.net 2012-02-02 20:47:04 +00:00
Raimond Spekking 01f4ffa32d Localisation updates for core and extension messages from translatewiki.net 2012-01-31 20:31:52 +00:00
Raimond Spekking 90c5a82b8f Localisation updates for core and extension messages from translatewiki.net 2012-01-29 19:41:17 +00:00
Raimond Spekking 42d96d718d Localisation updates for core and extension messages from translatewiki.net 2012-01-28 20:37:44 +00:00
Raimond Spekking 2d8e1d54b3 Localisation updates for core and extension messages from translatewiki.net 2012-01-26 20:39:48 +00:00
Raimond Spekking 67480a6600 Localisation updates for core and extension messages from translatewiki.net 2012-01-25 20:38:04 +00:00
Raimond Spekking 0b6a0007e0 Localisation updates for core and extension messages from translatewiki.net 2012-01-24 20:12:55 +00:00
Raimond Spekking d8ffe7fd26 Localisation updates for core and extension messages from translatewiki.net 2012-01-23 20:08:42 +00:00
Sam Reed 0cf3f13dba Bug 33892 - Move math description into i18n file 2012-01-22 23:00:21 +00:00
Raimond Spekking d5933b1d6f Localisation updates for core and extension messages from translatewiki.net 2012-01-21 21:12:30 +00:00
Mark A. Hershberger 4165ebdfaa fix Bug 33739 - \text{äöü} doesn't add encoding preamble 2012-01-19 17:15:47 +00:00
Raimond Spekking fa87c929f7 Localisation updates for core and extension messages from translatewiki.net 2011-12-28 22:31:07 +00:00
Raimond Spekking d756cd1562 Localisation updates for core and extension messages from translatewiki.net 2011-12-25 20:25:45 +00:00
Siebrand Mazeland 4c3617b00d Rename no to nb (step 4/4): Change 'no' to 'nb' in remaining files. 2011-12-25 09:42:00 +00:00
Raimond Spekking e2e563676d Localisation updates for core and extension messages from translatewiki.net 2011-12-23 21:10:51 +00:00
Raimond Spekking e0aaa8bd10 Localisation updates for core and extension messages from translatewiki.net 2011-12-21 20:44:11 +00:00
Alexandre Emsenhuber cf62fea3f7 Fix svn:mime-type property from application/octet-stream to something better 2011-12-20 19:14:40 +00:00
Raimond Spekking 5ee2bb9a70 Localisation updates for core and extension messages from translatewiki.net 2011-12-18 20:47:06 +00:00
Brion Vibber 02f69bf300 Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Alexandre Emsenhuber 6d10f1d229 svn:eol-style native 2011-12-10 09:19:05 +00:00
Brion Vibber f0f9ec9b9f Drop a trailing ',' in an array def; causes errors in IE 6 and IE 7 2011-12-08 23:00:10 +00:00
Sam Reed 862067c688 Fix/update some svn properties 2011-12-06 12:28:38 +00:00
Brion Vibber a36b0e04d8 Initial experimental import of MathJax source into Math extension as a client-side rendering supplement to the PNG rendering.
* Pulled in MathJax 1.1 (minus the 112 megabytes of PNG "fonts")
* Pulled in some of <https://en.wikipedia.org/wiki/User:Nageh/mathJax> bits for initialization

This doesn't currently override PNG images, but does replace the text-form if you configure it.
2011-12-06 01:17:35 +00:00
Raimond Spekking 21d5a36553 Localisation updates for core and extension messages from translatewiki.net 2011-11-29 20:32:09 +00:00
Raimond Spekking d58264551e Fix PHP error from r104575
PHP Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/betawiki/projects/mediawiki-ext/Math/Math.i18n.php on line 2235
Full export will readd missing messages.
2011-11-29 19:11:40 +00:00
Brion Vibber bbb9f29942 Followup r104498: remove now-unused messages for dropped math rendering modes 2011-11-29 16:53:25 +00:00
Brion Vibber 1042006fd4 Experimental option $wgMathUseMathJax to have Extension:Math load things via MathJax.
If enabled, by default loads MathJax from a CDN and forces all equations through MathJax when JavaScript is available -- the image or source form gets used only as <noscript> fallback.

This has a couple of problems for us:
* if scripts are missing -- such as when viewed via MobileFrontend -- you end up with no math at all, as the <script type="math/tex"> bits get ignored but the <noscript> still hides the images.
* while MathJax is loading things, blank spots on the page may appear and stuff jumps around
* if loading new text in via ajax, it doesn't trigger there

Also using some fairly default config, no idea how appropriate it is. Hoping to get some insight from Nageh who's done some of the MathJax work on Wikipedia so far - <https://en.wikipedia.org/wiki/User_talk:Nageh#MathJax_integration_into_stock_MediaWiki>
2011-11-29 00:37:13 +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
Raimond Spekking ecf798b9de Localisation updates for core and extension messages from translatewiki.net 2011-11-26 20:30:25 +00:00
Siebrand Mazeland 1ec1eb76d5 Localisation updates from http://translatewiki.net. 2011-11-23 18:43:52 +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
Antoine Musso 040710a2f9 missing TEX_FUN1nb in html_render_deep()
The new TEX_FUN1nb introduced by r99741 was not added to the
html_render_deep() pattern matching list. This was spotted by
an ocaml compilation warning:

 File "html.ml", line 74, characters 31-2966:
 Warning 8: this pattern-matching is not exhaustive.
 Here is an example of a value that is not matched:
 TEX_FUN1nb (_, _)::_
2011-11-15 17:26:28 +00:00
Raimond Spekking 672be6a3a1 Localisation updates for core and extension messages from translatewiki.net 2011-11-14 09:16:03 +00:00
Raimond Spekking cbfcda65b2 Localisation updates for core and extension messages from translatewiki.net 2011-11-09 20:18:41 +00:00
Raimond Spekking c08ccbc3b9 Localisation updates for core and extension messages from translatewiki.net 2011-11-08 20:32:28 +00:00
Raimond Spekking 14342c080d Localisation updates for core and extension messages from translatewiki.net 2011-10-31 20:25:58 +00:00
Raimond Spekking 4e6905c619 Localisation updates for core and extension messages from translatewiki.net 2011-10-27 20:00:32 +00:00
Nicholas Longo a2b53e5a36 The following patches restore how texvc added braces for all commands
but \operatorname to fix Bug 31442.  More specifically, TEX_FUN1 now
adds braces as it did in previous versions.  The result is texvc will
once again correctly sanitize multiple math accents even when no braces are
given (e.g. \dot \vec B) and it will allow math accents to be used with
symbols whose font as been changed (e.g. \tilde \mathcal{M}).  Parser
tests are created to ensure these continue to work.  

The handling of \operatorname is now  handled specially by the
function TEX_FUN1nb (nb stands for no braces and the name is taken to
be consistent with the existing function TEX_FUN2nb).  The addition of
braces causes this command to LaTeX incorrectly.  The parser test for
\operatorname has been updated to reflect the fact the hash of the
images involved has changed.
2011-10-13 23:04:41 +00:00