Last modified: 2014-10-28 17:08:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73849, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71849 - Handle export from private wikis
Handle export from private wikis
Status: NEW
Product: OCG
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-08 22:01 UTC by Nemo
Modified: 2014-10-28 17:08 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2014-10-08 22:01:44 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?
Comment 1 C. Scott Ananian 2014-10-08 22:07:28 UTC
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.
Comment 2 Nemo 2014-10-09 05:19:14 UTC
(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?
Comment 3 C. Scott Ananian 2014-10-28 16:38:06 UTC
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?
Comment 4 Nemo 2014-10-28 17:08:05 UTC
(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?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links