Page MenuHomePhabricator

Get categories in a page
Closed, ResolvedPublic3 Estimated Story Points

Description

As a Enterprise Engineer, I want to have a way to get all categories in a page, so that I can determine what categories are being used.

Acceptance criteria
A method that returns all the Categories in page name and full url to the category location.

To-Do

  • create a method that will be called GetCategories
  • add unit tests
  • create an interface that will be called CategoriesGetter that will expose GetCategories method

Notes
This should live under wikimedia-enterprise/general/parser. Function example written in Python.

Event Timeline

REsquito-WMF renamed this task from Get categores in a page to Get categories in a page.Dec 14 2022, 11:31 AM
REsquito-WMF claimed this task.
Protsack.stephan updated the task description. (Show Details)
Reedy updated the task description. (Show Details)