BlueSpicePageTemplates

Revision as of 14:03, 5 July 2021 by Mlink-rodrigue (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Extension: BlueSpicePageTemplates


Overview
Description: Displays a list of templates marked as page templates
State: stable Dependency: BlueSpice
Developer: HalloWelt License:

GPL-3.0-onlyProperty "BSExtensionInfoLicense" (as page type) with input value "</br>GPL-3.0-only" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

Type: BlueSpice Category: Content Structuring
Edition: BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud

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 3 . Technical details for BlueSpice cloud can differ in some cases.

Requirements

  • MediaWiki: 1.31
  • BlueSpiceFoundation: 3.2

Integrates into

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-pagetemplates-store
  • bs-pagetemplates-tasks

Hooks

Attachments

Discussions