https://bugzilla.wikimedia.org/show_bug.cgi?id=22941

           Summary: Apply span tags with CSS classes/ids to the different
                    elements of #firstHeading
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: svi...@gmail.com


A not entirely unlikely situation would be the need to apply a certain style to
one's titles on pages, but also the concept of removing the namespace from the
title, if it is already suggested by a different background colour or the users
consider the layout to be decent enough.

Simply add some span tags with CSS classes.  Here is a current category
firstHeading:

<h1 style="" id="firstHeading" class="firstHeading">Category:Meta</h1>

Which would be preferably if it looked like this:

<h1 style="" id="firstHeading" class="firstHeading"><span
class="firstHeading-namespace">Category</span><span
class="firstHeading-separator">:</span><span
class="firstHeading-pagetitle">Meta</span></h1>

So a simply case of CSS could happily get rid of 'Category:':

.ns-14 .firstHeading-namespace,
.ns-14 .firstHeading-separator {
  display: none;
}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to