List of steps to reproduce
- Go to Special:Nuke (in German: Spezial:Massenlöschung)
- Enter a SQL patter, e.g. Foo_12%
- Namespace = all
- max pages= 500
- On the next page select one (or more) of the matches
What happens?:
- After Submit MediaWiki responds with HTTP 500 and an error page, with this error log:
/mediawiki/index.php?title=Spezial:Massenl%C3%B6schung&action=delete
Error from line 379 of .../mediawiki/extensions/Nuke/includes/SpecialNuke.php:
Call to undefined method Title::getId()
Backtrace:
#0 .../mediawiki/extensions/Nuke/includes/SpecialNuke.php(64): SpecialNuke->doDelete(array, string)
#1 .../mediawiki/includes/specialpage/SpecialPage.php(600): SpecialNuke->execute(NULL)
#2 .../mediawiki/includes/specialpage/SpecialPageFactory.php(635): SpecialPage->run(NULL)
#3 .../mediawiki/includes/MediaWiki.php(307): MediaWikiSpecialPageSpecialPageFactory->executePath(Title, RequestContext)
#4 .../mediawiki/includes/MediaWiki.php(945): MediaWiki->performRequest()
#5 .../mediawiki/includes/MediaWiki.php(548): MediaWiki->main()
#6 .../mediawiki/index.php(53): MediaWiki->run()
#7 .../mediawiki/index.php(46): wfIndexMain()
#8 {main}What should have happened instead?:
Instead the selected pages should be deleted and no error messages should be shown.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
- MW 1.35.5
- SMW, DisplayTitle and many other extensions
- Maria 10.4.22
- PHP 7.3.33
The same call is still present in the current master branch: