Last edited 5 months ago
by Robert Vogel

AutoDoc:BlueSpiceBookshelf: Difference between revisions

m (1 revision imported)
m (1 revision imported)
 
(7 intermediate revisions by 5 users not shown)
Line 13: Line 13:
|mediawiki = {{AutoDocVersion
|mediawiki = {{AutoDocVersion
|name = MediaWiki
|name = MediaWiki
|version = 1.35.0
|version = 1.39.0
}}
}}
|extensions = {{AutoDocVersion
|extensions = {{AutoDocVersion
|name = BlueSpiceFoundation
|name = BlueSpiceFoundation
|version = 4.0
|version = 4.3
}}
{{AutoDocVersion
|name = MenuEditor
|version = 2.0.0
}}
{{AutoDocVersion
|name = VueJsPlus
|version = 1.0.0
}}
}}
}}
}}
Line 24: Line 32:
|into = {{AutoDocListItem
|into = {{AutoDocListItem
|item = BlueSpiceBookshelf
|item = BlueSpiceBookshelf
}}
{{AutoDocListItem
|item = BlueSpiceExtendedSearch
}}
{{AutoDocListItem
|item = BlueSpiceVisualEditorConnector
}}
{{AutoDocListItem
|item = ContentDroplets
}}
{{AutoDocListItem
|item = MWStakeContentProvisioner
}}
{{AutoDocListItem
|item = MenuEditor
}}
{{AutoDocListItem
|item = Notifications
}}
}}
}}
}}
Line 29: Line 55:
{{AutoDocSpecialPages
{{AutoDocSpecialPages
|SpecialPages = {{AutoDocCallback
|SpecialPages = {{AutoDocCallback
|name = Bookshelf
|name = Books
|callback = \BlueSpice\Bookshelf\Special\Bookshelf
|callback = \BlueSpice\Bookshelf\Special\Books
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = BookshelfBookEditor
|name = BookshelfBookEditor
|callback = \BlueSpice\Bookshelf\Special\BookshelfBookEditor
|callback = \BlueSpice\Bookshelf\Special\BookshelfBookEditor
}}
{{AutoDocCallback
|name = BookshelfBookManager
|callback = \BlueSpice\Bookshelf\Special\BookshelfBookManager
}}
}}
}}
}}
Line 78: Line 100:
|name = BookShelfShowChapterNavigationPagerBeforeContent
|name = BookShelfShowChapterNavigationPagerBeforeContent
|value = <nowiki>false</nowiki>
|value = <nowiki>false</nowiki>
}}
{{AutoDocOption
|name = BookshelfMainLinksBookshelf
|value = <nowiki>true</nowiki>
}}
}}
{{AutoDocOption
{{AutoDocOption
Line 90: Line 116:
|name = BookshelfTitleDisplayText
|name = BookshelfTitleDisplayText
|value = <nowiki>true</nowiki>
|value = <nowiki>true</nowiki>
}}
{{AutoDocOption
|name = BookshelfToolbarOffset
|value = <nowiki>153</nowiki>
}}
}}
}}
}}
Line 95: Line 125:
{{AutoDocApiModules
{{AutoDocApiModules
|APIModules = {{AutoDocCallback
|APIModules = {{AutoDocCallback
|name = bs-book-chapters-store
|callback = BlueSpice\Bookshelf\Api\Store\ApiBookChaptersStore
}}
{{AutoDocCallback
|name = bs-books-overview-store
|callback = BlueSpice\Bookshelf\Api\Store\ApiBooksOverviewStore
}}
{{AutoDocCallback
|name = bs-bookshelf-bookstore
|name = bs-bookshelf-bookstore
|callback = ApiBookshelfBookStore
|callback = ApiBookshelfBookStore
Line 120: Line 158:
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSBookshelfGetBookData BSBookshelfGetBookData]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSBookshelfGetBookData BSBookshelfGetBookData]
|callback = \BlueSpice\Bookshelf\Hook\BSBookshelfGetBookData\RunLegacyHook::callback
|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
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFAfterFindFiles BSUEModulePDFAfterFindFiles]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFAfterFindFiles BSUEModulePDFAfterFindFiles]
|callback = \BlueSpice\Bookshelf\Hook\BSUEModulePDFAfterFindFiles\AddAttachments::callback
|callback = ue-module-pdf
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFbeforeGetPage BSUEModulePDFbeforeGetPage]
|callback = \BlueSpice\Bookshelf\Hook\BSUEModulePDFbeforeGetPage\AdaptPageTitle::callback
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFcollectMetaData BSUEModulePDFcollectMetaData]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFcollectMetaData BSUEModulePDFcollectMetaData]
|callback = \BlueSpice\Bookshelf\Hook\BSUEModulePDFcollectMetaData\SupressBookNS::callback, \BlueSpice\Bookshelf\Hook\BSUEModulePDFcollectMetaData\AddBookMeta::callback
|callback = ue-module-pdf
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFgetPage BSUEModulePDFgetPage]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUEModulePDFgetPage BSUEModulePDFgetPage]
|callback = \BlueSpice\Bookshelf\Hook\BSUEModulePDFgetPage\ModifyForExport::callback
|callback = ue-module-pdf
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay BeforePageDisplay]
|callback = \BlueSpice\Bookshelf\Hook\BeforePageDisplay\AddResources::callback
|callback = \BlueSpice\Bookshelf\Hook\BeforePageDisplay\AddResources::callback, add-chapter-number-to-title-and-headings
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BlueSpiceDiscoveryTemplateDataProviderAfterInit BlueSpiceDiscoveryTemplateDataProviderAfterInit]
|callback = discovery-skin
|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
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ContentHandlerDefaultModelFor ContentHandlerDefaultModelFor]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ContentHandlerDefaultModelFor ContentHandlerDefaultModelFor]
|callback = BlueSpice\Bookshelf\Hook\ContentHandlerDefaultModelFor\GetBookContentHandler::callback
|callback = book-content-default-mode
}}
}}
{{AutoDocCallback
{{AutoDocCallback
Line 163: Line 189:
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates LoadExtensionSchemaUpdates]
|callback = BlueSpice\Bookshelf\Hook\LoadExtensionSchemaUpdates\AddConvertContentModel::callback
|callback = BlueSpice\Bookshelf\Hook\LoadExtensionSchemaUpdates\AddConvertContentModel::callback, BlueSpice\Bookshelf\Hook\LoadExtensionSchemaUpdates\AddBooksTable::callback, BlueSpice\Bookshelf\Hook\LoadExtensionSchemaUpdates\AddBookChaptersTable::callback, BlueSpice\Bookshelf\Hook\LoadExtensionSchemaUpdates\AddBookMetaTable::callback, migrateBooks
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents]
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MWStakeCommonUIRegisterSkinSlotComponents MWStakeCommonUIRegisterSkinSlotComponents]
|callback = common-user-interface
|callback = common-user-interface
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MediaWikiServices MediaWikiServices]
|callback = book-content-default-mode
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/MultiContentSave MultiContentSave]
|callback = book-source-actions
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/NumberHeadingsBeforeApply NumberHeadingsBeforeApply]
|callback = add-chapter-number-to-title-and-headings
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/OutputPageBeforeHTML OutputPageBeforeHTML]
|callback = add-chapter-number-to-title-and-headings
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageDeleteComplete PageDeleteComplete]
|callback = book-source-actions
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageMoveComplete PageMoveComplete]
|callback = book-source-actions, updateChapter
}}
}}
{{AutoDocCallback
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateNavigation::Universal SkinTemplateNavigation::Universal]
|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
|callback = addAddToBookEntry, addEditBook, addNewBook
}}
}}
}}
}}



Latest revision as of 14:50, 10 July 2024

DescriptionMsg

Enables BlueSpice to manage and export hierarchical collections of articles.

License

GPL-3.0-only

Requirements

  • MediaWiki: 1.39.0
  • BlueSpiceFoundation: 4.3

MenuEditor: 2.0.0 VueJsPlus: 1.0.0

IntegratesInto

  • BlueSpiceBookshelf
  • BlueSpiceExtendedSearch
  • BlueSpiceVisualEditorConnector
  • ContentDroplets
  • MWStakeContentProvisioner
  • MenuEditor
  • Notifications

SpecialPages

  • Books
  • BookshelfBookEditor

Permissions

Permissions

Name Description Role
bookshelf-viewspecialpage Access the special page Special:Bookshelf reader
bookshelfbookmanager-viewspecialpage Access the special page Special:BookshelfBookManager reader

DefaultUserOptions

User options

Name Value
bs-bookshelf-defaultview 'gridviewpanel'

Config

Configuration

Name Value
BookShelfDefaultCoverImage 'resources/images/assets/coverimage/dummy.png'
BookShelfShowChapterNavigationPagerAfterContent false
BookShelfShowChapterNavigationPagerBeforeContent false
BookshelfMainLinksBookshelf true
BookshelfPrependPageTOCNumbers true
BookshelfSupressBookNS true
BookshelfTitleDisplayText true
BookshelfToolbarOffset 153

ApiModules

API Modules

  • bs-book-chapters-store
  • bs-books-overview-store
  • bs-bookshelf-bookstore
  • bs-bookshelf-manage
  • bs-bookshelf-mass-add-page-store
  • bs-bookshelf-page-collection-store
  • bs-bookshelf-store

Hooks

Hooks