Jump to content

Topic on Extension talk:WebP

Not working with MW 1.42.1

1
Nanash (talkcontribs)

Hello,

I upgraded to MW 1.42.1, reinstalled the WebP and PictureHTMLSupport extensions, replaced the ThumbnailImage.php file.

The extension recreated webp folders in my ftp with ad hoc images. But it's still the pngs that are displayed on my site, and I get a blank page every time I try to access a File page... with this backtrace :

[ZtC@u9U8uUbG9ZwdjXfvFwAAADg] /Fichier:Zona.png Error: Class "Hooks" not found

Backtrace:

from /home/wikimede/www/includes/media/ThumbnailImage.php(206)

#0 /home/wikimede/www/includes/page/ImagePage.php(486): ThumbnailImage->toHtml(array)

#1 /home/wikimede/www/includes/page/ImagePage.php(144): ImagePage->openShowImage()

#2 /home/wikimede/www/includes/actions/ViewAction.php(78): ImagePage->view()

#3 /home/wikimede/www/includes/actions/ActionEntryPoint.php(733): ViewAction->show()

#4 /home/wikimede/www/includes/actions/ActionEntryPoint.php(510): MediaWiki\Actions\ActionEntryPoint->performAction(ImagePage, MediaWiki\Title\Title)

#5 /home/wikimede/www/includes/actions/ActionEntryPoint.php(145): MediaWiki\Actions\ActionEntryPoint->performRequest()

#6 /home/wikimede/www/includes/MediaWikiEntryPoint.php(199): MediaWiki\Actions\ActionEntryPoint->execute()

#7 /home/wikimede/www/index.php(58): MediaWiki\MediaWikiEntryPoint->run()

#8 {main}


In the debug data, I found this (it's the same for any skins) :

  • [silenced-error] [ZtDBk91HL-PGEvkWn7cC3AAAACc] /Fichier:Zona.png PHP Warning: filemtime(): stat failed for /home/wikimede/www/skins/Tweeki/i18n/fr.json
  • [silenced-error] [ZtDBk91HL-PGEvkWn7cC3AAAACc] /Fichier:Zona.png PHP Warning: filemtime(): stat failed for /home/wikimede/www/extensions/VisualEditor/editcheck/i18n/api/fr.json
  • [silenced-error] [ZtDBk91HL-PGEvkWn7cC3AAAACc] /Fichier:Zona.png PHP Warning: filemtime(): stat failed for /home/wikimede/www/extensions/FontAwesome/i18n/fr.json Any idea ? Thanks '^^
Reply to "Not working with MW 1.42.1"