Comments (5)
I have two problems here:
- Unfortunately, MWClient library supports now only http.
http://sourceforge.net/apps/mediawiki/mwclient/index.php?title=Site
"Currently only HTTP is supported. mwclient cannot connect by HTTPS, and cannot connect to HTTPS-only sites at all." - Sublime Text 2 (on Linux as i know) haven't socket module compiled with SSL support.
braindamageinc/SublimeHttpRequester#16
from mediawiker.
Good point, i will try to implement this:
http://sourceforge.net/p/mwclient/code/HEAD/tree/trunk/mwclient/
== HTTPS ==
To use https, specify the host as a tuple in the form of ('https', hostname).
But on Linux, problem still here..
from mediawiker.
Please check new version (not on Linux).
from mediawiker.
I am new to using MediaWiker, what do you mean by specifying the host as a tuple? In seeings I tried, "host": ["https", "example.com"]
but it fails because of a page name failure.
Traceback (most recent call last):
File ".\sublime_plugin.py", line 337, in run_
File ".\mediawiker.py", line 237, in run
File ".\mediawiker.py", line 120, in mw_pagename_clear
TypeError: 'in <string>' requires string as left operand
My settings line looks like:
"My Wiki": {"host": "example.com",
"path": "/wiki/",
"pagepath": "/index.php/",
"username": "****",
"password": "****",
"domain": ""
}
from mediawiker.
When using Mediawiker under Sublime, only needs parameter "https" in site config.
Like:
"My Wiki": {"host": "example.com", "path": "/wiki/", "pagepath": "/index.php/", "username": "****", "password": "****", "domain": "", "https": true }
https://github.com/tosher/Mediawiker/wiki/Mediawiker-settings
from mediawiker.
Related Issues (20)
- 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
- 12 months of inactivity of repository owner HOT 2
- Code folding HOT 5
- [SSL: CERTIFICATE_VERIFY_FAILED] on wiki connection HOT 2
- "Unable to get page" on private wiki HOT 3
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.