Zuletzt bearbeitet vor 3 Monaten
von Margit Link-Rodrigue

AutoDoc:Checklists und AutoDoc:FlexiSkin: Unterschied zwischen den Seiten

(Unterschied zwischen Seiten)
hw>Unknown user
Keine Bearbeitungszusammenfassung
 
hw>Unknown user
Keine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
==DescriptionMsg==
==DescriptionMsg==
{{AutoDocDescriptionMsg
{{AutoDocDescriptionMsg
|name = Checklists
|name = FlexiSkin
|desc = {{int:checklists-desc
|desc = {{int:flexiskin-extension-desc
}}
}}
}}
}}
Zeile 19: Zeile 19:
{{AutoDocIntegratesInto
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|into = {{AutoDocListItem
|item = ContentDroplets
|item = FlexiSkin
}}
}}
{{AutoDocListItem
|item = VisualEditor
}}
}}
==SpecialPages==
{{AutoDocSpecialPages
|SpecialPages = {{AutoDocCallback
|name = FlexiSkin
|callback = MediaWiki\Extension\FlexiSkin\Special\FlexiSkin
}}
}}
==DefaultUserOptions==
{{AutoDocDefaultUserOptions
|options = {{AutoDocOption
|name = checklists-hide-revision-dlg
|value = <nowiki>0</nowiki>
}}
}}
==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>
}}
}}
==Hooks==
{{AutoDocHooks
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ArticleUndelete ArticleUndelete]
|callback = processChecklistItems
}}
}}
{{AutoDocCallback
==ApiModules==
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFBeforeAddingStyleBlocks BSUEModulePDFBeforeAddingStyleBlocks]
{{AutoDocApiModules
|callback = pdf
|APIModules = {{AutoDocCallback
|name = flexiskin-activation
|callback = MediaWiki\Extension\FlexiSkin\Api\Activation
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|name = flexiskin-delete
|callback = modifyOutput
|callback = MediaWiki\Extension\FlexiSkin\Api\Delete
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences GetPreferences]
|name = flexiskin-preview
|callback = userpreference
|callback = MediaWiki\Extension\FlexiSkin\Api\Preview
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates]
|name = flexiskin-save
|callback = runDatabaseUpdates
|callback = MediaWiki\Extension\FlexiSkin\Api\Save
}}
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageDelete PageDelete]
|callback = processChecklistItems
}}
}}
{{AutoDocCallback
==Hooks==
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageDeleteComplete PageDeleteComplete]
{{AutoDocHooks
|callback = processChecklistItems
|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/PageSaveComplete PageSaveComplete]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents]
|callback = processChecklistItems
|callback = discovery-skin
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ParserAfterTidy ParserAfterTidy]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/UserLoadAfterLoadFromSession UserLoadAfterLoadFromSession]
|callback = modifyOutput
|callback = MediaWiki\Extension\FlexiSkin\Extension::onUserLoadAfterLoadFromSession
}}
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ParserBeforeInternalParse ParserBeforeInternalParse]
|callback = modifyOutput
}}
}}
{{AutoDocCallback
==ExtensionFunctions==
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ParserPreSaveTransformComplete ParserPreSaveTransformComplete]
{{AutoDocExtensionFunctions
|callback = processChecklistItems
|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

Hooks

Hooks

ExtensionFunctions

Vorlage:AutoDocExtensionFunctions

Keine Kategorien vergebenBearbeiten

Diskussionen