Skip to content

[BUG] maxdepth not working #95

@jhsoby

Description

@jhsoby

Describe the bug
The bot doesn't seem to take the maxdepth parameter for categories into account any more.

Steps to replicate the issue (include links if applicable):
Steps to reproduce the behavior:

  1. Go to https://fi.wikipedia.org/wiki/Wikipedia:Viikon_kilpailu/Viikon_kilpailu_2025-34
  2. Observe that the article "Spendaaja" was counted, even though it has a category depth of 12 or 13 from the specified category.

What should have happened instead?
The article should not be counted.

Additional context
Reported in https://fi.wikipedia.org/wiki/Keskustelu_k%C3%A4ytt%C3%A4j%C3%A4st%C3%A4:Jon_Harald_S%C3%B8by_(WMNO)#Ignore_not_working

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions