Last modified: 2014-09-23 19:49:18 UTC
Created attachment 9960 [details] PDFBook enhancements The attached patch will 1) Allow the setting of $wgPdfBookTab in LocalSettings.php, keeping the "false" setting per default. 2) Make the setting for html-pages as "single" per default. 3) Allow pictures from private wikis to be exported using direct file-system links to the pictures instead of http-links.
35 if ( !isset( $wgPdfBookTab ) ) { 36 $wgPdfBookTab = false; 37 } Don't do that. See http://www.mediawiki.org/wiki/Register_globals
Thank you for the note. You are right. Feature (1) only needed to be documented, what I did now.
Johannes, thanks for the patch. It looks like Sam gave you some feedback on what you need to fix, so I'm marking this reviewed -- please do respond with an updated patch if you have time. Thank you!