Comments (5)
@6cdh, I am not getting this error with my installation but you could try getting rid of it by editing extension.json from
"ResourceModules": {
"ext.SimpleMathJax": {
"scripts": ["resources/ext.SimpleMathJax.js"]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "SimpleMathJax/resources"
},
to
"ResourceModules": {
"ext.SimpleMathJax": {
"scripts": ["ext.SimpleMathJax.js"]
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "SimpleMathJax/resources"
},
, although I am not sure this is the correct solution.
from simplemathjax.
@Yuubari, thanks, the error disappears though math equations still don't get rendered.
After several hours of research, I found this workaround. Change
to
mw.hook( 'wikipage.content' ).add( function ( $content ) {
from simplemathjax.
Same with this issue. My docker compose file as follows:
version: '3'
services:
mediawiki:
image: mediawiki:1.36
container_name: mwiki
restart: always
ports:
- 4095:80
links:
- database
volumes:
- ./LocalSettings.php:/var/www/html/LocalSettings.php
- ./extensions/SimpleMathJax:/var/www/html/extensions/SimpleMathJax
- ./extensions/MobileFrontend:/var/www/html/extensions/MobileFrontend
- ./skins/MinervaNeue:/var/www/html/skins/MinervaNeue
database:
image: mariadb:10.6-focal
container_name: db
restart: always
volumes:
...
environment:
...
Minerva Neue is 20711d8.
When I access my wiki with ?debug=true
, it outputs
OutputPage::transformFilePath: Failed to hash /var/www/html/extensions/SimpleMathJax/resources/resources/ext.SimpleMathJax.js
in console.
It works with other themes.
from simplemathjax.
This does not seem to work in my case (I am not using Docker, though); thank you for the pointer, though. I think I will try deploying a test MW instance to debug this properly.
from simplemathjax.
This fork works with me. Have a try.
from simplemathjax.
Related Issues (20)
- SimpleMathJax does not render in Firefox at times HOT 4
- How to typeset in display instead of inline style HOT 2
- Undefined control sequence HOT 1
- Mediawiki 1.31.1 - MobileFrontend - Don't render formulas
- Problem with numeration of formulas HOT 1
- Context menu missing HOT 3
- 미디어위키 최신버전 사용시 콘솔 메세지 HOT 1
- Missing features/ compartibility problem HOT 6
- Resolved
- Extension incompatible with Firefox Native MathML add-on HOT 5
- Registering handler for ParserFirstCallInit before MediaWiki bootstrap complete was deprecated in MediaWiki 1.35 HOT 1
- compatibility with wikipedia HOT 4
- un-rendered [math] block remains visible after editing page with VisualEditor HOT 4
- Make SimpleMathJax integrate with Visual Editor's "Insert" menu HOT 1
- new keyword HOT 3
- Missing implementation for $wgSmjEnableMenu
- Support of Mathjax 2
- $wgSmjExtraInlineMath doesn't do anything if there isn't a `<math>` tag on the page.
- Use of ParserOutput::addModules with non-array argument was deprecated in MediaWiki 1.38 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplemathjax.