Commit graph

2357 commits

Author SHA1 Message Date
Brion Vibber 261310bad9 Tweak MathJax loading per recommendations from mathjax-users list:
* drop some of the init lines that don't appear to work/be needed
* only load MathJax.js through ResourceLoader; let MathJax's loader handle the rest

This gets us working in Chrome, where previously we hadn't initialized correctly. Should also help in IE, still needs testing.
Will probably want to swap in the pre-minimized versions of the files at some point, but the expanded ones are fine at this stage of work.
2012-03-06 21:57:12 +00:00
Raimond Spekking 11ef4d7a9a Localisation updates for core and extension messages from translatewiki.net 2012-03-06 21:18:30 +00:00
Alexandre Emsenhuber a0a66ebf63 Fix some svn:mime-type with value "application/octet-stream" to more specific values 2012-03-06 18:09:12 +00:00
Brion Vibber 2be6ad801a Avoid conflict between MathJax's TeX finder and our own: remove theirs so we don't end up putting preview markup inside other markup 2012-03-05 22:45:56 +00:00
Brion Vibber 829372f32d update copyright notice years for 2012 2012-03-05 22:25:09 +00:00
Brion Vibber e85a658c2f switch two files in MathJax setup that were incorrectly split to the wrong filenames :) 2012-03-05 22:24:54 +00:00
Raimond Spekking c0b056c4b8 Localisation updates for core and extension messages from translatewiki.net 2012-03-05 21:20:53 +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 a4c39f94a6 remove stub file -- unneeded as it's been expanded into other files 2012-03-05 19:51:17 +00:00
Raimond Spekking 84ac48ee46 Localisation update for core and extension messages from translatewiki.net 2012-03-03 21:32:20 +00:00
Brion Vibber d84a00a9ed * (bug 34828) Fix MathJax initializer to operate on images as well as text form
Warning: this piggybacks on 'alt' text and can be broken if a manual alt text was specified on a <math> bit. Needs to be more nativey.
Also cleaned up the conditional setup code since we're already only called when a <math> is present.
2012-03-02 00:26:56 +00:00
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