Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
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.
Auto-list hide rule: add Category:CuratedCategoryPage, make skin-independent and !important, per home-claude category-page spec
Line 64: Line 64:
}
}
/* ===== End Pendell's corner ===== */
/* ===== End Pendell's corner ===== */
/* ===== Hide MediaWiki's auto-generated category member listing on
/* Hide MediaWiki's auto-generated category member listing on category
   MedCategory pages only. Those pages render a manual prose "Members"
   pages that supply their own curated, prose-led member index. Two
   section instead. Scoping uses :has() to match the   marker rendered in the catlinks block, so any current or future page
  marker tags trigger the hide:
   tagged  gets the hide automatically and no
    Category:MedCategoryFull      MedCategory class pages
   other category pages are affected. Category membership, navigation,
    Category:CuratedCategoryPage  canonical category pages (home-claude
  and the API listing are unaffected this is display-only. ===== */
                                  category-page structure, 2026-05-20)
body:has(#mw-normal-catlinks a[title="Category:MedCategoryFull"]) .mw-category-generated { display: none; }
   Scoping uses :has() on the marker link in the catlinks block, so any
   page carrying either marker is hidden automatically. Category
   membership, navigation, and the API listing are unaffected: this is
  display-only.
 
  This rule is intentionally SKIN-INDEPENDENT and must keep working
  under every skin (pharma default, plants overlay, any future skin).
  display: none is set !important and the selector carries id-level
  specificity, so a skin stylesheet cannot quietly re-show the
  auto-list. Future skin authors: do not override this. The curated
  index is the intended member listing on these pages. */
body:has(#mw-normal-catlinks a[title="Category:MedCategoryFull"]) .mw-category-generated,
body:has(#mw-normal-catlinks a[title="Category:CuratedCategoryPage"]) .mw-category-generated { display: none !important; }