提交图

128 次代码提交

作者 SHA1 备注 提交日期
Jmnote e05fb2c037 setting descriptions and examples 2017-05-18 03:17:03 +09:00
Jmnote 96735e4a7a reverted some new ideas...
'onParserFirstCallInit' is pretty good idea. But it makes math and chem tags disappear in 'Parser extension tags' on [[Special:Version]]
'Lazy initialization of script' is also great idea. It shows unexpected result. I think because 'render' time and 'load' time are not same.
2017-05-18 03:00:17 +09:00
Jmnote d62e3d1ca6 version up and add authors 2017-05-18 02:50:39 +09:00
Jmnote 596cfd3bd9 Merge pull request #7 from jamesmontalvo3/master
Don't use CDN; Lazy-load MathJax when tags used
2017-05-18 01:12:46 +09:00
Jmnote f2d4e38530 Merge branch 'master' into master 2017-05-18 01:12:24 +09:00
Jmnote 09b7d4ea5b Merge pull request #8 from badshah400/master
Allow user-defined local MathJax installation in lieu of CDN
2017-05-16 22:59:45 +09:00
Atri Bhattacharya 16406608d0 Rename $wgLocalMathJaxDir to $wgSimpleMathJaxLocalDir.
Preserves consistency with other global variables in extension.
2017-05-14 22:28:17 +02:00
Atri Bhattacharya 11d1e3e12f Allow user-defined local MathJax installation.
Allow user-defined directory for a local MathJax installation on the
server. The user may set the variable `$wgLocalMathJaxDir` to a
directory relative to server root that contains the MathJax
javascripts. For example, if the directory `MathJax-2.7.1` contains
the `MathJax.js` script, one would add to their `LocalSettings.php`
the following line:
`wgLocalMathJaxDir = '/MathJax-2.7.1';`
and their mediawiki instance should now render math using MathJax
installed on their server rather than on a CDN. **Note** that the
leading '/' is important!
2017-05-14 21:59:53 +02:00
James Montalvo e94afaffcd lazy-load MathJax, only when <math> or <chem> used
* Init tag functions on ParserFirstCallInit, not extension function
  * This remove need for global var $wgParser
* Don't load MathJax on every page load, on BeforePageDisplay
* Load it when <math> or <chem> tags used
  * This adds need for global var $wgOut
* Ensure the script is only loaded once by having a static variable
  to mark whether or not it has been loaded yet
2017-04-27 20:06:08 -05:00
James Montalvo adc17e8b1b Do not use CDNs due to security/privacy concerns 2017-04-27 20:05:57 -05:00
James Montalvo 8c214fa11d Add MathJax library, but don't use it yet 2017-04-27 20:03:41 -05:00
Jmnote da3d381603 cdn changed to cloudflare - issue #6
MathJax CDN shutting down on April 30, 2017.
2017-04-27 11:36:45 +09:00
jmnote 924940b839 mhchem.js works
Now, mhchem.js on CDN works!
2017-02-12 19:20:12 +09:00
jmnote 9e3969fc41 indent 2017-02-09 17:44:27 +09:00
jmnote 22d9d3bbc8 Merge pull request #5 from vedmaka/master
Adds mchem support
2017-02-09 17:36:46 +09:00
vedmaka 52fb97e46a Adds mchem support
Introduces $wgSimpleMathJaxChem variable to enable `chem` tag support
2017-02-09 02:40:36 +03:00
jmnote 2ddbbb6504 Merge pull request #3 from rickselby/patch-1
Allow https access to javascript file
2015-12-28 08:27:59 +09:00
jmnote b547664dd3 Create README.md 2015-10-22 11:05:11 +09:00
djomp 5a3d04fb87 Allow https access to javascript file
Remove the http: prefix from the URL to use the correct protocol.
2015-09-24 11:59:01 +01:00
jmnote 0800ee76e8 Merge pull request #2 from 10230/master
Good job!
2015-07-23 01:41:27 +09:00
10230 6f85436319 https에서도 지원하게끔 수정 2015-07-16 15:48:23 +09:00
jmnote 50473f275d \> -- 2014-09-10 23:17:01 +09:00
jmnote a1bd974079 del bak
del bak
2014-09-10 22:18:48 +09:00
jmnote 031dbd88f9 Version up to 0.2
I feel stable.
2014-09-10 22:17:51 +09:00
jmnote 89b56abf8e escaping inequal signs < >
escaping inequal signs < >
2014-09-10 22:13:58 +09:00
jmnote 2605ffc302 Revert "gg"
This reverts commit 352f2e5637.
2014-09-10 20:45:45 +09:00
jmnote 352f2e5637 gg 2014-09-10 20:43:37 +09:00
jmnote 2b085a5286 New Repo 2014-09-10 20:17:28 +09:00