Coder Social home page Coder Social logo

HTTPS about mediawiker HOT 5 CLOSED

tosher avatar tosher commented on June 8, 2024
HTTPS

from mediawiker.

Comments (5)

tosher avatar tosher commented on June 8, 2024

I have two problems here:

  1. 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."
  2. Sublime Text 2 (on Linux as i know) haven't socket module compiled with SSL support.
    braindamageinc/SublimeHttpRequester#16

from mediawiker.

tosher avatar tosher commented on June 8, 2024

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.

tosher avatar tosher commented on June 8, 2024

Please check new version (not on Linux).

from mediawiker.

Nava2 avatar Nava2 commented on June 8, 2024

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.

tosher avatar tosher commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.