mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 14:34:09 +00:00
dd9c8c6f0a
Pulled out big chunks into separate methods and tried to improve readability. FEATURE: Made bottom button configurable (although icon and style is still hardcoded) - Button can be enabled/disabled through $wgCitizenEnableButton - Link configurable through $wgCitizenButtonLink - Title configurable through $wgCitizenButtonTitle - Text configurable through $wgCitizenButtonText FEATURE: Made visibility of page tools configurable through $wgCitizenShowPageTools Possible config values: - true -> always visible - false -> always hidden - 'login' -> only visible if user is logged in - 'permission-*' -> only visible if user has the given permission for current page - e.g.: 'permission-edit' -> Tools visible if user can edit current page |
||
---|---|---|
i18n | ||
includes | ||
licenses | ||
resources | ||
skinStyles | ||
citizen.php | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
skin.json |
Citizen
Citizen is a responsive skin for MediaWiki built by the Star Citizen Wiki team. Although it is specifically built for the Star Citizen Wiki, the skin should be able to run on any Mediawiki installation that is 1.31 or higher. Due to resource constraints, we might not be able to provide full support for setups that are vastly different than us, but feel free to submit a pull request or bug report if you find a bug!
Notable features
- Fully responsive skin: Responsive and able to adapt to different screen sizes. 📱💻🖥️
- Rich search suggestions: More helpful search suggestions with images and descriptions. 🔍👀
- Lazyload images: Improve load time of your wiki and avoid unnessecary image downloads. 🚀
- Native light/dark mode support: Respect OS and app configuration for light and dark mode. ☀️🌙
- Webapp manifest: Give a more app-like experience when user add your wiki to their home screen. 📱
- HTTP security response headers: Enhance the security of your wiki from HTTP response headers. 🔒🔑
Configurations
This section is still WIP. Please refer to the skin.json for more instructions!
Requirements
- MediaWiki 1.31 or later