hw>Mlink-rodrigue No edit summary |
m (1 revision imported) |
Revision as of 11:34, 20 December 2021
Extension: BlueSpicePageTemplates
Overview | |||
---|---|---|---|
Description: |
Displays a list of templates marked as page templates | ||
State: | stable | Dependency: | BlueSpice |
Developer: | HalloWelt | License: | GPL-3.0-only |
Type: | BlueSpice | Category: | Content Structuring |
Edition: | BlueSpice free, BlueSpice pro, BlueSpice Farm"BlueSpice Farm" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpice Cloud"BlueSpice Cloud" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. | Version: | 4.1+ |
Features
BlueSpicePageTemplates allows users to create new pages from predefined templates to start with a basic page structure.
- Create a template (with headers, categories, boxes and other content) in the template namespace.
- Create a page template using the special page Special_PageTemplatesAdmin give the page template a name and a description.
- Each template should be assigned a template from the "Template" namespace that represents the structure of a document.
- Page templates can be assigned to a particular namespace, so that a certain template will only appear when creating pages in that namespace.
- The page template is shown as a choice when a new page is created.
Some aspects of this extension can be configured on the page Special:BlueSpiceConfigManager, under "Page templates". Here, wiki administrators can:
- Force a target namespace for the page that was created from the template
- Hide default templates
Technical Information
This information applies to BlueSpice 4. Technical details for BlueSpice cloud can differ in some cases.
Requirements
- MediaWiki: 1.39.0
- BlueSpiceFoundation: 4.3
Integrates into
- MWStakeContentProvisioner
Special pages
- PageTemplatesAdmin
Permissions
Name | Description | Role |
---|---|---|
pagetemplatesadmin-viewspecialpage | Access to the Special:PageTemplatesAdmin special page, where page templates can be managed | admin, maintenanceadmin, structuremanager |
Configuration
Name | Value |
---|---|
PageTemplatesExcludeNs | array ( 0 => -2, 1 => -1, 2 => 6, 3 => 7, 4 => 8, 5 => 9, 6 => 10, 7 => 11, 8 => 14, 9 => 15, ) |
PageTemplatesForceNamespace | false |
PageTemplatesHideDefaults | false |
PageTemplatesHideIfNotInTargetNs | true |
API Modules
- bs-pagetemplate-tags-store
- bs-pagetemplates-store
- bs-pagetemplates-tasks
Hooks
- BSApiNamespaceStoreMakeData
- BSUEModulePDFBeforeAddingStyleBlocks
- BSUsageTrackerRegisterCollectors
- BeforePageDisplay
- HtmlPageLinkRendererBegin
- LoadExtensionSchemaUpdates
- MWStakeCommonUIRegisterSkinSlotComponents
- MediaWikiPerformAction
- MessagesPreLoad
- NamespaceManager::editNamespace
- NamespaceManager::getMetaFields
- NamespaceManagerBeforePersistSettings
- SkinTemplateNavigation::Universal