Comments (11)
Thanks for your comment. I will try to check this issue.
from mediawiker.
Do you have this message in console or something another?
File ".\mwclient\httpmw.py", line 192, in request raise errors.HTTPStatusError(res.status, res) mwclient.errors.HTTPStatusError: (404, httplib.HTTPResponse instance at 0x00000000045DE208)
from mediawiker.
Oh my goodness m(
I completely forgot the console. Embarrassing :D Don't usually use it, when using Sublime.
It actually gets a 'readapidenied' from the MediaWiki-API:
Traceback (most recent call last):
File "./mediawiker.py", line 906, in show_results
File "./mediawiker.py", line 943, in do_search
File "./mediawiker.py", line 69, in mw_get_connect
File "./mwclient/client.py", line 385, in login
self.site_init()
File "./mwclient/client.py", line 120, in site_init
meta = self.api('query', meta='siteinfo|userinfo', siprop='general|namespaces', uiprop='groups|rights')
File "./mwclient/client.py", line 186, in api
res = self.handle_api_result(info, token=token)
File "./mwclient/client.py", line 213, in handle_api_result
raise errors.APIError(info['error']['code'], info['error']['info'], kwargs)
mwclient.errors.APIError: (u'readapidenied', u'You need read permission to use this module', None)
MediaWiki's API-FAQ sais
Why do I get the readapiedeniederror?
The wiki you're querying contains private content and requires users to log in in order to be able to read all pages. This means that a client needs to be logged in to query any information at all through the API. See the quick start guide for more information. It's not currently possible to query the contents of whitelisted pages without logging in, even though they're available in the regular user interface.
https://www.mediawiki.org/wiki/API:FAQ#do_I_get_the_readapidenied_error.3F
I saved the login-credentials to the user-settings to exclude mistyping of the password. As 'Open page' is working, thus logging in correctly, maybe there's no login prior to searching?
Regards
from mediawiker.
Hmm.. The same function used for all features - page opening, posting, search, insert category, etc..
I haven't wiki-site with https only access.. can't process full testing :( On https://mediawiki.org search works fine.
"Without auth and https, it works fine. "
But with auth and without http - works? :)
from mediawiker.
And small second question - problem exists on both versions of sublime (2 & 3)?
from mediawiker.
I will setup a test-environment. Can't actually change the corporate-wiki to no-auth or no-https.
I use Sublime 2.
I'll be back with more information. Thx for your effort!
Regards
from mediawiker.
Oh, maybe i found bug.. 30 minutes..
from mediawiker.
Please try to update plugin and check search.
from mediawiker.
k, ongoing
from mediawiker.
top! Fix confirmed.
from mediawiker.
Oo, it's very very good :) It was fantastically stupid bug, thanks for this issue :)
from mediawiker.
Related Issues (20)
- [Bug?] Can't log in HOT 6
- Crypto library problem in ST4 HOT 19
- Can't start variable/template scope in a file
- Toggles for various mouseover functionality HOT 1
- Updates to Mediawiker delete custom wiki entries in sublime-settings file. HOT 4
- Visual Studio Code? HOT 2
- Edit summaries in the console HOT 3
- Occasional TypeError exception for get_page HOT 7
- Connection exception: 'HTTPError' object does not support indexing - GSSAPI Authentication HOT 9
- Automatically converting tabs to spaces/spaces to tabs on load HOT 6
- Shorten the summary / description
- Certificate failing HOT 9
- No option to "Open page" in Command Palette HOT 7
- syntax highlighter doesn't recognize <math> tags with "display=..." attributes HOT 2
- Support per-site "new_page_template_path" overriding the default
- Keys start acting strange after saving a page
- Chrome cookies not working: "cookies_browser": "chrome",
- authentication via firefox failing HOT 1
- File Load usage HOT 1
- InsecureRequestWarning -- wants a verified cert but those fail 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 mediawiker.