Created
August 26, 2015 19:05
-
-
Save vanatteveldt/1fa5a1056adc72c6c50d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wva@amcat-production: (master) ~/ocg/mw-ocg-bundler$ cat /etc/mediawiki/parsoid/settings.js | |
"use strict"; | |
exports.setup = function( parsoidConfig ) { | |
parsoidConfig.setInterwiki( 'amcatwiki', 'http://wiki.amcat.nl/api.php' ); | |
// Use selective serialization (default false) | |
parsoidConfig.useSelser = true; | |
// allow cross-domain requests to the API (default disallowed) | |
//parsoidConfig.allowCORS = '*'; | |
}; | |
$ bin/mw-ocg-bundler -v --php-api http://wiki.amcat.nl --api http://wiki.amcat.nl Querying | |
[0%] Fetching wiki configuration | |
[0%] Fetching wiki configuration: http://wiki.amcat.nl | |
[4%] Fetching wiki configuration: | |
[8%] Fetching wiki configuration: enwiki siteinfo | |
[17%] Fetching parsed articles | |
[17%] Fetching parsed articles: collection | |
[23%] Fetching parsed articles: enwiki:Querying [Parsoid, latest revision] | |
Retrying (1) https://en.wikipedia.org/api/rest_v1/page/html/wiki%2FQuery 404 | |
Retrying (2) https://en.wikipedia.org/api/rest_v1/page/html/wiki%2FQuery 404 | |
Retrying (3) https://en.wikipedia.org/api/rest_v1/page/html/wiki%2FQuery 404 | |
Error fetching restbase1 result: https://en.wikipedia.org/api/rest_v1/page/html/wiki%2FQuery |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment