-
Notifications
You must be signed in to change notification settings - Fork 12
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
Can't make it work from subpages #11
Comments
I don't have an immediate idea and I won't have time to look into it soon, but the code is rather short and should not be hard to debug for anyone who has some basic programming experience (with PHP or without). Of course, only for someone who can reproduce the issue (does it occur on other wikis?). |
Not the exact same problem no, however, on another wiki on the same wiki farm, it crashed the whole thing, with the following back trace:
Interestingly, in the first wiki, the problem seems to be two-fold. First, it doesn't seem to work on subpages on the Main namespace (works on subpages of the User namespace for some reason). Second, it does not work if i include a magic word in the text to insert, which for me is code for a redirect. |
I should specify i am using a custom skin, though i couldn't find how that would be causing the problem. |
Is it possible to access an older version of the extension? 0.5 for example? |
The older version was completely different and only worked with very old versions of MediaWiki, so you wouldn't learn anything from this. The code released here is my re-implementation in its first version (I just incremented the previous version number for clarity). |
Understood. I realized for one that REDIRECTS can't take in magic words without |
Tried everything to make this parser function work from a subpage but it doesn't seem to. Works fine on root pages. Any ideas?
Running:
MediaWiki | 1.29.2
PHP | 5.6.36 (apache2handler)
MySQL | 5.6.40
ICU | 50.1.2
Elasticsearch | 5.3.3
Issue on extension talk page:
https://www.mediawiki.org/wiki/Topic:Uehxiz2cyqldjevc
The text was updated successfully, but these errors were encountered: