Last modified: 2014-10-28 17:08:05 UTC
mwlib is able to fetch credentials to access content on private wikis, though with some issues. * http://web.archive.org/web/20110800000000/http://code.pediapress.com/wiki/ticket/747 ** Credentials not used to fetch license page ** new – ralf – normal – major – 23 months ** Needs someone with a private wiki able to set $wgCollectionLicenseURL for testing; not relevant for OCG?
This should work, using the instructions for setting up Parsoid to point at a private wiki: https://www.mediawiki.org/wiki/Parsoid/Setup#Configuration https://www.mediawiki.org/wiki/Extension:VisualEditor#Linking_with_Parsoid_in_private_wikis This could stand to be tested and documented better.
(In reply to C. Scott Ananian from comment #1) > This should work, using the instructions for setting up Parsoid to point at > a private wiki: Nice. But doesn't OCG also contact the web API?
Is the concrete feature request here that we support HTTP authentication (basic? digest?) when contacting the wiki's api.php endpoint? Have you tried using the 'http://username:password@host/...' format when configuring the API endpoint URL?
(In reply to C. Scott Ananian from comment #3) > Is the concrete feature request here that we support HTTP authentication > (basic? digest?) when contacting the wiki's api.php endpoint? It depends on what we're asking from the API: are we asking anything that requires read privileges?