This seems to be similar to T283170, but the fix there doesn't seem to have fixed it.
List of steps to reproduce (step by step, including full links if applicable):
- Search 'bestiario' on wiki (index.php?search=bestiario&search=bestiario&title=Especial%3ABuscar&fulltext=Buscar)
What happens?:
[82bf281ecacb028424f3c14f] /w/index.php?search=bestiario&search=bestiario&title=Especial%3ABuscar&fulltext=Buscar Wikimedia\Assert\PreconditionException: Precondition failed: This Title instance does not represent a proper page, but merely a link target. from /srv/mediawiki/w/vendor/wikimedia/assert/src/Assert.php(49) #0 /srv/mediawiki/w/includes/Title.php(4251): Wikimedia\Assert\Assert::precondition(boolean, string) #1 /srv/mediawiki/w/includes/Title.php(4232): Title->assertProperPage() #2 /srv/mediawiki/w/includes/Revision/RevisionStore.php(1785): Title->getId(boolean) #3 /srv/mediawiki/w/includes/Revision/RevisionStore.php(1690): MediaWiki\Revision\RevisionStore->ensureRevisionRowMatchesPage(stdClass, Title) #4 /srv/mediawiki/w/includes/Revision/RevisionStore.php(1566): MediaWiki\Revision\RevisionStore->newRevisionFromRowAndSlots(stdClass, NULL, integer, Title, boolean) #5 /srv/mediawiki/w/includes/Revision/RevisionStore.php(2299): MediaWiki\Revision\RevisionStore->newRevisionFromRow(stdClass, integer, Title) #6 /srv/mediawiki/w/includes/Revision/RevisionStore.php(1282): MediaWiki\Revision\RevisionStore->loadRevisionFromConds(Wikimedia\Rdbms\DBConnRef, array, integer, Title) #7 /srv/mediawiki/w/includes/search/RevisionSearchResultTrait.php(52): MediaWiki\Revision\RevisionStore->getRevisionByTitle(Title, boolean, integer) #8 /srv/mediawiki/w/includes/search/RevisionSearchResult.php(16): RevisionSearchResult->initFromTitle(Title) #9 /srv/mediawiki/w/includes/search/SqlSearchResult.php(34): RevisionSearchResult->__construct(Title) #10 /srv/mediawiki/w/includes/search/SqlSearchResultSet.php(59): SqlSearchResult->__construct(Title, array) #11 /srv/mediawiki/w/includes/search/SearchResultSet.php(73): SqlSearchResultSet->extractResults() #12 /srv/mediawiki/w/includes/search/SearchResultSet.php(184): SearchResultSet->count() #13 /srv/mediawiki/w/includes/search/SearchEngine.php(201): SearchResultSet->shrink(integer) #14 /srv/mediawiki/w/includes/search/SearchEngine.php(96): SearchEngine->maybePaginate(Closure) #15 /srv/mediawiki/w/includes/specials/SpecialSearch.php(448): SearchEngine->searchText(string) #16 /srv/mediawiki/w/includes/specials/SpecialSearch.php(228): SpecialSearch->showResults(string) #17 /srv/mediawiki/w/includes/specialpage/SpecialPage.php(647): SpecialSearch->execute(NULL) #18 /srv/mediawiki/w/includes/specialpage/SpecialPageFactory.php(1366): SpecialPage->run(NULL) #19 /srv/mediawiki/w/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext) #20 /srv/mediawiki/w/includes/MediaWiki.php(930): MediaWiki->performRequest() #21 /srv/mediawiki/w/includes/MediaWiki.php(564): MediaWiki->main() #22 /srv/mediawiki/w/index.php(53): MediaWiki->run() #23 /srv/mediawiki/w/index.php(46): wfIndexMain() #24 {main}
What should have happened instead?:
Search should have worked.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
MediaWiki: 1.37.1 (4093cfb)
PHP: 7.4.28 (fpm-fcgi)