MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
MDElliottMD (talk | contribs) Scope category auto-list hide to Category:MedCategoryFull marker (Category:MedCategory was too broad — tagged on every leaf medicine category) |
MDElliottMD (talk | contribs) Strip Category:MedCategory marker per interface-claude 2026-05-20 hygiene order: this page is a medicine, narrative, wiki-meta page, or stylesheet rather than a class-overview category, so it should not carry the MedCategory tag. Class memberships and other tags preserved. |
||
| Line 66: | Line 66: | ||
/* ===== Hide MediaWiki's auto-generated category member listing on | /* ===== Hide MediaWiki's auto-generated category member listing on | ||
MedCategory pages only. Those pages render a manual prose "Members" | MedCategory pages only. Those pages render a manual prose "Members" | ||
section instead. Scoping uses :has() to match the | section instead. Scoping uses :has() to match the marker rendered in the catlinks block, so any current or future page | ||
marker rendered in the catlinks block, so any current or future page | tagged gets the hide automatically and no | ||
tagged | |||
other category pages are affected. Category membership, navigation, | other category pages are affected. Category membership, navigation, | ||
and the API listing are unaffected — this is display-only. ===== */ | and the API listing are unaffected — this is display-only. ===== */ | ||
body:has(#mw-normal-catlinks a[title="Category:MedCategoryFull"]) .mw-category-generated { display: none; } | body:has(#mw-normal-catlinks a[title="Category:MedCategoryFull"]) .mw-category-generated { display: none; } | ||