Page MenuHomePhabricator

testAdvancedSearchForcesNamespacedUrls of AdvancedSearch failure
Closed, InvalidPublic

Description

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-hhvm-docker/51448/console

There was 1 failure:

1) AdvancedSearch\Tests\HooksTest::testAdvancedSearchForcesNamespacedUrls
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'http://fe59b6608ed9/w/index.php?search=test&title=Special%3ASearch&go=Go&ns0=1'
+'http://fe59b6608ed9/w/index.php?search=test&title=Special%3ASearch&go=Go&ns0=1&ns120=1'

/workspace/src/extensions/AdvancedSearch/tests/phpunit/HooksTest.php:153
/workspace/src/tests/phpunit/MediaWikiTestCase.php:427
/workspace/src/maintenance/doMaintenance.php:99

Seems a dependency extension installed a new namespace which is now picked up, maybe set content namespaces in the test?

https://www.mediawiki.org/wiki/Extension_default_namespaces#ID_100-199

Event Timeline

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

@Zoranzoki21: "See previous comments and the upper left corner" is probably not what you want to hear. :)
Do you have a more specific question, and if you have then who are you asking?

@Zoranzoki21: "See previous comments and the upper left corner" is probably not what you want to hear. :)
Do you have a more specific question, and if you have then who are you asking?

I mean "is this still happening or not"? Because I don't saw this error in CI.

(removing the good first task as the status of this task isn't clear)

WMDE-Fisch subscribed.

It seems this didn't happen for a while now. Will close the ticket for now. Please re-open if you run into this again.