-
Notifications
You must be signed in to change notification settings - Fork 7
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
Refresh link always disabled on MW 1.35.0 #28
Comments
@Hutchy68 See here on how this was fixed for SMW: SemanticMediaWiki/SemanticMediaWiki#4881 Probably no need to re-invent the wheel. |
Thanks @kghbln I’m thinking I might just rip out the JS and go back to what was and always has worked... |
@Hutchy68 My understanding is that the JS is here to prevent second confirmation which is required by MediaWiki. However having at least an extra button instead of using the address field of the browser to type in |
No there is the purge permission to skip the extra button. It’s only for public and bots to require the extra step. That is if you want to turn it on and by all means you should for bots and unregistered users. |
Ah, admittedly I believed that this one was gone - interesting. Anyhow, it will be great to get this extension up and running for MW 1.35 again. :) |
Hi @kghbln and @Elteria, this extension is being confused with a website running SMW. In an install without SMW, the purge extension works with MW 1.35 without issue. It just does not do it with JS, it uses the So the issue is Semantic MediaWiki is stepping on the Purge extension. I do not know what came first, but the Purge extension looks like it was started 9 May 2009. There is no previous history as the code was (sorry) purged from the project after I forked it into GitHub in early 2016 (almost 5 years ago). So the issue is in the element
I did some testing on the extension by changing the element to
|
Now that this was sorted out for SMW I still do not know if the Purge extension works for MW 1.35 or not. :) From the second pic it appears that it does not, no? |
If you install purge extension without SMW and use my PR #29 it works on MW 1.35 with JS. If someone has JS disabled, it falls back and still works. If SMW is installed, SMW overwrites the element the Purge extension creates. |
It looks like the refresh link is always disabled on MediaWiki 1.35.0. Aswell confirmed on the talk page of the extension.
https://www.mediawiki.org/wiki/Topic:Vvfthnqa2g5san3o
The text was updated successfully, but these errors were encountered: