1. Thomas Waldmann
  2. moin-2.0


Reimar Bauer  committed 90c9f95

mathjax removed because of its vast size, time needed to download/install/upgrade, fixes #43

  • Participants
  • Parent commits 0c5673f
  • Branches default

Comments (0)

Files changed (3)

File MoinMoin/templates/base.html

View file
     <script src="{{ url_for('serve.files', name='jquery', filename='jquery.min.js') }}"></script>
     <script src="{{ url_for('serve.files', name='svgweb', filename='svg.js') }}"></script>
     <script src="{{ url_for('static', filename='js/common.js') }}"></script>
-    <script type="text/x-mathjax-config">
-  MathJax.Hub.Config({
-    extensions: ["tex2jax.js"],
-    jax: ["input/TeX","output/HTML-CSS"],
-    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
-  });
-<script src="{{ url_for('serve.files', name='mathjax', filename='MathJax.js') }}"> </script>
     {{ scripts }}
     <!--[if lt IE 9]>
         {# TODO: use a local copy later #}

File setup.py

View file
-        'XStatic-MathJax>=1.1.2',
     # optional features and their list of requirements

File wikiconfig.py

View file
     # we slowly migrate all stuff from above (old) method, to xstatic (new) method,
     # see https://bitbucket.org/thomaswaldmann/xstatic for details:
     from xstatic.main import XStatic
-    mod_names = ['jquery', 'jquery_file_upload', 'ckeditor', 'svgweb', 'svgedit_moin', 'twikidraw_moin', 'anywikidraw', 'mathjax', ]
+    mod_names = ['jquery', 'jquery_file_upload', 'ckeditor', 'svgweb', 'svgedit_moin', 'twikidraw_moin', 'anywikidraw', ]
     pkg = __import__('xstatic.pkg', fromlist=mod_names)
     for mod_name in mod_names:
         mod = getattr(pkg, mod_name)