Halopedia:Skins/Onyx: Difference between revisions

document icon names from includes/Icon.php, tweak intro wording and example configuration to use $wgUploadPath instead of plain $wgScriptPath
m (Text replacement - "[[Wikipedia:" to "[[wikipedia:")
(document icon names from includes/Icon.php, tweak intro wording and example configuration to use $wgUploadPath instead of plain $wgScriptPath)
Line 1: Line 1:
<center>'''''PARDON OUR DUST!''' This page is still under construction.''</center>
<center>'''''PARDON OUR DUST!''' This page is still under construction.''</center>


'''Onyx''' is a [[wikipedia:MediaWiki|MediaWiki]] [[mw:Manual:Skins|skin]] designed to emulate and improve upon Oasis, the desktop skin used on wikis hosted by [[wikipedia:Wikia|Wikia/FANDOM]]. It was primarily written by [[User:Dab1001|Dab1001]] with help from [[User:Jack Phoenix|Jack Phoenix]], and is maintained by the Halopedia team. It is free and open-source under the [[wikipedia:GNU General Public License|GPL v2 license]], and its source code can be found [https://github.com/Halopedia/Onyx here.]
'''Onyx''' is a [[wikipedia:MediaWiki|MediaWiki]] [[mw:Manual:Skins|skin]] designed to emulate and improve upon Oasis, the desktop skin used on wikis hosted by [[wikipedia:Wikia|Wikia/FANDOM]]. It was primarily written by [[User:Dab1001|Dab1001]] with help from [[User:Jack Phoenix|Jack Phoenix]], and is maintained by the Halopedia team. It is free and open-source under the [[wikipedia:GNU General Public License|GPL v2 license]], and its source code can be found on [https://github.com/Halopedia/Onyx Halopedia's GitHub repository.]


Since its inception, the scope of the Onyx skin has expanded beyond just Halopedia, now aiming to provide a fully-featured, general-purpose skin for use on any wiki. Although primarily a surrogate for Oasis, Onyx hopes to improve upon its progenitor wherever possible, with the inclusion of minor improvements and refinements, like a wide page width for more article space, and quality-of-life features like a scrolling table of contents.
Since its inception, the scope of the Onyx skin has expanded beyond just Halopedia, now aiming to provide a fully-featured, general-purpose skin for use on any wiki. Although primarily a surrogate for Oasis, Onyx hopes to improve upon its progenitor wherever possible, with the inclusion of minor improvements and refinements, like a wide page width for more article space, and quality-of-life features like a scrolling table of contents.
Line 31: Line 31:
$wgOnyxNavigationSource = 'MediaWiki:Onyx/Navigation';
$wgOnyxNavigationSource = 'MediaWiki:Onyx/Navigation';
$wgOnyxToolboxSource = 'MediaWiki:Onyx/Toolbox';
$wgOnyxToolboxSource = 'MediaWiki:Onyx/Toolbox';
$wgOnyxBannerLogo = $wgScriptPath . '/images/4/47/myBannerLogo.png';
$wgOnyxBannerLogo = $wgUploadPath . '/4/47/myBannerLogo.png';
$wgOnyxHeaderLogo = $wgScriptPath . '/images/6/3A/myHeaderLogo.png';
$wgOnyxHeaderLogo = $wgUploadPath . '/6/3A/myHeaderLogo.png';
</pre>
</pre>


Line 208: Line 208:
===Icons===
===Icons===
{{Expand-section}}
{{Expand-section}}
Onyx and the other Maginot skins share a set of icons for consistency with one another. These icons are used in a number of areas on the skins, but can be used to augment the navigation list elements with a CSS-styleable inline SVG beside their labels (see [[#Navigation and Toolbox|the Navigation and Toolbox section]]). The following is a list of all of the icons currently included:
Onyx and the other Maginot skins share a set of icons for consistency with one another. These icons are used in a number of areas on the skins, but can be used to augment the navigation list elements with a CSS-styleable inline SVG beside their labels (see [[#Navigation and Toolbox|the Navigation and Toolbox section]]). The following is a list of all of the icons currently included (based on <code>includes/Icon.php</code> as of 10 July 2021):
* avatar
* edit
* talk
* view
* sidebar
* back
* cancel
* search
* notification
* message
* activity
* sun
* moon
* dropdown
* bullet
* close