Page MenuHomePhabricator

A way to exclude a page from a category
Closed, InvalidPublic

Description

Is there an easy way to exclude a particular page from an automatically-generated category?

I have a template that puts pages in [[Category:Bad Coords]] if its arguments are invalid. I'd like to be able to exclude certain pages from this category, even though they are automatically added by this template.

E.g. I would like to be able to include something like [[Exclude Category:Bad Coords]] on a page, which overrides any [[Category:Bad Coords]] that the page may have.

Sorry if this is a common request, or a need that is already addressed by other means. I did try to search for it.

Event Timeline

DannyS712 subscribed.

If they are added by a template, exclusion can be done by adding a parameter to the template to tell it not to add categories.

There are hundreds of template references on the pages I want to exclude. You're telling me to edit every one of them?

(In what sense is this feature request "invalid"?)

There are hundreds of template references on the pages I want to exclude. You're telling me to edit every one of them?

(In what sense is this feature request "invalid"?)

Templates work by allowing pages to include their content without needing to manually copy the content each time.
If the template contents include a category, and editors don't want that category to be included, the solution is to not have the template supply the category in the first place, not to override the categorization on the page. That is the "easy way to exclude a particular page from an automatically-generated category", and so unless there is a different use case for this new feature, I closed it as invalid. Please see https://www.mediawiki.org/wiki/Bug_management/Bug_report_life_cycle for more

This comment was removed by Ladsgroup.

Are you autistic or something? Just my luck to get my idea deleted by the autistic mod before anyone else sees it. *sigh*

Please refrain from personal attacks. By the fact you're still replying to the ticket, it has not been "deleted".

Are you autistic or something? Just my luck to get my idea deleted by the autistic mod before anyone else sees it. *sigh*

Please refrain from personal attacks. By the fact you're still replying to the ticket, it has not been "deleted".

Excuse me, "closed" and marked "invalid", but not "deleted". I beg your pardon.

Well, bye.

Hm, why would being called autistic be considered a personal attack?

This comment was removed by Ladsgroup.