Page MenuHomePhabricator

CSS classes for subpages and virtual namespaces
Closed, InvalidPublic

Description

It would be good to have a CSS class when in a subpage
(foo/bar) and when in a virtual namespace (foo:bar) so
that customizations can be made for normal pages without
affecting these 2 other kinds of pages.

I'm not sure how Wikipedia uses these concepts but on
en.wiktionary we use both for vastly different content
than in normal pages.


Version: unspecified
Severity: enhancement

Details

Reference
bz5874

Related Objects

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 9:13 PM
bzimport added a project: MediaWiki-Interface.
bzimport set Reference to bz5874.
bzimport added a subscriber: Unknown Object (MLST).

happy.melon.wiki wrote:

(In reply to comment #0)

It would be good to have a CSS class when in a subpage
(foo/bar) and when in a virtual namespace (foo:bar) so
that customizations can be made for normal pages without
affecting these 2 other kinds of pages.

What sort of customisation could you possibly want to make that would only involve CSS?

I'm not sure how Wikipedia uses these concepts

Not in a fashion that lends itself to HTML injection, *especially* the 'virtual namespace' one, whatever that is.

Totally stale, and I'm thoroughly unconvinced that this is in any way useful.