Zuletzt bearbeitet vor 4 Monaten
von Robert Vogel

AutoDoc:BlueSpiceBookshelf: Unterschied zwischen den Versionen

K (1 Version importiert)
hw>Unknown user
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{ExtensionMainDescOpen}}
==DescriptionMsg==
{{ExtensionMainDescBody
{{AutoDocDescriptionMsg
|desc = Ermöglicht das Zusammenstellen von hierarchisch gegliederten Artikelsammlungen.
|name = BlueSpiceBookshelf
}}
|desc = {{int:bs-bookshelf-extension-description
{{ExtensionMainDescClose}}
}}
 
}}
{{ExtensionSpecialPagesOpen}}
==License==
{{ExtensionSpecialPagesBody
{{AutoDocLicense
|name = GPL-3.0-only
}}
==Requirements==
{{AutoDocRequirements
|mediawiki = {{AutoDocVersion
|name = MediaWiki
|version = 1.35.0
}}
|extensions = {{AutoDocVersion
|name = BlueSpiceFoundation
|version = 4.0
}}
}}
==IntegratesInto==
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|item = BlueSpiceBookshelf
}}
}}
==SpecialPages==
{{AutoDocSpecialPages
|SpecialPages = {{AutoDocCallback
|name = Bookshelf
|callback = \BlueSpice\Bookshelf\Special\Bookshelf
}}
{{AutoDocCallback
|name = BookshelfBookEditor
|callback = \BlueSpice\Bookshelf\Special\BookshelfBookEditor
}}
{{AutoDocCallback
|name = BookshelfBookManager
|name = BookshelfBookManager
|class = \BlueSpice\Bookshelf\Special\BookshelfBookManager
|callback = \BlueSpice\Bookshelf\Special\BookshelfBookManager
}}
}}
{{ExtensionSpecialPagesBody
}}
|name = BookshelfBookEditor
==Permissions==
|class = \BlueSpice\Bookshelf\Special\BookshelfBookEditor
{{AutoDocPermissions
}}
|permissions = {{AutoDocPermission
{{ExtensionSpecialPagesBody
|name = bookshelf-viewspecialpage
|name = Bookshelf
|class = \BlueSpice\Bookshelf\Special\Bookshelf
}}
{{ExtensionSpecialPagesClose}}
 
{{ExtensionPermissionsOpen}}
{{ExtensionPermissionsBody
|permission = bookshelfbookmanager-viewspecialpage
|type = global
|type = global
|roles = reader
|roles = reader
|desc = Zugriff auf die Spezialseite [[Special:BookshelfBookManager|Bücherverwaltung]]
|desc = {{int:right-bookshelf-viewspecialpage
}}
}}
{{ExtensionPermissionsBody
}}
|permission = bookshelf-viewspecialpage
{{AutoDocPermission
|name = bookshelfbookmanager-viewspecialpage
|type = global
|type = global
|roles = reader
|roles = reader
|desc = Zugriff auf die Spezialseite [[Special:Bookshelf|Bücherregal]]
|desc = {{int:right-bookshelfbookmanager-viewspecialpage
}}
}}
{{ExtensionPermissionsClose}}
}}
 
}}
{{ExtensionDefaultUserOptionsOpen}}
==DefaultUserOptions==
{{ExtensionDefaultUserOptionsBody
{{AutoDocDefaultUserOptions
|options = {{AutoDocOption
|name = bs-bookshelf-defaultview
|name = bs-bookshelf-defaultview
|defaultValue = gridviewpanel
|value = <nowiki>'gridviewpanel'</nowiki>
}}
}}
{{ExtensionDefaultUserOptionsClose}}
}}
==Config==
{{AutoDocConfig
|config = {{AutoDocOption
|name = BookShelfDefaultCoverImage
|value = <nowiki>'resources/images/assets/coverimage/dummy.png'</nowiki>
}}
{{AutoDocOption
|name = BookShelfShowChapterNavigationPagerAfterContent
|value = <nowiki>false</nowiki>
}}
{{AutoDocOption
|name = BookShelfShowChapterNavigationPagerBeforeContent
|value = <nowiki>false</nowiki>
}}
{{AutoDocOption
|name = BookshelfPrependPageTOCNumbers
|value = <nowiki>true</nowiki>
}}
{{AutoDocOption
|name = BookshelfSupressBookNS
|value = <nowiki>true</nowiki>
}}
{{AutoDocOption
|name = BookshelfTitleDisplayText
|value = <nowiki>true</nowiki>
}}
}}
==ApiModules==
{{AutoDocApiModules
|APIModules = {{AutoDocCallback
|name = bs-bookshelf-bookstore
|callback = ApiBookshelfBookStore
}}
{{AutoDocCallback
|name = bs-bookshelf-manage
|callback = ApiBookshelfManage
}}
{{AutoDocCallback
|name = bs-bookshelf-mass-add-page-store
|callback = ApiBookshelfMassAddPageStore
}}
{{AutoDocCallback
|name = bs-bookshelf-page-collection-store
|callback = ApiBookshelfPageCollectionStore
}}
{{AutoDocCallback
|name = bs-bookshelf-store
|callback = ApiBookshelfStore
}}
}}
==Hooks==
{{AutoDocHooks
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSBookshelfGetBookData BSBookshelfGetBookData]
|callback = \BlueSpice\Bookshelf\Hook\BSBookshelfGetBookData\RunLegacyHook::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSInsertMagicAjaxGetData BSInsertMagicAjaxGetData]
|callback = \BlueSpice\Bookshelf\Hook\BSInsertMagicAjaxGetData\AddBookshelfTag::callback, \BlueSpice\Bookshelf\Hook\BSInsertMagicAjaxGetData\AddBookmetaTag::callback, \BlueSpice\Bookshelf\Hook\BSInsertMagicAjaxGetData\AddBooklistTag::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFAfterFindFiles BSUEModulePDFAfterFindFiles]
|callback = \BlueSpice\Bookshelf\Hook\BSUEModulePDFAfterFindFiles\AddAttachments::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFbeforeGetPage BSUEModulePDFbeforeGetPage]
|callback = \BlueSpice\Bookshelf\Hook\BSUEModulePDFbeforeGetPage\AdaptPageTitle::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFcollectMetaData BSUEModulePDFcollectMetaData]
|callback = \BlueSpice\Bookshelf\Hook\BSUEModulePDFcollectMetaData\SupressBookNS::callback, \BlueSpice\Bookshelf\Hook\BSUEModulePDFcollectMetaData\AddBookMeta::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFgetPage BSUEModulePDFgetPage]
|callback = \BlueSpice\Bookshelf\Hook\BSUEModulePDFgetPage\ModifyForExport::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\Bookshelf\Hook\BeforePageDisplay\AddResources::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]
|callback = discovery-skin
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ChameleonSkinTemplateOutputPageBeforeExec ChameleonSkinTemplateOutputPageBeforeExec]
|callback = BlueSpice\Bookshelf\Hook\ChameleonSkinTemplateOutputPageBeforeExec\SetBookContentModelActions::callback, BlueSpice\Bookshelf\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddChapterPager::callback, BlueSpice\Bookshelf\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddBookshelfUI::callback, BlueSpice\Bookshelf\Hook\ChameleonSkinTemplateOutputPageBeforeExec\AddToBookTool::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ContentHandlerDefaultModelFor ContentHandlerDefaultModelFor]
|callback = BlueSpice\Bookshelf\Hook\ContentHandlerDefaultModelFor\GetBookContentHandler::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences GetPreferences]
|callback = \BlueSpice\Bookshelf\Hook\GetPreferences\BookshelfDefaultView::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates]
|callback = BlueSpice\Bookshelf\Hook\LoadExtensionSchemaUpdates\AddConvertContentModel::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents]
|callback = common-user-interface
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateNavigation::Universal SkinTemplateNavigation::Universal]
|callback = BlueSpice\Bookshelf\Hook\SkinTemplateNavigationUniversal\AddAddToBookEntry::callback, BlueSpice\Bookshelf\Hook\SkinTemplateNavigationUniversal\AddEditBook::callback
}}
}}


{{ExtensionConfigOpen}}
{{ExtensionConfigBody
|name = $bsgBookshelfSupressBookNS
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideBookshelfSupressBookNS
}}
{{ExtensionConfigBody
|name = $bsgBookshelfTitleDisplayText
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideBookshelfTitleDisplayText
}}
{{ExtensionConfigBody
|name = $bsgBookshelfPrependPageTOCNumbers
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideBookshelfPrependPageTOCNumbers
}}
{{ExtensionConfigBody
|name = $bsgBookShelfDefaultCoverImage
|defaultValue = <nowiki>"resources/images/assets/coverimage/dummy.png"</nowiki>
|overrideBy = $bsgOverrideBookShelfDefaultCoverImage
}}
{{ExtensionConfigBody
|name = $bsgBookShelfShowChapterNavigationPagerBeforeContent
|defaultValue = <nowiki>false</nowiki>
|overrideBy = $bsgOverrideBookShelfShowChapterNavigationPagerBeforeContent
}}
{{ExtensionConfigBody
|name = $bsgBookShelfShowChapterNavigationPagerAfterContent
|defaultValue = <nowiki>false</nowiki>
|overrideBy = $bsgOverrideBookShelfShowChapterNavigationPagerAfterContent
}}
{{ExtensionConfigBody
|name = $bsgBookshelfMainLinksBookshelf
|defaultValue = <nowiki>true</nowiki>
|overrideBy = $bsgOverrideBookshelfMainLinksBookshelf
}}
{{ExtensionConfigClose}}

Version vom 7. Dezember 2021, 10:53 Uhr

DescriptionMsg

Ermöglicht das Zusammenstellen von hierarchisch gegliederten Artikelsammlungen.

License

GPL v3

Requirements

  • MediaWiki: 1.35.0
  • BlueSpiceFoundation: 4.0

IntegratesInto

  • BlueSpiceBookshelf

SpecialPages

  • Bookshelf
  • BookshelfBookEditor
  • BookshelfBookManager

Permissions

Rechte

Name Beschreibung Rollen
bookshelf-viewspecialpage Zugriff auf die Spezialseite Bücherregal reader
bookshelfbookmanager-viewspecialpage Zugriff auf die Spezialseite Bücherverwaltung reader

DefaultUserOptions

Benutzeroptionen

Name Wert
bs-bookshelf-defaultview 'gridviewpanel'

Config

Konfiguration

Name Wert
BookShelfDefaultCoverImage 'resources/images/assets/coverimage/dummy.png'
BookShelfShowChapterNavigationPagerAfterContent false
BookShelfShowChapterNavigationPagerBeforeContent false
BookshelfPrependPageTOCNumbers true
BookshelfSupressBookNS true
BookshelfTitleDisplayText true

ApiModules

API Modules

  • bs-bookshelf-bookstore
  • bs-bookshelf-manage
  • bs-bookshelf-mass-add-page-store
  • bs-bookshelf-page-collection-store
  • bs-bookshelf-store

Hooks

Hooks