Closed GoogleCodeExporter closed 8 years ago
At the moment the only login methods supported are the standard method and
LDAP. HTTP Auth may be supported in a future release but isn't currently.
Original comment by MrZmanwiki@gmail.com
on 5 May 2011 at 2:40
Original comment by MrZmanwiki@gmail.com
on 8 Jun 2011 at 11:05
I have created a patch to add this feature. If you need HTTP auth, simply add
the credentials in the URL like
"http://username:password@mywiki.site/w/api.php".
Original comment by vegardha...@gmail.com
on 24 Oct 2011 at 1:25
Couldn't see that the file was added.. I'm giving it another go.
Original comment by vegardha...@gmail.com
on 24 Oct 2011 at 1:30
Attachments:
Ah, I didn't see this thread. I also have created a patch for this issue. I
added two optional arguments to the Wiki object for server username and
password.
It would work like this:
site = wiki.Wiki("https://wiki.blah.com/path/api.php",'username')
-> will prompt for password in this case
or
site = wiki.Wiki("https://wiki.blah.com/path/api.php",'username','password')
I'll leave it to the maintainers to look at the patches, maybe the one above is
better, I don't know. I figured I should post it since I did it.
Original comment by rdbu...@gmail.com
on 29 May 2012 at 6:25
Attachments:
Done in
https://github.com/alexz-enwp/wikitools/commit/983b6dcc5d1389ba45d43cda5df9ab11f
4caed7a
I don't have a wiki behind HTTP Auth, so I haven't actually tested it besides
ensuring it didn't break normal usage.
Original comment by MrZmanwiki@gmail.com
on 7 Dec 2013 at 11:16
Original issue reported on code.google.com by
kaska...@gmail.com
on 5 May 2011 at 2:21