Topic on Extension talk:PdfBook

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"