mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-18 03:41:50 +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 |
||
---|---|---|
.. | ||
api | ||
CitizenHooks.php | ||
CitizenTemplate.php | ||
SkinCitizen.php |