(Unterschied zwischen Seiten)
K (1 Version importiert) |
hw>Unknown user Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
==DescriptionMsg== | ==DescriptionMsg== | ||
{{AutoDocDescriptionMsg | {{AutoDocDescriptionMsg | ||
|name = | |name = FlexiSkin | ||
|desc = {{int: | |desc = {{int:flexiskin-extension-desc | ||
}} | }} | ||
}} | }} | ||
==License== | ==License== | ||
{{AutoDocLicense | {{AutoDocLicense | ||
|name = GPL-3.0 | |name = GPL-3.0-only | ||
}} | |||
==Requirements== | |||
{{AutoDocRequirements | |||
|mediawiki = {{AutoDocVersion | |||
|name = MediaWiki | |||
|version = 1.31.0 | |||
}} | |||
}} | |||
==IntegratesInto== | |||
{{AutoDocIntegratesInto | |||
|into = {{AutoDocListItem | |||
|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> | |||
}} | |||
}} | |||
==ApiModules== | |||
{{AutoDocApiModules | |||
|APIModules = {{AutoDocCallback | |||
|name = flexiskin-activation | |||
|callback = MediaWiki\Extension\FlexiSkin\Api\Activation | |||
}} | |||
{{AutoDocCallback | |||
|name = flexiskin-delete | |||
|callback = MediaWiki\Extension\FlexiSkin\Api\Delete | |||
}} | |||
{{AutoDocCallback | |||
|name = flexiskin-preview | |||
|callback = MediaWiki\Extension\FlexiSkin\Api\Preview | |||
}} | |||
{{AutoDocCallback | |||
|name = flexiskin-save | |||
|callback = MediaWiki\Extension\FlexiSkin\Api\Save | |||
}} | |||
}} | }} | ||
==Hooks== | ==Hooks== | ||
{{AutoDocHooks | {{AutoDocHooks | ||
|Hooks = {{AutoDocCallback | |Hooks = {{AutoDocCallback | ||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ | |name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates] | ||
|callback = | |callback = convert-default-file | ||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents] | |||
|callback = discovery-skin | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/UserLoadAfterLoadFromSession UserLoadAfterLoadFromSession] | |||
|callback = MediaWiki\Extension\FlexiSkin\Extension::onUserLoadAfterLoadFromSession | |||
}} | |||
}} | |||
==ExtensionFunctions== | |||
{{AutoDocExtensionFunctions | |||
|ExtensionFunctions = {{AutoDocListItem | |||
|item = 0 | |||
}} | }} | ||
}} | }} | ||
Version vom 27. Juli 2022, 14:41 Uhr
DescriptionMsg
Ermöglicht die Anpassung des Skins
License
GPL v3
Requirements
- MediaWiki: 1.31.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