-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix path to ext.SimpleMathJax.js in ResourceModules (#1) #40
Conversation
@jmnote Hi. Could you please review this Pull Request? This issue is occurring on a wiki I know, which upgraded to MediaWiki 1.41 a few days ago. (I have no idea why it doesn't affect other wikis.) |
Thanks for the PR. But I'm not sure if it's right to change it that way. I don't see any problems with the existing code. Would you like to check out the following examples and documentation?
https://www.mediawiki.org/wiki/Manual:Extension.json/Schema
Is it possible that it is affected by other configs? I think you might need to check the extension.json file. Also, if the problem occurs only in version 1.41, we should check the release notes. |
Hi. A few days ago, the webmaster told me that the issue of his wiki failing to load JS modules was caused by other extensions. Sorry that I didn't update my comment in advance. According to @AlPha5130, for SimpleMathJax, the value of Lines 25 to 34 in 7c9de84
Currently, the URL endpoint is PS. MediaWiki extension Purge just fixed this a few days ago. You can see it here. |
This issue involves deciding whether or not to enter
A total of 8
What we see in cases Also, it has been reported that case
|
It depends on how you would organize the JS file hierarchy. In my case (Purge) I set the "root" path (i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks~
Upstream added our patch (jmnote/SimpleMathJax#40) and there are also a few other trivial improvements since then WIK-1761
Upstream added our patch (jmnote/SimpleMathJax#40) and there are also a few other trivial improvements since then WIK-1761
Mediawiki tries to load extensions/SimpleMathJax/resources/resources/ext.SimpleMathJax.js file when ResourceLoader in debug mode, the patch fixes the path