Page MenuHomePhabricator

Extension:Report: Fatal error on MediaWiki 1.44
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Install MediaWiki 1.44
  • Install Extension:Report
  • Try to access Special:Report

What happens?:
[36cf40d1f5f7fba2ef5bbdeb] /wiki/Special:Report Error: Class "Html" not found

Backtrace:
from /var/www/html/extensions/Report/includes/SpecialReport.php(20)
#0 /var/www/html/extensions/Report/includes/SpecialReport.php(42): MediaWiki\Extension\Report\SpecialReport->showError()
#1 /var/www/html/includes/specialpage/SpecialPage.php(734): MediaWiki\Extension\Report\SpecialReport->execute()
#2 /var/www/html/includes/specialpage/SpecialPageFactory.php(1731): MediaWiki\SpecialPage\SpecialPage->run()
#3 /var/www/html/includes/actions/ActionEntryPoint.php(499): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
#4 /var/www/html/includes/actions/ActionEntryPoint.php(143): MediaWiki\Actions\ActionEntryPoint->performRequest()
#5 /var/www/html/includes/MediaWikiEntryPoint.php(202): MediaWiki\Actions\ActionEntryPoint->execute()
#6 /var/www/html/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#7 {main}

This is due to the HTML class alias being removed.

What should have happened instead?:
extension works as expected

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
MediaWiki 1.44.0
PHP 8.4

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Who is the maintainer of this extension? They should define a dedicated venue where bug reports should be filed. https://www.mediawiki.org/wiki/Extension:Report has not info about that currently, and MediaWiki-extensions-Other should ideally not be used as it requires someone to manually subscribe a maintainer.

Change #1166472 had a related patch set uploaded (by Pskyechology; author: Pskyechology):

[mediawiki/extensions/Report@master] Add/fix imports

https://gerrit.wikimedia.org/r/1166472

Change #1166474 had a related patch set uploaded (by Pskyechology; author: Pskyechology):

[mediawiki/extensions/Report@REL1_44] Add/fix imports

https://gerrit.wikimedia.org/r/1166474

Change #1166472 merged by jenkins-bot:

[mediawiki/extensions/Report@master] Add/fix imports

https://gerrit.wikimedia.org/r/1166472

Change #1166474 merged by jenkins-bot:

[mediawiki/extensions/Report@REL1_44] Add/fix imports

https://gerrit.wikimedia.org/r/1166474

Patch is merged, seems to work without issues. Closing as resolved.

Who is the maintainer of this extension? They should define a dedicated venue where bug reports should be filed. https://www.mediawiki.org/wiki/Extension:Report has not info about that currently, and MediaWiki-extensions-Other should ideally not be used as it requires someone to manually subscribe a maintainer.

That's me, sorry! I have not been as up to date with Wikimedia-category emails as I would like. Thanks to those who created and merged the patch.