I got over the POST error by setting the "require_once" command in the
LocalSettings.php file AFTER the variable settings.
Here is the relevant part of LocalSettings.php
# Collection
$wgCollectionFormats = array(
'rl' => 'PDF', # enabled by default
# 'odf' => 'ODT',
# 'docbook' => 'DocBook XML',
# 'xhtml' => 'XHTML 1.0 Transitional',
# 'epub' => 'e-book (EPUB)',
# 'zim' => 'Kiwix (OpenZIM)',
);
$wgEnableApi = true;
$wgCollectionMWServeCredentials = 'Shadi Akiki:****'; # password instead of
****
$wgCollectionMWServeURL = '0.0.0.0:8899';
$wgCollectionContentTypeToFilename = array(
'application/pdf' => 'collection.pdf',
# 'application/vnd.oasis.opendocument.text' =>
'collection.odt',
);
require_once("$IP/extensions/Collection/Collection.php");
Le lundi 8 octobre 2012 07:08:33 UTC+3, Ralf Schmitt a écrit :
>
> Joseph Messerschmidt <[email protected] <javascript:>> writes:
>
> >>
> >> could be https://github.com/pediapress/Collection/issues/1
> >>
> > Will this issue ever be resolved? I've seen this issue 1 linked many
> times
> > yet no word about development or a consistent workaround.
> >
>
> Judging from the importance it should have and the fact that it's been
> open for 10 months, my guess would be 'no'. If anyone feels like fixing
> it, feel free to submit patches through gerrit.
>
> Besides, it's still on my list of things to do...
>
> --
> Cheers
> Ralf
>
--
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.