Page MenuHomePhabricator

Mock deepcategory on test wikis
Closed, ResolvedPublic3 Estimated Story Points

Description

Motivation
Right now, when you use deepcategory on our test server (and probably also on our local machines), you see the following error message:

Bildschirmfoto 2018-03-14 um 14.56.48.png (409×1 px, 80 KB)

Task
Fake the deepcategory behavior by just treating it like incategory on the test systems

**Acceptance Criteria*

  • On the wmde-uca test wiki, whenever the keyword deepcategory is used, incategory is used instead
  • The behavior does not change on any production wiki

Notes

  • We would probably need a flag for the test systems
  • will need to touch the config file, the place in the code where deepcategory is actually called, and needs to be activated on the test system

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Lea_WMDE set the point value for this task to 3.Mar 15 2018, 9:05 AM

Change 427648 had a related patch set uploaded (by Tonina Zhelyazkova; owner: Tonina Zhelyazkova):
[mediawiki/extensions/AdvancedSearch@master] Mock deepcategory on test wikis

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

!!! Important
As a last step of the deployment process for this ticket, set $wgAdvancedSearchDeepcatEnabled to false in LocalSettings.php

Change 427648 merged by Tonina Zhelyazkova:
[mediawiki/extensions/AdvancedSearch@master] Mock deepcategory on test wikis

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

Works on the test-wiki. (Real wiki couldn't be tested of course)