Support PDF export on private wikis
Open, LowPublic

Description

mwlib is able to fetch credentials to access content on private wikis, though with some issues.


Version: unspecified
Severity: enhancement

Details

Reference
bz71849
bzimport raised the priority of this task from to Low.
bzimport set Reference to bz71849.
bzimport added a subscriber: Unknown Object (MLST).
Nemo_bis created this task.Oct 8 2014, 10:01 PM

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?

Krinkle renamed this task from Handle export from private wikis to Support PDF export on private wikis.Jul 13 2015, 10:27 PM
Krinkle set Security to None.
Restricted Application added a project: Internet-Archive. · View Herald TranscriptApr 8 2016, 2:47 PM

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.