Hi,
First of all, thank you very much for the pluggin.
If it works as expected ( ), it will be very usefully for me.
Anyway, I am open this query because i am unable to open a WikiPage that I have on my server.
<----- The MediaWiki API pag. is fine ----->
192.168.145.21/api.php
<----- The file that i am trying to open with sublime is the following----->
192.168.145.21/index.php/Temporal
<----- My Mediawiker.sublime-settings is the following----->
"mediawiki_site":
{
...
"my_wiki":
{
"host": "192.168.145.21",
"path": "",
"pagepath": "",
"username": "...",
"password": "...",
"domain": ""
}
},
"mediawiki_site_active": "my_wiki",
<— When I opened the “Temporal” page, i saw the following in console—>
Traceback (most recent call last):
File "./sublime_plugin.py", line 356, in run_
File "./mediawiker.py", line 410, in run
File "./mediawiker.py", line 65, in mw_get_connect
File "./mwclient/client.py", line 113, in __init__
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 183, in api
info = self.raw_api(action, **kwargs)
File "./mwclient/client.py", line 280, in raw_api
json_data = self.raw_call('api', data).read()
File "./mwclient/client.py", line 249, in raw_call
stream = self.connection.post(self.host, url, data=data, headers=headers)
File "./mwclient/httpmw.py", line 274, in post
return self.find_connection(host).post(host, path, headers, data)
File "./mwclient/httpmw.py", line 202, in post
return self.request('POST', host, path, headers, data)
File "./mwclient/httpmw.py", line 192, in request
raise errors.HTTPStatusError(res.status, res)
mwclient.errors.HTTPStatusError: (400, <httplib.HTTPResponse instance at 0x10807c5a8>) <--------- HTTPStatusError: 400 ??
Do you have any suggestion?
Can you please help me?
Thanks in advance.
Rui