(Unterschied zwischen Seiten)
hw>Unknown user Keine Bearbeitungszusammenfassung |
hw>Unknown user Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
==DescriptionMsg== | ==DescriptionMsg== | ||
{{AutoDocDescriptionMsg | {{AutoDocDescriptionMsg | ||
|name = | |name = FlexiSkin | ||
|desc = {{int: | |desc = {{int:flexiskin-extension-desc | ||
}} | }} | ||
}} | }} | ||
Zeile 19: | Zeile 19: | ||
{{AutoDocIntegratesInto | {{AutoDocIntegratesInto | ||
|into = {{AutoDocListItem | |into = {{AutoDocListItem | ||
|item = | |item = FlexiSkin | ||
}} | }} | ||
}} | }} | ||
==SpecialPages== | |||
{{AutoDocSpecialPages | |||
|SpecialPages = {{AutoDocCallback | |||
|name = FlexiSkin | |||
|callback = MediaWiki\Extension\FlexiSkin\Special\FlexiSkin | |||
}} | }} | ||
}} | }} | ||
==Permissions== | |||
{{AutoDocPermissions | |||
|permissions = {{AutoDocPermission | |||
|name = flexiskin-api | |||
|type = global | |||
|roles = admin | |||
|desc = {{int:right-flexiskin-api | |||
}} | |||
}} | |||
{{AutoDocPermission | |||
|name = flexiskin-viewspecialpage | |||
|type = global | |||
|roles = admin | |||
|desc = {{int:right-flexiskin-viewspecialpage | |||
}} | |||
}} | |||
}} | |||
==Config== | |||
{{AutoDocConfig | |||
|config = {{AutoDocOption | |||
|name = FlexiSkinColorPresets | |||
|value = <nowiki>array ( | |||
'bluespice' => | |||
array ( | |||
'colors/background/primary' => '#3e5389', | |||
'colors/background/secondary' => '#ffffff', | |||
'colors/background/tertiary' => '#d9d9d9', | |||
'colors/background/quaternary' => '#999999', | |||
'colors/foreground/primary' => '#ffffff', | |||
'colors/foreground/secondary' => '#666666', | |||
'colors/foreground/tertiary' => '#ffffff', | |||
'colors/foreground/quaternary' => '#ffffff', | |||
), | |||
'turquoise' => | |||
array ( | |||
'colors/background/primary' => '#1bbc9b', | |||
'colors/background/secondary' => '#f5f5f5', | |||
'colors/background/tertiary' => '#ffffff', | |||
'colors/background/quaternary' => '#454545', | |||
'colors/foreground/primary' => '#ffffff', | |||
'colors/foreground/secondary' => '#454545', | |||
'colors/foreground/tertiary' => '#1bbc9b', | |||
'colors/foreground/quaternary' => '#ffffff', | |||
), | |||
'orange' => | |||
array ( | |||
'colors/background/primary' => '#f4912c', | |||
'colors/background/secondary' => '#4d4d4d', | |||
'colors/background/tertiary' => '#f6f6f6', | |||
'colors/background/quaternary' => '#dedede', | |||
'colors/foreground/primary' => '#ffffff', | |||
'colors/foreground/secondary' => '#ffffff', | |||
'colors/foreground/tertiary' => '#4d4d4d', | |||
'colors/foreground/quaternary' => '#4d4d4d', | |||
), | |||
'crimson' => | |||
array ( | |||
'colors/background/primary' => '#bd0000', | |||
'colors/background/secondary' => '#f6f6f6', | |||
'colors/background/tertiary' => '#333333', | |||
'colors/background/quaternary' => '#f6f6f6', | |||
'colors/foreground/primary' => '#f6f6f6', | |||
'colors/foreground/secondary' => '#333333', | |||
'colors/foreground/tertiary' => '#bd0000', | |||
'colors/foreground/quaternary' => '#333333', | |||
), | |||
'lime' => | |||
array ( | |||
'colors/background/primary' => '#97bc00', | |||
'colors/background/secondary' => '#e6e6e6', | |||
'colors/background/tertiary' => '#f6f6f6', | |||
'colors/background/quaternary' => '#97bc00', | |||
'colors/foreground/primary' => '#ffffff', | |||
'colors/foreground/secondary' => '#474747', | |||
'colors/foreground/tertiary' => '#474747', | |||
'colors/foreground/quaternary' => '#ffffff', | |||
), | |||
'turquoise dark' => | |||
array ( | |||
'colors/background/primary' => '#4d4d4d', | |||
'colors/background/secondary' => '#4d4d4d', | |||
'colors/background/tertiary' => '#00adf1', | |||
'colors/background/quaternary' => '#4d4d4d', | |||
'colors/foreground/primary' => '#ffffff', | |||
'colors/foreground/secondary' => '#ffffff', | |||
'colors/foreground/tertiary' => '#4d4d4d', | |||
'colors/foreground/quaternary' => '#ffffff', | |||
), | |||
'sunflower dark' => | |||
array ( | |||
'colors/background/primary' => '#d9d9d9', | |||
'colors/background/secondary' => '#d9d9d9', | |||
'colors/background/tertiary' => '#fdce05', | |||
'colors/background/quaternary' => '#353d40', | |||
'colors/foreground/primary' => '#666666', | |||
'colors/foreground/secondary' => '#666666', | |||
'colors/foreground/tertiary' => '#ffffff', | |||
'colors/foreground/quaternary' => '#ffffff', | |||
), | |||
)</nowiki> | |||
}} | }} | ||
}} | }} | ||
{{AutoDocCallback | ==ApiModules== | ||
|name = | {{AutoDocApiModules | ||
|callback = | |APIModules = {{AutoDocCallback | ||
|name = flexiskin-activation | |||
|callback = MediaWiki\Extension\FlexiSkin\Api\Activation | |||
}} | }} | ||
{{AutoDocCallback | {{AutoDocCallback | ||
|name = | |name = flexiskin-delete | ||
|callback = | |callback = MediaWiki\Extension\FlexiSkin\Api\Delete | ||
}} | }} | ||
{{AutoDocCallback | {{AutoDocCallback | ||
|name = | |name = flexiskin-preview | ||
|callback = | |callback = MediaWiki\Extension\FlexiSkin\Api\Preview | ||
}} | }} | ||
{{AutoDocCallback | {{AutoDocCallback | ||
|name = | |name = flexiskin-save | ||
|callback = | |callback = MediaWiki\Extension\FlexiSkin\Api\Save | ||
}} | }} | ||
}} | }} | ||
{{AutoDocCallback | ==Hooks== | ||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ | {{AutoDocHooks | ||
|callback = | |Hooks = {{AutoDocCallback | ||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates] | |||
|callback = convert-default-file | |||
}} | }} | ||
{{AutoDocCallback | {{AutoDocCallback | ||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ | |name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents] | ||
|callback = | |callback = discovery-skin | ||
}} | }} | ||
{{AutoDocCallback | {{AutoDocCallback | ||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ | |name = [https://www.mediawiki.org/wiki/Manual:Hooks/UserLoadAfterLoadFromSession UserLoadAfterLoadFromSession] | ||
|callback = | |callback = MediaWiki\Extension\FlexiSkin\Extension::onUserLoadAfterLoadFromSession | ||
}} | }} | ||
}} | }} | ||
{{ | ==ExtensionFunctions== | ||
| | {{AutoDocExtensionFunctions | ||
| | |ExtensionFunctions = {{AutoDocListItem | ||
|item = 0 | |||
}} | }} | ||
}} | }} | ||
Version vom 1. Dezember 2023, 14:09 Uhr
DescriptionMsg
Ermöglicht die Anpassung des Skins
License
GPL v3
Requirements
- MediaWiki: 1.39.0
IntegratesInto
- FlexiSkin
SpecialPages
- FlexiSkin
Permissions
Rechte
Name | Beschreibung | Rollen |
---|---|---|
flexiskin-api | Verwenden der FlexiSkin-APIs | admin |
flexiskin-viewspecialpage | Ansehen der Spezialseite zum Anpassen des Skins | admin |
Config
Konfiguration
Name | Wert |
---|---|
FlexiSkinColorPresets | array ( 'bluespice' => array ( 'colors/background/primary' => '#3e5389', 'colors/background/secondary' => '#ffffff', 'colors/background/tertiary' => '#d9d9d9', 'colors/background/quaternary' => '#999999', 'colors/foreground/primary' => '#ffffff', 'colors/foreground/secondary' => '#666666', 'colors/foreground/tertiary' => '#ffffff', 'colors/foreground/quaternary' => '#ffffff', ), 'turquoise' => array ( 'colors/background/primary' => '#1bbc9b', 'colors/background/secondary' => '#f5f5f5', 'colors/background/tertiary' => '#ffffff', 'colors/background/quaternary' => '#454545', 'colors/foreground/primary' => '#ffffff', 'colors/foreground/secondary' => '#454545', 'colors/foreground/tertiary' => '#1bbc9b', 'colors/foreground/quaternary' => '#ffffff', ), 'orange' => array ( 'colors/background/primary' => '#f4912c', 'colors/background/secondary' => '#4d4d4d', 'colors/background/tertiary' => '#f6f6f6', 'colors/background/quaternary' => '#dedede', 'colors/foreground/primary' => '#ffffff', 'colors/foreground/secondary' => '#ffffff', 'colors/foreground/tertiary' => '#4d4d4d', 'colors/foreground/quaternary' => '#4d4d4d', ), 'crimson' => array ( 'colors/background/primary' => '#bd0000', 'colors/background/secondary' => '#f6f6f6', 'colors/background/tertiary' => '#333333', 'colors/background/quaternary' => '#f6f6f6', 'colors/foreground/primary' => '#f6f6f6', 'colors/foreground/secondary' => '#333333', 'colors/foreground/tertiary' => '#bd0000', 'colors/foreground/quaternary' => '#333333', ), 'lime' => array ( 'colors/background/primary' => '#97bc00', 'colors/background/secondary' => '#e6e6e6', 'colors/background/tertiary' => '#f6f6f6', 'colors/background/quaternary' => '#97bc00', 'colors/foreground/primary' => '#ffffff', 'colors/foreground/secondary' => '#474747', 'colors/foreground/tertiary' => '#474747', 'colors/foreground/quaternary' => '#ffffff', ), 'turquoise dark' => array ( 'colors/background/primary' => '#4d4d4d', 'colors/background/secondary' => '#4d4d4d', 'colors/background/tertiary' => '#00adf1', 'colors/background/quaternary' => '#4d4d4d', 'colors/foreground/primary' => '#ffffff', 'colors/foreground/secondary' => '#ffffff', 'colors/foreground/tertiary' => '#4d4d4d', 'colors/foreground/quaternary' => '#ffffff', ), 'sunflower dark' => array ( 'colors/background/primary' => '#d9d9d9', 'colors/background/secondary' => '#d9d9d9', 'colors/background/tertiary' => '#fdce05', 'colors/background/quaternary' => '#353d40', 'colors/foreground/primary' => '#666666', 'colors/foreground/secondary' => '#666666', 'colors/foreground/tertiary' => '#ffffff', 'colors/foreground/quaternary' => '#ffffff', ), ) |
ApiModules
API Modules
- flexiskin-activation
- flexiskin-delete
- flexiskin-preview
- flexiskin-save