-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Private wiki support? #89
Comments
First try |
Yes, it solved the problem. Thanks! |
Still, there is a problem with authentication when you open arcticle using Wikitext-Extension-Gadget it shows same error even if authentication has prepared using |
This part can be a little complicated. Because I originally designed these extensions mainly to provide support for some public wikis. You need to delete or comment out the following three lines here: // RemoteBot: ...
// TransferProtocol: ...
// SiteHost: ... Then recompile it and add the compiled snippet to your preferences. |
I might consider releasing a private wiki version later.🤔 |
Would it be possible to use this with the OpenIDConnect extension? |
@heaveaxy @threddast Sorry to bother you, but I would be very grateful if you cloud help me test it. Instead of doing what I'm saying here. Just change this line to: RemoteBot: 'false', Compile and add it to the user script and check if it works properly in a private wiki. If any problems occur, please let me know. Thanks. |
Hi, I'm trying to use this plugin in my own private wiki. However, because I have enabled TOTP, I cannot log in via Wikitext:Login
Are you planning to support TOTP? Or should I set up a bot? Thx |
@simonmysun Sorry for the late reply. There is no plan to support other login methods at present. I still recommend you to use Bot Passwords to log in. |
@Frederisk Ok. Thank you for your answer. I assumed it was simply stealing session cookies without looking into the code. Using a bot will lead to relatively messy edit records and lower the security level. I hope in the future we could find a better workaround. |
Hi,
Is it possible to use extension with private wiki where "all" group doesn't have
read
right? LocalSettings.php contains$wgGroupPermission['*']['read'] = false;
which cause an error "readapidenied" when trying to use extension. If change it to
true
extensions works properly.Steps to reproduce:
MW 1.40
In logs of webserver I see one query to api.php every time I run preview. As I know mediawiki requires several queries - one to get token, another one to authorize and finally useful query.
The text was updated successfully, but these errors were encountered: