Page MenuHomePhabricator

Mock deepcategory on test wikis
Closed, ResolvedPublic3 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:

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

Lea_WMDE created this task.Mar 15 2018, 9:05 AM
Restricted Application added a project: TCB-Team. · View Herald TranscriptMar 15 2018, 9:05 AM
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)

Lea_WMDE closed this task as Resolved.May 30 2018, 10:33 AM