Extension talk:PdfBook

Jump to navigation Jump to search

About this board

Can PdfBook handle Semantic Mediawiki Inline Queries?

2
AID-PMBD (talkcontribs)

Hello,


I'm using PdfBook on a Mediawiki 1.31 Installation and want to export Sites that are using inline queries (#ask) to display content. When exporting those sites as PDF, the query content doesn't show up. Can the extensions handle this? If yes, does someone have an idea as to where I went wrong?

AID-PMBD (talkcontribs)

I managed to reach the creator of PDFBook. The extension can handle Semantic Queries in general, however it doesn't seem to be able to handle if the Output of the Query is a table. I decided to use Mpdf or the "Print Version" instead.

Reply to "Can PdfBook handle Semantic Mediawiki Inline Queries?"

Category print and internal links

1
Frank V Damme (talkcontribs)

I generate a book per category which works well. Was wondering though if it were possible to include the page titles. ATM, a category with pages containing 3, 4 and 6 headers respectively will result in a pdf containing 13 chapters.


I was also wondering if there was a way to keep internal links? If a page links to another one in the same category, it will also appear in the same PDF but the link to it leads to the original site (full url).

Reply to "Category print and internal links"

Are there any configuration for Page Header and Footer n HTML Format

1
147.1.18.25 (talkcontribs)

Are  there any configuration for Page Header and Footer n HTML Format?


Kindly help me.

Reply to "Are there any configuration for Page Header and Footer n HTML Format"
147.1.18.25 (talkcontribs)

PDF Format is good. However html Table border is missing in PDF, Could anyone help me on this issue?

Reply to "PDF Format issue"
Maiden taiwan (talkcontribs)

This extension is broken under MediaWiki 1.34:

  • It uses DB_SLAVE instead of DB_REPLICA
  • After fixing this error, I still get an error :

[b2c769246b4f1dc886c4c019] /w/index.php?title=Category:Office_supplies&action=pdfbook Error from line 67 of /var/www/mediawiki/w/extensions/PdfBook/PdfBookAction.php: Cannot access protected property Wikimedia\Rdbms\ResultWrapper::$result

Backtrace:

#0 /var/www/mediawiki/w/includes/MediaWiki.php(511): PdfBookAction->show()

#1 /var/www/mediawiki/w/includes/MediaWiki.php(302): MediaWiki->performAction(CategoryPage, Title)

#2 /var/www/mediawiki/w/includes/MediaWiki.php(900): MediaWiki->performRequest()

#3 /var/www/mediawiki/w/includes/MediaWiki.php(527): MediaWiki->main()

#4 /var/www/mediawiki/w/index.php(44): MediaWiki->run()

#5 {main}

Igorabsorto (talkcontribs)

Hi @Maiden taiwan, sorry for taking this long to get back at you. We are working on making this extension compatible with version 1.34. We will make an announcement here once that is finished.

Pppery (talkcontribs)
Igorabsorto (talkcontribs)

Hi @Pppery, we have updated the code in an attempt to make it compatible with version 1.34, but we haven't been able yet to thoroughly test it. The simple tests I made with a fresh 1.34 install worked fine, but we still need to test in more complex scenarios. If you are willing, install/update the extension with the last commits and give it a try and please report if you spot any bugs.

Reply to "Breaks in MW 1.34"
There are no older topics