Last modified: 2011-04-14 15:12:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24941, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22941 - Apply span tags with CSS classes/ids to the different elements of #firstHeading
Apply span tags with CSS classes/ids to the different elements of #firstHeading
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-25 15:09 UTC by Svip
Modified: 2011-04-14 15:12 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Svip 2010-03-25 15:09:30 UTC
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;
}

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links