Jump to content

Topic on Project:Support desk

How do I remove the option for Pedia Press to print books in Collection?

12
MediaWiki Website User (talkcontribs)

This is a very important legal issue, as I cannot enable the extension until I figure out how to remove the ability to send books created from wiki content to Pedia Press for printing for sale.

Link to the extension on MediaWiki.org Extension:Collection

Does anyone know how to do this? I really want users to be able to use this extension and create books from the content which will be easier to read, but it would not be legal for Pedia Press to be making money off of them. I need to figure out how to disable this feature.

Bawolff (talkcontribs)

Seems kind of hard coded in that extension... In Collection.body.php the lines:

        var $mPODPartners = array(
                'pediapress' => array(
                        'name' => 'PediaPress',
                        'url' => 'http://pediapress.com/',
                        'posturl' => 'http://pediapress.com/api/collections/',
                ),
        );

is probably what you want to change. You'd probably still want to keep a 'pediapress' key to the array, since it seems hardcoded to expect that. However, if you change the name, url and posturl it would use a different service. If you don't want any printing service whatsoever, you may have to make more significant changes to the extension (In Collection.template.php mostly).

Varnent (talkcontribs)

Is this a common enough problem that an option to disable it within the extension should be considered?

Bawolff (talkcontribs)

meh, personally I don't like how the collection extension is so closely tied to pediapress, but I suppose that's a reflection of who wrote the extension

MediaWiki Website User (talkcontribs)

Well, it's a serious problem for any wiki which has content or is about something which it does not own itself, such as a video game wiki encyclopedia or something like that.

Varnent (talkcontribs)

I've started a discussion about adding this as an option. If there are no objections, I think we can add it in a few weeks time. The original developer may add it sooner if they're interested and don't object. Feel free to chime in there.  :)

MediaWiki Website User (talkcontribs)

That would be great.

CristianCantoro (talkcontribs)

I have proposed a patch, see the linked discussion.

Saper (talkcontribs)

I have commited a hopefully right fix in r113740.

Saper (talkcontribs)

I have commited a hopefully right fix in r113740.

Saper (talkcontribs)

The fix is now part of Collection extension version 1.6 and has even been deployed on the Wikimedia sites (although they don't change POD configuration).

Reply to "How do I remove the option for Pedia Press to print books in Collection?"