Manual:Extension/BlueSpiceNamespaceCSS and Archive:Reference:BlueSpiceSocialWikiPage: Difference between pages

(Difference between pages)
No edit summary
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
{{DISPLAYTITLE:Namespace CSS manager}}
{{BSExtensionInfo
{{Messagebox|boxtype=note|Note text=This extension is no longer included starting at BlueSpice v. 4.2. Namespace-specific styling can be applied via MediaWiki:Common.css. See  [[Manual:Extension/BlueSpiceNamespaceCSS#BlueSpice 4.2+|BlueSpice 4.2+]] for more info.}}
|status=stable
 
|developer=HalloWelt
==Creating the styles for a namespace==
|type=BlueSpice
 
|edition=BlueSpice pro, BlueSpice Farm, BlueSpice Cloud
The link ''Namesapce-CSS Manager'' in the menu ''Global actions > Management'' opens the page ''Special:NamespaceCSSManager''. This page lists all namespaces and the link to their associated CSS page.
|compatible=BlueSpice
<br />
|category=Communication
[[File:Mediawiki Extension NamespaceCss.png|alt=Namespace-CSS Manager|center|thumb|650x650px|Namespace-CSS Manager]]
|features=
 
{{BSVersion|bsvFrom=|bsvTo=4.1|bsvFeature=Replaced by the ''attachments''-Tag and}}
 
'''SocialWikiPage''' provides the SocialEntity types ''wikipage'' and ''stash''.
To add or overwrite the styles for a namesapce:
{{Messagebox|boxtype=warning|Note text=Pages in the namespaces ''SocialEntity'' and ''User'' are  indexed by search engines by default until version 3.1.13. If you run a public wiki with an earlier version, you should [https://www.mediawiki.org/wiki/Help:Controlling_search_engine_indexing exclude these namespaces from being searchable] unless you want these pages to be indexed by public search engines.}}
 
*At the end of each content page, a  list of the attachments to the current page is displayed
#'''Click''' on the source page link for the namespace.
*A social entity of type ''wikipage'' is automatically created in the system for each content page.
#'''Enter''' your CSS-code directly in this page. Example: ''MediaWiki:User_css'' affects all pages in the namespace ''User''.
*The page ''Special:Attachments'' allows you to create an attachment without going directly to the associated wiki page.}}
#'''Save''' the page and review your changes on the pages in the affected namespace.
===Entry fields for dialogs===
 
{| class="reference wikitable"
== BlueSpice 4.2+ ==
!Name
To apply specific styling to a namespace, you have to apply it directly in the page ''MediaWiki:Common.css''.
!Description
 
!Type
For example, to apply a different navigation background color to the namespace Manual:
!Default value
 
|-
# Go to the [[Manual:Extension/BlueSpiceNamespaceManager|Namespace manager]] page, to find the id of the namespace:
|text
# Go to  ''MediaWiki:Common.css'' and add the namespace id as a css class to your style:  <br />
|Content of the SocialEntity vof type ''stash''
 
|wikitext, managed OOjs-ui, InsertImage
<syntaxhighlight lang="text">
|empty
.ns-3002 #sb-pri-cnt {background: #A9DFBF} /* give the namespace 3002 a green navigation background*/
|}
</syntaxhighlight>
===Behavior switch===
{{Box Links-en|Topic1=[[Reference:BlueSpiceNamespaceCSS]]|Topic3=https://www.mediawiki.org/wiki/Help:Namespaces|Topic2=[[Reference:BlueSpiceNamespaceManager]]}}
{| class="reference wikitable"
[[en:{{PAGENAME}}]]
!Name
[[de:Handbuch:Erweiterung/BlueSpiceNamespaceCSS]]
!Description
__FORCETOC__
|-
[[Category:Customization]]
|<nowiki>__NOSTASH__</nowiki>
[[Category:CSS]]
|Attachments for the page are not displayed on the page
|}
=== BlueSpice 4.2+ ===
Starting with BlueSpice 4.2, the ''attachments''-tag is available to [[Attachments|display uploaded files in the page content]].

Revision as of 13:39, 26 July 2022

Extension: Reference:BlueSpiceSocialWikiPage

all extensions

Overview
Description:
State: stable Dependency: BlueSpice
Developer: HalloWelt License: [[]]
Type: BlueSpice Category: Communication
Edition: BlueSpice pro, BlueSpice Farm, BlueSpice Cloud Version: 4.1+

Features

Replaced by the attachments-Tag and is available up to BlueSpice 4.1.

SocialWikiPage provides the SocialEntity types wikipage and stash.

Warning!Pages in the namespaces SocialEntity and User are indexed by search engines by default until version 3.1.13. If you run a public wiki with an earlier version, you should exclude these namespaces from being searchable unless you want these pages to be indexed by public search engines.
  • At the end of each content page, a list of the attachments to the current page is displayed
  • A social entity of type wikipage is automatically created in the system for each content page.
  • The page Special:Attachments allows you to create an attachment without going directly to the associated wiki page.

Technical Information

This information applies to BlueSpice 4. Technical details for BlueSpice Cloud can differ in some cases.

Requirements

Integrates into

Special pages

Entry fields for dialogs

Name Description Type Default value
text Content of the SocialEntity vof type stash wikitext, managed OOjs-ui, InsertImage empty

Behavior switch

Name Description
__NOSTASH__ Attachments for the page are not displayed on the page

BlueSpice 4.2+

Starting with BlueSpice 4.2, the attachments-tag is available to display uploaded files in the page content.



To submit feedback about this documentation, visit our community forum.

Discussions