Jump to content

Topic on Extension talk:PdfBook/Archive 2

And once more, with frustration...

3
Slgrandson (talkcontribs)

To developers @Nad: /@Igorabsorto:

On Miraheze, PdfBook is currently on the chopping block as the MW 1.38 era closes in (linked statement by Universal Omega (talk · contribs)). Not much to add here, except my experimentation last month spat out a local error message that went:

Cannot display PDF (Title.pdf is of invalid format)

...and forced me to remove the extension from my wiki's lineup. (Details at Meta's Community noticeboard.)

A real shame, as something like it would sure come in handy for my future books. Let's hope it actually gets fixed soon enough....

P.S. To @Bawolff: Any further assistance you might provide?

(MW 1.37.2/PHP 7.4.28) --Slgrandson (talk) 11:53, 5 June 2022 (UTC)

Bawolff (talkcontribs)

Those are some scary looking regexes...


Nothing looks particularly incompatible at a glance, except probably $wgParser should be replaced with the equivalent MediaWiki\MediaWikiServices::getInstance()->getParser().


I dont really care about this extension so i probably wouldn't fix it myself, but if you want help fixing it i would be willing to offer advice.

Txantimedia (talkcontribs)

This extension works with php 7.4.30 but fails with php 8.0. Is it still being maintained?

Exception caught inside exception handler: [d252db5c937becb1babd2770] /index.php/Main_Page Error: Call to undefined method User::isLoggedIn() Backtrace: from /home/vvfhorg/public_html/wiki.vvfh.org/extensions/PdfBook/PdfBook.hooks.php(212) 0 /home/vvfhorg/public_html/wiki.vvfh.org/includes/HookContainer/HookContainer.php(338): PdfBookHooks::onSkinTemplateNavigation() 1 /home/vvfhorg/public_html/wiki.vvfh.org/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook() 2 /home/vvfhorg/public_html/wiki.vvfh.org/includes/HookContainer/HookRunner.php(3485): MediaWiki\HookContainer\HookContainer->run() 3 /home/vvfhorg/public_html/wiki.vvfh.org/includes/skins/SkinTemplate.php(1187): MediaWiki\HookContainer\HookRunner->onSkinTemplateNavigation() 4 /home/vvfhorg/public_html/wiki.vvfh.org/skins/Vector/includes/SkinVector.php(424): SkinTemplate->runOnSkinTemplateNavigationHooks() 5 /home/vvfhorg/public_html/wiki.vvfh.org/includes/skins/SkinTemplate.php(1541): Vector\SkinVector->runOnSkinTemplateNavigationHooks() 6 /home/vvfhorg/public_html/wiki.vvfh.org/includes/skins/SkinTemplate.php(782): SkinTemplate->buildContentNavigationUrlsInternal() 7 /home/vvfhorg/public_html/wiki.vvfh.org/includes/skins/SkinTemplate.php(202): SkinTemplate->getPortletsTemplateData() 8 /home/vvfhorg/public_html/wiki.vvfh.org/includes/skins/SkinMustache.php(81): SkinTemplate->getTemplateData() 9 /home/vvfhorg/public_html/wiki.vvfh.org/skins/Vector/includes/SkinVector.php(564): SkinMustache->getTemplateData() 10 /home/vvfhorg/public_html/wiki.vvfh.org/includes/skins/SkinMustache.php(58): Vector\SkinVector->getTemplateData() 11 /home/vvfhorg/public_html/wiki.vvfh.org/skins/Vector/includes/SkinVector.php(455): SkinMustache->generateHTML() 12 /home/vvfhorg/public_html/wiki.vvfh.org/includes/skins/SkinTemplate.php(150): Vector\SkinVector->generateHTML() 13 /home/vvfhorg/public_html/wiki.vvfh.org/includes/OutputPage.php(2807): SkinTemplate->outputPage() 14 /home/vvfhorg/public_html/wiki.vvfh.org/includes/exception/MWExceptionRenderer.php(157): OutputPage->output() 15 /home/vvfhorg/public_html/wiki.vvfh.org/includes/exception/MWExceptionRenderer.php(76): MWExceptionRenderer::reportHTML() 16 /home/vvfhorg/public_html/wiki.vvfh.org/includes/exception/MWExceptionHandler.php(107): MWExceptionRenderer::output() 17 /home/vvfhorg/public_html/wiki.vvfh.org/includes/exception/MWExceptionHandler.php(202): MWExceptionHandler::report() 18 /home/vvfhorg/public_html/wiki.vvfh.org/includes/MediaWiki.php(585): MWExceptionHandler::handleException() 19 /home/vvfhorg/public_html/wiki.vvfh.org/index.php(53): MediaWiki->run() 20 /home/vvfhorg/public_html/wiki.vvfh.org/index.php(46): wfIndexMain() 21 {main}

Reply to "And once more, with frustration..."