Workflow not available on Category pages despite namespace being configured

Not sure if this is a bug or a missing feature, but here’s what’s happening:

When setting up a workflow trigger on Special:Workflow_triggers, the Category namespace shows up as an option in the namespace conditions and can be selected. However, when you actually navigate to a category page, the workflow does not appear in the page tools/actions menu.

Steps to reproduce:

  1. Go to Special:Workflow_triggers
  2. Edit or create a trigger
  3. Under Conditions, add the “Category” namespace
  4. Save the trigger
  5. Navigate to any category page (e.g. Category:Foo)
  6. Check the page actions/tools for the workflow

Expected behavior:
The workflow should be available to start on category pages, since the Category namespace is explicitly listed as an allowed namespace in the trigger conditions.

Actual behavior:
The workflow does not appear on category pages at all, even though the namespace was selected.

Why this seems like a bug:
The UI lets you select the Category namespace as a condition, which implies it should work. i also don’t see why it wouldn’t work

Hi YvarRavy,

the workflow feature is only available for content namespaces. By default, the category namespace is not defined as content namespace. You can go to the NamespaceManager to mark it as a content namespace.

Also, sometimes a category might be a “wanted category” - that is, although the url shows the pages that are tagged with that category, the actual category page has never been created. A worklow cannot run on a page that does not exist. A notice at the beginning of the page states: “There is currently no text in this page. You can search for this page title in other pages, search the related logs, or create this page.”

Greetings,

Margit