Extension talk:EPubExport

Requested features

 * Additional languages
 * Permissions:
 * Add an "exportable" property to pages. Pages with exportable=false won't allowed to be exported. Also the "ePub export" link will not be shown in these pagese. When exporting a group of pages, if one of them is not exportable, export will failed with detailed message.
 * Administrator would be able to change the exportable permission for any page.
 * Configuration of default exportable permission shall be added.

Done on version 0.02

 * Version Warning - place a warning on the top of each page, that this is a static version of the article, from a specific date and time (as in printable version).

Done on version 0.03

 * Image support: Images are now embedded in the epub file.

Done in version 0.04

 * User-defined CSS

Bug?
I have an italian mediawiki installation. When I click on the tools link to export to ePub, the page http://mywiki.org/w/index.php?title=Speciale:Stampa_ePub&page=Page_Name is loaded, but I get an error "La pagina speciale richiesta non è stata riconosciuta.", which means "the requested special page hasn't been recognized". But "Speciale:Stampa_ePub" special page loads!

My installation uses short urls.

It Seems like the problem is with the "raw url" special page form. The other special pages load with the raw url.

Is it a bug?

Thank you for your attention. DonPaolo 19:47, 6 July 2010 (UTC)

Confirmation
Yes I got the same message (in English), i.e. a Firefox popup, so the web client tries to retrieve an epub file from a local tmp dir, but can't find it.

Content of the FF popup: /tmp/zD1EI3lu.part could not be saved, because the source file could not be read. Try again later, or contact the server administrator.

Version of ePubExport Version 0.5.4 (2010-05-16)) from CVS it says version 47

My setup: MediaWiki 	1.16.0 PHP 	5.2.6-3ubuntu4.6 (apache2handler) MySQL 	5.0.75-0ubuntu10.5

Short URLS (LocalSettings.php) $wgSitename        = "EduTech Wiki"; $wgScriptPath	   = "/mediawiki"; $wgScript          = "$wgScriptPath/index.php"; $wgRedirectScript  = "$wgScriptPath/redirect.php"; $wgArticlePath     = "/en/$1";

Apache aliases: Alias /mediawiki "/data/portails/mediawiki" Alias /en "/data/portails/mediawiki/index.php"

So it does get stuck somewhere, but can't figure out where. Btw. the documentation doesn't say that one should create an epub/temp directory and chown to the web server user. I did that but won't help (the path to temp is fine btw.)

A mediawiki version problem ?

cheers ! - Daniel K. Schneider 19:50, 29 November 2010 (UTC)