Extension:NamespaceStyle
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | User interfaceCategory:User interface extensions, SkinCategory:Skin extensions |
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.Category:Extensions with master compatibility policy |
MediaWiki | >= 1.41.0 |
Database changes | No |
Composer | nichework/namespace-styleCategory:Extensions supporting Composer |
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
- Download and place the file(s) in a directory called
NamespaceStyle
in 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.
Category:All extensions
Category:BeforePageDisplay extensions
Category:Extensions in GitHub version control
Category:Extensions supporting Composer
Category:Extensions with master compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:Skin extensions
Category:Stable extensions
Category:User interface extensions