A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.
Go to file
Hannes dd9c8c6f0a
Refactor CitizenTemplate
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
2019-12-26 00:20:04 +01:00
i18n Repushed Citizen skin 2019-08-15 13:40:13 -04:00
includes Refactor CitizenTemplate 2019-12-26 00:20:04 +01:00
licenses Updated font licenses 2019-12-20 13:18:12 -05:00
resources Changed h1 h2 line height 2019-12-23 18:44:04 -05:00
skinStyles Cookies Warning style #2 2019-12-09 15:31:36 -05:00
citizen.php Repushed Citizen skin 2019-08-15 13:40:13 -04:00
CODE_OF_CONDUCT.md Add documentation to the skin 2019-12-21 00:56:15 -05:00
LICENSE licensing update 2019-08-16 21:48:16 -04:00
README.md Bumped version and updated readme 2019-12-24 01:08:43 -05:00
skin.json Bumped version and updated readme 2019-12-24 01:08:43 -05:00

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