Extension:PageTemplates
Appearance
| This extension is mainly supported in an external venue: BlueSpice Community Forum. If you need help, you should post there, and not on the talk page. |
PageTemplates allows users to select from predefined content structures (e.g., directory, layout, content elements) when creating a new page.
Usage / features
[edit]- Create a template with pre-defined content elements (headers, categories, boxes, etc.) in the template namespace.
- Create a page template using the special page PageTemplatesAdmin to give the page template a name and a description.
- Each page template is linked to an existing template in the namespace Templates.
- Page templates can be assigned to namespaces so that the template is only available in those namespaces.
- The page template selection is shown during page creation.
See also
[edit]
Installation
[edit]- Add the repo url (https://github.com/wikimedia/mediawiki-extensions-BlueSpicePageTemplates
.git) as a "vcs repository" and the package name (mediawiki/BlueSpicePageTemplates) and version to the require section of your composer.local.json. Example:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/wikimedia/mediawiki-extensions-BlueSpicePageTemplates .git" } ], "require": { "mediawiki/BlueSpicePageTemplates": "BlueSpicePageTemplates" } }
- Run the following command in your MediaWiki installation path
composer update --no-dev
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'BlueSpicePageTemplates' );
Done Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
External Links
[edit]Categories:
- Stable extensions
- Extensions with invalid or missing type
- BSApiNamespaceStoreMakeData extensions
- BSUsageTrackerRegisterCollectors extensions
- BeforePageDisplay extensions
- HtmlPageLinkRendererBegin extensions
- LoadExtensionSchemaUpdates extensions
- MWStakeCommonUIRegisterSkinSlotComponents extensions
- MediaWikiPerformAction extensions
- MessagesPreLoad extensions
- NamespaceManager::editNamespace extensions
- NamespaceManager::getMetaFields extensions
- NamespaceManagerBeforePersistSettings extensions
- NamespaceManagerCollectNamespaceProperties extensions
- SkinTemplateNavigation::Universal extensions
- GPL licensed extensions
- Extensions in Wikimedia version control
- All extensions
- Extensions by HalloWelt
- BlueSpice

