Extension:NamespaceStyle
Appearance
Release status: stable |
|
|---|---|
| Implementation | User interface, Skin |
| Description | Allows you to create different styles for different namespaces. |
| Author(s) | Mark A. Hershberger (MarkAHershbergertalk) |
| Latest version | 0.0.1 |
| Compatibility policy | Master maintains backward compatibility. |
| MediaWiki | >= 1.41.0 |
| Database changes | No |
| Composer | nichework/namespace-style |
| License | GNU General Public License 3.0 or later |
| Download | GitHub:
Note: README |
The NamespaceStyle extension allows you to create per-namespace stylesheets.
To provide a namespace-specific style, create a page in the MediaWiki namespace. The page should begin with the namespace name and have the suffix -namespace.css. You can use (main) (as in MediaWiki:(main)-namespace.css) for the main namespace.
Installation
[edit]- Download and place the file(s) in a directory called
NamespaceStylein yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'NamespaceStyle' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
