Talk:OCG
Appearance
Rendered with Parsoid
Latest comment: 9 years ago by Cscott in topic What is the proper mw-ocg-bundler syntax for wiki on localhost?
Where to report bugs?
Where do we report bugs in output generation? --brion (talk) 19:56, 30 July 2014 (UTC)
- People have begun putting them in bugzilla, in
Mediawiki Extensions : Collection
. This is not entirely ideal as (1) that component is clogged with bugs for the previous mwlib version of the PDF backend, (2) it's not very discoverable, and (3) I don't think I'm cc'ed by default on these bugs. But I think those issues could be fixed, and I don't have any better suggestions. So put them there, and if necessary make sure they are assigned to me (cscott). Cscott (talk) 20:42, 30 July 2014 (UTC)- Spiff, I'll use that for now. --brion (talk) 20:44, 30 July 2014 (UTC)
What is the proper mw-ocg-bundler syntax for wiki on localhost?
I tried both:
bin/mw-ocg-bundler -v -o bundle.zip --prefix localhost "Main Page"
And:
bin/mw-ocg-bundler -v -o bundle.zip --api http://localhost:8142 --prefix localhost "Main Page"
And got:
Prefix not found: localhost
For reference, my /etc/mediawiki/parsoid/settings.js:
"use strict"; /* * This is a sample configuration file. * * Copy this file to localsettings.js and edit that file to fit your needs. * * Also see the file ParserService.js for more information. */ exports.setup = function( parsoidConfig ) { // The URL of your MediaWiki API endpoint // // We pre-define wikipedias as 'enwiki', 'dewiki' etc. Similarly for // other projects: 'enwiktionary', 'enwikiquote', 'enwikibooks', // 'enwikivoyage' etc. // // Optionally, you can also pass in a proxy specific to this prefix // (overrides defaultAPIProxyURI), or null to disable proxying for // this end point. parsoidConfig.setInterwiki( 'localhost', 'http://localhost/wdev/api.php' ); // A default proxy to connect to the API endpoints. Default: undefined // (no proxying). Overridden by per-wiki proxy config in setInterwiki. // parsoidConfig.defaultAPIProxyURI = 'http://proxy.example.org:8080'; // Enable debug mode (prints extra debugging messages) parsoidConfig.debug = true; // Use the PHP preprocessor to expand templates via the MW API (default true) //parsoidConfig.usePHPPreProcessor = false; // Use selective serialization (default false) parsoidConfig.useSelser = true; // allow cross-domain requests to the API (default disallowed) //parsoidConfig.allowCORS = '*'; };
- There were a number of issues here, including the
--api
option alias being broken; we fixed them on IRC. Cscott (talk) 19:54, 14 September 2015 (UTC)
isn't it a GPL license?
$wgLicenseURL = "http://creativecommons.org/licenses/by-sa/3.0/";
My Server is not on the Internet,how can i get the license?