Page MenuHomePhabricator

"ns-xx" class missing from some skins.
Closed, ResolvedPublic

Description

Monobook.css contains the following definition for the body tag, in the main
namespace.

<body  class="ns-0 ltr">

In other namespaces the 0 is replaced by the relevant number, allowing
namespace-specific CSS rules to be applied to page elements.

The Classic, Nostalgia and Cologne Blue skins (and possibly others) do not
include this definition, so namespace customisation is effectively disabled for
these skins.

This is particularly important for mediawiki.org, where we use
namespace-specific CSS to differentiate between content released under GFDL and
our public domain content.


Version: unspecified
Severity: normal

Details

Reference
bz6976

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:20 PM
bzimport set Reference to bz6976.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

Patch (also adds directionality class)

Attached: