Manual:Extension/BlueSpiceConfigManager and Manual:Extension/BlueSpiceSocialBlog: Difference between pages

(Difference between pages)
No edit summary
Tag: 2017 source edit
 
No edit summary
 
Line 1: Line 1:
<bookshelf src="Book:Admin manual" />
{{DISPLAYTITLE:Blog}}
{{DISPLAYTITLE:Config manager}}
__TOC__


With the Config manager, a wiki user with ''sysop'' rights can manage wiki-wide settings in one place. In the [[Manual:Extension/BlueSpiceDiscovery/Main navigation|navigation]], it is located at ''Global navigation > Management > Configuration''.  This link loads the page ''Special:ConfigManager.''
The extension ''BlueSpiceSocialBlog'' is part of ''BlueSpiceSocial'', the communications module of BlueSpice. In addition to the type blog, there are other types of so-called social entities, such as ''comment'', ''discussion topic'', ''attachment'', or ''microblog''.


==Layout==
==About the blog==
Basically, a blog is a list of comments, questions, or feedback from different users. The blog is often sorted chronologically.  Lively communication can arise when blog entries are further commented, recommended, linked with related articles, or placed on a personal watchlist.
The blog is ready to use on the special page ''Special:Blog''. This page is linked directly from the main navigation in every new wiki installation. So you can start using the blog right away.
[[File:nav-blog.png|alt=Navigation link to the blog page|center|thumb|202x202px|Navigation link to the blog page]]


===Filter options===
== Characteristics and features ==
All settings can be accessed through the following filter options:


*'''Feature:''' group by type of functionality the setting belongs to (search, administration...)
* A blog entry consists of a title and content.
*'''Extension:''' group by extension name
*'''Package:''' group by BlueSpice edition and services (BlueSpice free, BlueSpice pro, Matomo)<br />
[[File:Manual:ConfigManager2a.png|alt=config manager filters|center|thumb|401x401px|config manager filter]]


* '''Comments:''' Users can leave comments to each blog entry.


All settings are available in any type of grouping. Changing the grouping type does not add or remove setting options. It just groups them differently. After settings are adjusted, they can be saved by clicking ''Save'', or cancelled by clicking ''Reset''.
* '''Actions:'''
** '''Delete:''' Editors can delete their own posts. Administrators can delete all posts. Deleted posts are no longer displayed. Exception: Administrators see deleted items with a red background and can restore them.
** '''Recommend:''' Blog posts can be recommended. It is possible to generate a list of posts with the most recommendations via the timeline filter. (See: Embedding the blog on a page)
** '''Linked page:''' Every blog entry is connected to a wiki page by the system. By default, this is the main page of the wiki. However, other pages can be added as "Linked page". Blog entries can then be filtered for linked pages via the ''Special:Timeline'' page.
** '''Watch:''' Own blog posts and comments are automatically added to the watch list.
* '''Permissions:''' It is possible to allow users with read permissions on the wiki to comment on blog entries. See: [[Manual:Extension/BlueSpiceSocial#Permissions|BlueSpiceSocial Permissions]].


{{Messagebox|boxtype=note|Note text=If a server administrator has configured a setting to no longer be writable, it will be shown as greyed-out in the config manager. You will have to talk to your server administrator about changing such a setting.}}
==Adding the blog to a page==
It is also possible to include the blog functionality on any wiki page. Social contributions of many types can be consolidated and displayed chronologically in a timeline and filtered and sorted as needed.


===Searching for settings===
=== All blog entries ===
A search bar is located above the list of settings. Type in a keyword such as "logo" to find the corresponding setting. The search returns settings regardless of the currently selected group. {{Messagebox|boxtype=note|Note text=The search field has to be empty if you want to see the filter menu instead of the search.}}<br />
If you want to include a view of your blog on another page of your wiki, for example your homepage, you need to insert the necessary codeblock in the source code of your page.
[[File:Manual:configmanager-search.png|alt=Config manager search box|center|thumb|400x400px|Config manager search box]]


==Settings by extension==
'''To include a blog view:'''


=== EventBus ===
#'''Go to''' the page where you want to insert the blog or create a new page.
Eventbus sends notifications to external urls in case something happens in the wiki. For example, if a page is created, an external service could then be started and create a pdf of that page. See the extension's page on [[mediawikiwiki:Extension:EventBus|mediawiki.org]].
#'''Open the page'''  in ''Source editing'' mode.
#'''Copy the following code block''' to the section in your page where you want to show the blog.<syntaxhighlight lang="html">


===BlueSpiceFoundation===
<bs:timeline>
{
    "showentitylistmenu": true,
    "preloadtitles": {
        "blog": "Template:Blog"
    },
    "preloadedentities": [{
        "type": "blog"
    }],
    "headlinemessagekey": "Community-Blog",
      "showheadline": true,
    "usemorescroll": false,
    "morelink": "Special:Blog",
    "limit": 5,
    "sort": [ {
        "property": "timestampcreated",
        "direction": "DESC"
    }],
    "lockedfilternames": [
        "type"
    ],
    "filter": [ {
        "type": "list",
        "property": "type",
        "value": [ "blog" ],
        "comparison": "ct"
    }]
}
</bs:timeline>
</syntaxhighlight>After saving the page, you will see a list of existing blog entries based on the filter and sorting criteria you provided.


====Updating logo and favicon====
=== Blog entries of a linked page ===
{{Messagebox|boxtype=note|icon=|Note text=Since BlueSpice 4.2, the logo and favicon can also be managed via the page [[Manual:Extension/FlexiSkin|Special:Flexiskin]] together with further skin customizations.|bgcolor=}}
If you want to create a blog that only displays the posts of the blog posts created on this page, copy the following timeline tag. Here, under the preloadedentities, new blog entries are already linked to the page and filtered. Replace Blog1 under preloadedentities and in the filter section with the appropriate page name:<syntaxhighlight lang="json">
*'''Logo path:''' The logo image should be stored in the /images folder of your installation. If you store it in the /skins folder of your BlueSpice installation, it could be overwritten with an upgrade.
<bs:timeline>
{
    "showentitylistmenu": true,
    "preloadtitles": {
        "blog": "Vorlage:Blog"
    },
      "preloadedentities": [{
        "type": "blog",
        "tags":["Blog1"]
    }],
    "headlinemessagekey": "Community-Blog",
      "showheadline": true,
    "usemorescroll": false,
    "morelink": "Special:Blog",
    "limit": 5,
    "sort": [ {
        "property": "timestampcreated",
        "direction": "DESC"
    }],
    "lockedfilternames": [
        "type"
    ],
"filter": [ {
      "property": "type",
      "value": ["blog"],
      "comparison": "ct",
      "type": "list"},
      {
      "property": "tags",
      "value": ["Blog1"],
      "comparison": "ct",
      "type": "list" },
      {
      "property":"archived",
      "value":false,
      "type":"boolean",
      "comparison":"eq"}
  ]


'''To upload the logo directly in the wiki:'''
}
 
</bs:timeline>        
#'''Upload''' the logo on the page ''Extended file list'' (''Special:ExtendedFilelist''). This is a link under the ''Global actions'' navigation.
#'''Search''' for the logo name in the extended file list.
#'''Click''' on the thumbnail image of the logo. This opens the logo on a separate page.<br />[[File:Manual:config-logo1.png|link=https://en.wiki.bluespice.com/wiki/File:Manual:config-logo1.png|alt=logo thumbnail image|center|thumb|280x280px|logo thumbnail image]]
#'''Copy''' the relative logo path from the address bar.In a typical Wiki configuration, this path starts with ''/w/....'' .<br />[[File:Manual:config-logo2.png|alt=relative image path|center|thumb|450x450px|relative image path]]
#'''Paste''' the logo path into the text field for the logo.<br />[[File:Manual:config-logo3.png|link=https://en.wiki.bluespice.com/wiki/File:Manual:config-logo3.png|alt=logo path|center|thumb|450x450px|logo path]]
#'''Click''' ''Save''.
#'''Refresh''' the page (Strg+F5). <br />If the uploaded logo is too large, you can add the following code snippet to the page ''MediaWiki:Common.css''. This automatically adjusts the image to the height of the main toolbar:<syntaxhighlight lang="css">
.bs-logo a {background-size: contain;}
</syntaxhighlight>
</syntaxhighlight>


*'''Favicon path:''' The favicon image should be stored in the ''/images'' folder of your installation. If you store it in the /skins folder of your BlueSpice installation, it could be overwritten with an upgrade. [https://de.wikipedia.org/wiki/Favicon Favicon images] have the file extension ''.ico''.
==Blog parameters==


====System====
===Output format===
The following table shows the blog elements and the necessary paramaters to create the output.
[[File:blog-layout-en.png|alt=Blog output|center|thumb|750x750px|Blog output]]
{| class="wikitable" style=""
|+
! style="width:90px;" |Element
! style="width:150px;" |Parameters
!Parameter and element description
! style="width:80px;" |Type
! style="width:80px;" |Default value
|-
| rowspan="2" style="width:90px;" |1 - header
| style="width:150px;" |headlinemessagekey
|Header text
| style="width:80px;" |string
| style="width:80px;" |''Timeline''
|-
| style="width:150px;" |showheadline
|Show the header text
| style="width:80px;" |boolean
| style="width:80px;" |''true''
|-
| rowspan="7" style="width:90px;" |2 - blog menu
| style="width:150px;" |showentitylistmenu
|Show or hide the blog menu
| style="width:80px;" |boolean
| style="width:80px;" |''true''
|-
| style="width:150px;" |showentityspawner
|Show the  menu item for creating a blog entry
| style="width:80px;" |boolean
| style="width:80px;" |''true''
|-
| style="width:150px;" |availablesorterfields
|Determines which data fields are included as sorting options in the sort menu. Example: allow sorting only by date created or by the user who created a blog entry:
<code>"availablesorterfields":["timestampcreated","ownerid"]</code>


*'''Allowed file extensions:''' For security reasons, the types of files that users can upload are restricted. Here, you can allow additional file formats. If a file format is blacklisted in the server configuration, adding this file extension here will not allow this file type to be uploaded. See [https://mediawiki.org/wiki/Manual:Page_title mediawiki.org/wiki/Manual:Page_title] for more info.
[[File:Manual:blog-filter-timestampcreated.png|350x350px]]


*'''Allowed image extensions:''' The standard web image types are listed here. In general, you want to restrict image uploads to web images. See [https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types] for more on browser-supported image types.
[[Manual:Extension/BlueSpiceSocialBlog#Sor|List of typical sort fields]]
| style="width:80px;" |array
| style="width:80px;" |all
|-
| style="width:150px;" |lockedoptionnames
|Determines which settings for sorting the user cannot change.
| style="width:80px;" |array
| style="width:80px;" |[]
|-
| style="width:150px;" |availablefilterfields
|Determines which data fields are included as filter options in the filter menu. Example: allow filtering based on Creation date and Linked pages:
<code>"availablefilterfields":["timestampcreated","tags"]</code>


===BlueSpiceArticleInfo===
[[File:Manual:blog-filter-availablefilterfields.PNG|350x350px|]]
''BlueSpiceArticleInfo'', together with ''[[Manual:Extension/BlueSpiceAuthors|BlueSpiceAuthors]], [[Manual:Extension/BlueSpiceReaders|BlueSpiceReaders]], and [[Manual:Extension/BlueSpiceExtendedSearch|BlueSpiceExtendedSearch]]'' is part of the ''Page information'' in the quality management tools.
| style="width:80px;" |array
| style="width:80px;" |all
|-
| style="width:150px;" |lockedfilternames
|Determines which settings for filtering the user cannot change.
Example: a user cannot change the filter values for ''Linked pages.'' The text field is greyed out:


*'''Update interval in seconds:''' Sets the refresh rate for the "Last edit" value. By default, this date is updated every 10 seconds via JavaScript.
<code>"lockedfilternames": ["tags"]</code>
[[File:Manual:ArticleInfo.png|link=link=Special:FilePath/ArticleInfo3.jpg|alt=|center|thumb|374x374px|article info]]


===BlueSpiceAuthors===
[[File:Manual:blog-filter-lockedfilternames.png|350x350pxg|alt=|350x350px]]
''BlueSpiceAuthors,'' together with ''[[Manual:Extension/BlueSpiceArticleInfo|BlueSpiceArticleInfo]]'' and ''BlueSpiceReaders'', is part of the ''Page information'' in the quality management tools.
<span /><span /><span /><span /><span /><span /><span /><br />
| style="width:80px;" |array
| style="width:80px;" |[]
|-
| style="width:150px;" |persistsettings
|Initial settings and custom sort and filter settings are included in the page url. The url can then be used to create a link to the page with the same filter and sort settings.
<code>"persistsettings":true</code>


*'''Display authors:''' Show or hide authors on the page information page.
[[File:Manual:blog-filter-persistsettings.png|alt=|300x300px]]
[[File:Manual:PageInformation Authors.png|alt=|center|page=authors in page information|thumb|332x332px|Authors of page]]
| style="width:80px;" |boolean
| style="width:80px;" |''false''
|-
| style="width:90px;" |3 -  new blog entry
| style="width:150px;" |preloadentities<span /><span /><span /><span /><span /><span /><span /><br />
|Shows the text field for creating a new blog entry. If it is not set, the text field is not available.
To show the text field:


===BlueSpiceAvatars===
<code>"preloadedentities": [{"type":"blog"}]</code>
[[File:Manual:configmanager-instantavatar.png|thumb|101x101px|InstantAvatar|link=Special:FilePath/Manual:configmanager-instantavatar.png]]
An avatar image is automatically generated if the user does not upload a profile picture or if the user decides to create an avatar image in the preferences.


*'''Generator'''
<span><span /><span /><span /><span /><span /><br /></span>
**'''InstantAvatar:''' Generates an avatar image based on using the initials of the Real name or the Username
If the wiki page that has a <code><nowiki><bs:timeline></nowiki></code> tag should only show its own blog entries, then all blog entries need to be automatically tagged with the current page name:
**'''[[wikipedia:Identicon|Identicon:]]''' Generates an avatar image based on parts of the user's IP address.<br />[[File:Manual:configmanager-identicon.png|alt=Identicon|center|thumb|500x500px|Identicon]]


===BlueSpiceBookshelf===
<code>"preloadedentities": [{</code>


*'''Show book chapter pager after content:''' Displays previous/next book page navigation at the end of each book page. (1)
<code>         "type": "blog",</code>
*'''Show book chapter pager before content:'''  Displays previous/next book page navigation at the beginning of each book page. (2) <br />[[File:Manual:book-pagenav.png|alt=Book navigation|center|thumb|450x450px|Book navigation ]]<br />
*'''Use the display title from book source on article:''' Shows the title from the book navigation as page title instead of the page name. <br />
[[File:Manual:bookdisplaytitle.png|alt=book display title|center|thumb|450x450px|book display title]]
{{Messagebox|boxtype=note|Note text=If the page additionally contains a <nowiki>{{DISPLAYTITLE}}</nowiki> tag, the display title of the page is shown instead of the book title.}}


*'''Prepend article table of contents and headlines with book numberation:''' The page TOC does not start with the main heading 1, but with the actual number from the book chapter (see screenshot). If users have activated in their [[Manual:Preferences#Advanced options|user preferences]] to "auto-number headings", the numbering system is matched accordingly. [[File:prepand TOC with book chapter.png|alt=Prepended chapter numbers|center|thumb|650x650px|Prepended chapter numbers]]
<code>         "tags":["Blog1"]</code>
*'''Supress namespace prefix of book articles in output:''' The namespace prefix of an article is not shown in PDFs.


===BlueSpiceChecklist===
<code>     }]</code>


*'''Mark checklist changes as minor edit:''' If this setting is active, changes to a checklist (for example, checking a checkbox) in view mode are logged as minor edits. If this setting is inactive, a change to the checklist is  recorded as a regular version in the page history.<br />[[File:Manual:configmanager-checklistminoredit.png|alt=minor edit|center|thumb|550x550px|minor edit]]
In the example above, <code>Blog1</code> is the associated page for all blog entries that are created on this page. The [[Manual:Extension/BlueSpiceSocialBlog#Filtering|blog filter]] <span>has to be adjusted accordingly to take the associated page into consideration.</span>
| style="width:80px;" |array of objects
| style="width:80px;" | -
|-
| rowspan="2" style="width:90px;" |4 - existing blog entry
| style="width:150px;" |outputtypes
|It defines the display format of the blog entry.


===BlueSpiceExtendedSearch===
Standard types are: ''List, Short, Default, Page.'' ([[Manual:Extension/BlueSpiceSocialBlog#Output type examples|see examples]])
 
*'''External file paths''': External locations to scan for and index files from. These locations are entered in key/value pairs of Physical path and URL prefix.
**''Physical path: S''torage path. For mounted drives, for example: ''X:\Documents''
**''URL prefix:'' All files indexed from the indexed physical location are prefixed in the search results. It should be used if files are available from a web server. By default, the URL prefix is set to the same value as ''Physical path''.


Each blog entry is a "social entity".
| style="width:80px;" |object
| style="width:80px;" |''Default''
|-
| style="width:150px;" |limit
|Defines how many social entities are loaded initially.
| style="width:80px;" |object
| style="width:80px;" |''Default''
|-
| style="width:90px;" |4a - avatar
| style="width:150px;" |<nowiki>-</nowiki>
|Shows the avatar of the user who created the blog entry or comment. It is displayed in all output types except ''List.''
| style="width:80px;" |<nowiki>-</nowiki>
| style="width:80px;" |<nowiki>-</nowiki>
|-
| style="width:90px;" |4b - info area
| style="width:150px;" |<nowiki>-</nowiki>
|Link to the comments and "last edit" info.
| style="width:80px;" |<nowiki>-</nowiki>
| style="width:80px;" |<nowiki>-</nowiki>
|-
| style="width:90px;" |4c - blog entry content
| style="width:150px;" |<nowiki>-</nowiki>
|Shows the text body of a blog entry. The output type ''Default'' collapses the blog entry content after the first paragraph with a "More" link.
| style="width:80px;" |<nowiki>-</nowiki>
| style="width:80px;" |<nowiki>-</nowiki>
|-
| style="width:90px;" |4d - actiion menu
| style="width:150px;" |<nowiki>-</nowiki>
|Actions: ''edit, delete, recommend, Linked page, watch''
[[File:Manual:blog-editmenu.png|200x200px]]
| style="width:80px;" |<nowiki>-</nowiki>
| style="width:80px;" |<nowiki>-</nowiki>
|-
| style="width:90px;" | 5 - new comment
| style="width:150px;" |<nowiki>-</nowiki>
|Text field for creating a new comment.
| style="width:80px;" |<nowiki>-</nowiki>
| style="width:80px;" |<nowiki>-</nowiki>
|-
| style="width:90px;" |6 - existing comment
| style="width:150px;" |<nowiki>-</nowiki>
|Comments include the social tag ''Recommend.''


{| class="wikitable" style="width:100%;"
Each comment is a "social entity".
|+Examples for external file paths
| style="width:80px;" |<nowiki>-</nowiki>
!Example file
| style="width:80px;" |<nowiki>-</nowiki>
!Phys. Path
!URL Prefix
!Link in results list
|-
| rowspan="3" |S:\Sales\Info\glossaryy.pdf
| rowspan="3" |S:\
|<nowiki>file:///S:/</nowiki>
|<nowiki>file:///S:/Sales/Info/glossary.pdf</nowiki>
|-
|-
|<span class="mw-lingo-term" data-lingo-term-id="5e056c500a1c4b6a7110b50d807bade5" data-hasqtip="8">https</span>://sharepoint/Sales/
| rowspan="3" style="width:90px;" |7 - "more" button
documents/
| style="width:150px;" |morelink
|<span class="mw-lingo-term" data-lingo-term-id="5e056c500a1c4b6a7110b50d807bade5" data-hasqtip="9">https</span>://sharepoint/Sales/
|Link target of the "more" button. For blogs, it makes sense to link to the page ''Special:Blog''.
documents/Sales/Info/glossary.pdf
| style="width:80px;" |str
| style="width:80px;" |''Special:Timeline''
|-
|-
|<span class="mw-lingo-term" data-lingo-term-id="5e056c500a1c4b6a7110b50d807bade5" data-hasqtip="10">https</span>://intranet/showdocs
| style="width:150px;" |useendlessscroll
inline.aspx?path=
|More blog entries are automatically loaded after the user scrolls to the end of the blog.
|<span class="mw-lingo-term" data-lingo-term-id="5e056c500a1c4b6a7110b50d807bade5" data-hasqtip="11">https</span>://intranet/showdocsinline.aspx?
| style="width:80px;" |boolean
path=/Sales/Info/glossary.pdf
| style="width:80px;" |''true''
|-
|-
|/var/www/bluespice/w/mounted_
| style="width:150px;" |showentitylistmore
share/Sales/Info/glossary.pdf
| Shows a "more" button below the blog which loads more blog entries on click. This is only possible if ''useendlessscroll'' is set to ''false''.
|/var/www/bluespice/w/
| style="width:80px;" |boolean
mounted_share/
| style="width:80px;" |''false''
|
|<span class="mw-lingo-term" data-lingo-term-id="5e056c500a1c4b6a7110b50d807bade5" data-hasqtip="12">https</span>://wiki.company.local/w/mounted_
share/Sales/Info/glossary.pdf
|}
|}
[[File:Manual:configmanager-addfilepath.png|alt=Add an external file path|center|thumb|650x650px|Add an external file path: (1) confirm the checkmark and  (2) save the settings.]]
<br />


*'''Use simple autocomplete:''' forces a more compact autocomplete (1-column Sales thumbnail preview).<br />[[File:Manual:configuration-autocomplete-simple.1575886540740.png|alt=compact autocomplete|center|thumb|450x450px|compact autocomplete]][[File:Manual:configuration-autocomplete-regular.1575886496796.png|alt=regular autocomplete|center|thumb|450x450px|Salesautocompletey]]<br />
===Sorting===
*'''Automatically set language filter''': This setting applies to multi-languages. It returns search results for a user only in the user's language. Users can set their language in their [[Manual:Preferences|preferences]].
Most commonly, a blog shows the latest blog entries first. However, there are many different options for sorting the list of blog entries.
*'''Exclude patterns:''' Files at external file locations can be exluded from search based on regular expression patterns.


===BlueSpiceExtendedStatistics===
====Syntax====
<syntaxhighlight lang="json">
[{


*'''Exclude these users:''' Some user groups, like WikiSysop can skew the statistics, for example the statistics for search queries or because they complete automated maintenance tasks. These types of user groups can be excluded from the statistical results.
"property": "timestamptouched",
*'''Maximum number of interval steps:''' Sets the size of the x-axis for the results. For a few days, select the interval ''Day'' or ''Calendar Week'', for periods over one year, select ''Year'' or ''Month''. If you do not get any results for your query, try to adjust the interval accordingly.


===BlueSpiceInsertCategory===
"direction": "DESC"


*Insert category with its parent categories
}]
*Preset categories of a page in the upload dialog
</syntaxhighlight>


===BlueSpiceInsertLink===
====Properties====
There are some common properties of a blog entry that are useful for sorting:
{| class="wikitable" style=""
|+
!Property
!Description
|-
|timestampcreated
|creation date
|-
|timestamptouched
|last edit date
|-
|commentcount
|number of comments
|-
|ratingcount
|number of ratings
|-
|ownerid
| username of the creator of a blog entry
|-
|ownerrealname
|real name of the user
|}


*'''<span class="col-red">Allow unmapped links</span>'''
====Direction====
*'''<span class="col-red">Allowed locations for external files</span>'''
Blog entries can be sorted in descending and ascending order. Descending is the default order.
**<span class="col-red">Filesystem prefix</span>
{| class="wikitable" style=""
**<span class="col-red">Web accessible prefix:</span>
|+
!Property
! Description
|-
|DESC
|sorts the blog entries in descending order
|-
|ASC
|sorts the blog entries in ascending order
|}


===BlueSpicePageTemplates===
===Filtering ===
Without setting the filter parameter, there will be no output on the page.


*'''Force target namespace:''' The page is always created in the target namespace that is associated with the template, even if the user provided a different namespace prefix. In the screenshot below, the user wants to create the page "NewPage" and then selects a template for the QM namespace. The page is, therefore, created as "QM:NewPage" if this setting is activated. [[File:force namespace from template.png|alt=force the namespace of the template|center|thumb|650x650px|force the namespace of the template]]
To show the blog entries of your wiki, include the following codeblock like shown in the code example above:<syntaxhighlight lang="json-object">
"filter": [ {
        "type": "list",
        "property": "type",
        "value": [ "blog" ],
        "comparison": "ct"
    }]
</syntaxhighlight>This filter includes all social entities which match the type ''blog''. Since we only want to show social entities of type ''blog'', we only include ''blog'' entries in our filter.
If you want to create a social timeline rather than a blog view, you can also add other types of social entities. The following example shows a timeline view that includes blog entries, discussion entries from wiki pages, and user profile information:<syntaxhighlight lang="json-object">
"filter": [ {
        "type": "list",
        "property": "type",
        "value": ["blog","topic","profile"],
        "comparison": "ct"
    }]
</syntaxhighlight>


*'''Hide default templates:''' Hides the default ''Empty page'' template.
=== <span class="mw-headline">Filtering associated pages</span> ===
*'''Hide template if the page is not to be created in the target namespace:''' Depending on the namespace prefix of the page to be created, templates that are associated with other namespaces will not be shown to the user for selection.
Wenn ein eingebundenes Blog nur Beiträge zeigen soll, die mit dem Seitennamen (z.B. ''Blog1'') verknüpft sind, muss dieses in den [[:de:Handbuch:Erweiterung/BlueSpiceSocialBlog#Blog-Parameter|Blog-Parametern (siehe preloadedentities)]] definiert werden und anschließend im Filter angegeben werden:


===BlueSpicePermissionManager===
If an embedded blog should only show posts that are associated with a paritcular page name (e.g., Blog1), this must be defined in the [[Manual:Extension/BlueSpiceSocialBlog#Blog parameters|blog parameters]] (see ''preloadedentities'') and then specified in the filter:<syntaxhighlight lang="json">
"filter": [ {
      "property": "type",
      "value": ["blog"],
      "comparison": "ct",
      "type": "list"},
      {
      "property": "tags",
      "value": ["Blog1"],
      "comparison": "ct",
      "type": "list" },
      {
      "property":"archived",
      "value":false,
      "type":"boolean",
      "comparison":"eq"}
  ]


*'''Backup limit:''' Sets the number of backups for the permissions manager. Each time the page ''Special:PermissionManager'' is saved, a backup is created. If the backup limit is set to 5, the last five versions of the permissions configuration are saved as backups.
</syntaxhighlight>


===BlueSpiceRSSFeeder===
==Output type examples==
The output type for a blog is added using the ''outputtypes'' parameter. Don't forget to include a comma before and after this parameter (unless this is the last parameter in your code):<syntaxhighlight lang="json-object">
"outputtypes": {
        "blog": "Default"
    }
</syntaxhighlight>


*'''URL whitelist:''' RSS feeds need to be whitelisted here by an administrator before they can be displayed in a wiki page.
===Default===
*'''Maximum number of allowed redirects:''' If there are URL redirects for any of the whitelisted URLs, the number of redirects needs to be adjusted (usually to 1 or 2).
The output type ''Default'' shows the content of a blog entry truncated after the first paragraph. To view the full text, users can click on the ''More'' link.
[[File:Manual:blog-output-default.png|center|650x650px|alt="Default" output|thumb|"Default" output]]
<span /><span /><span /><span /><span /><span /><span /><br />


[[File:Manual:configmanager-RSS.png|alt=RSS Feed settings|center|thumb|450x450px|RSS Feed settings]]
===Short===
<br />
The output type ''Short'' does not show the content of the blog entry. To view the content, a user has to click on the title of a blog entry. This loads the actual page for the selected blog entity.
===BlueSpiceReaders ===
<span /><span /><span /><span /><span /><span /><span /><br />
[[File:Manual:blog-output-short.png|center|650x650px|alt="Short" output|thumb|"Short" output]]
<span /><span /><span /><span /><span /><span /><span /><br />


*'''Number of readers to display:''' Sets the number of readers that are displayed on the Page information in the Quality management tools. <br />[[File:Manual:PageInformation Reader.png|link=link=Special:FilePath/Manual:configmanager-readers.png|alt=displays readers of the page|center|page=readers|thumb|displays readers of the page]]<br />
===Page ===
The output type ''Page'' shows all blog elements, including the comments, in an expanded view.
<span /><span /><span /><span /><span /><span /><span /><br />
[[File:Manual:blog-output-page.png|center|650x650px|alt="Page" output|thumb|"Page" output]]


=== BlueSpiceSaferEdit===
===List===
The output type ''List'' only shows the title and the timestamp.
<span /><span /><span /><span /><span /><span /><span /><br />
[[File:Manual:blog-output-list.png|center|alt="List" output|thumb|450x450px|"List" output]]


*'''Interval for lookup for concurrent editings:''' Sets the time in seconds for checking if another person is editing the page.
<span><span /><span /><span /><span /><span /><span /><br /></span>
*'''Show name of current editor:''' Shows or hides the name of the user who is currently editing the page.
==Setting blog permissions==


===BlueSpiceUEModuleBookPDF===
===Using the  "commenter" role===
In general, all users with edit rights can create blog entries and comments. However, the ''commenter'' role in the [[Manual:Extension/BlueSpicePermissionManager|Permission manager]] does not allow you to create blog entries. This role only assigns the right to create comments on existing blog entries. See also [[Manual:Extension/BlueSpiceSocial#Permissions|BlueSpiceSocial permissions]].


* Table of Contents
===Using groups===
**''Only article titles (indent by grade):'' Only shows the article titles in the main contents table of the PDF.<br />[[File:Manual:configmanager-toc-simple.png|alt=PDF table of contents without article TOCs|center|thumb|450x450px|PDF table of contents without article TOCs]]<br />
{{BSVersion|bsvFrom=4.2|bsvTo=|bsvFeature=}}
**''Embed article TOCs (No indent of article titles):'' Shows the table of contents for each article in the main contents table of the PDF.[[File:Manual:configmanager-toc-embed.png|alt=Embed article TOCs|center|thumb|450x450px|Embed article TOCs]]
If a blog is integrated into a page, the creation and editing of discussion posts and comments can be restricted to certain user groups. This option does not exist on the ''Special:Blog'' page itself.


===BlueSpiceUEModuleHTML===
Add the blog to a wiki page as follows. Then, modify the ''editgroups'', c''ommentgroups, deletegroups,'' and r''eadgroups'' as needed.
{{Messagebox|boxtype=important|icon=|Note text=Only set the groups that you really need, since individual rights are not inherited. Therefore, please read the following explanations carefully!|bgcolor=}}
<syntaxhighlight lang="json">
<bs:timeline>
{
    "showentitylistmenu": true,
      "preloadedentities": [{
      "type": "groupblog",
      "editgroups": ["blog_GF"],
      "commentgroups": ["blog_commenter"],
      "deletegroups": ["blog_delete"],
      "readgroups": ["blog_reader","blog_GF","blog_commenter","blog_delete"]
    }],
    "headlinemessagekey": "My Blog",
    "showheadline": true,
    "usemorescroll": true, 
    "limit": 5,
    "sort": [ {
        "property": "timestampcreated",
        "direction": "DESC"
    }],
    "lockedfilternames": [
        "type"
    ],
    "filter": [ {
        "type": "list",
        "property": "type",
        "value": [ "groupblog" ],
        "comparison": "ct"
    }]
}
</bs:timeline>
</syntaxhighlight>Im Objekt ''preloadedentities'' werden die unterschiedlichen Berechtigungen definiert:
{| class="wikitable" style=""
|+
!Name
!Value (examples)
!Description
|-
|type
|groupblog
|The type ''groupblog'' allows setting group-based permissions on a blog.
|-
|editgroups
|["blog_GF"]
|Permission to create blog entries
|-
|commentgroups
|["blog_commenter"]
|Permission to create comments
|-
|deletegroups
|["blog_delete"]
|Permission to delete blog entries and comments
|-
|readgroups
|["blog_reader","blog_GF","blog_commenter","blog_delete"]
|Read permission:
All groups listed in editgroups, commentgroups and deletegroups must also be listed here explicitly if this group is defined.
|}
'''Important notes:'''


*'''Hide namespace prefix in HTML:''' If activated, the namespace is shown in the HTML main heading.
# If the blog already exists on a page and the group assignments are created later, the permissions will not be applied to existing blog entries.
{{Messagebox|boxtype=note|Note text=If the page contains a "displaytitle" tag in the page source, the page display title is shown and this setting has no effect.}}
#<span /><span /><span /><span /><span /><span /><span /><br />There is no inheritance if a group definition is given explicitly. E.g., a user group that is in editgroups but not in commentgroups (if exists) cannot add comments.


===BlueSpiceUEModulePDF===
'''“editgroups”''' exists:


*'''Hide namespace prefix in PDF:''' If activated, the namespace is shown in the PDF main heading for a page.
*Only users in these groups see the button to start a new blog entry.


[[File:Manual:configmanager-pdfhidenamespace.png|alt=namespace in heading|center|thumb|450x450px|namespace in heading]]
'''“commentgroups”''' exists:
{{Messagebox|boxtype=note|Note text=If the page contains a "displaytitle" tag in the page source, the page display title is shown and this setting has no effect.}}


===BlueSpiceUniversalExport===
*Only users in these groups see the “answer here” button and can add comments.


*<span class="oo-ui-fieldLayout-header">'''Metadata (standard, JSON):'''</span>  Additional data to be passed to the rendering template in JSON format. This data can be used in the export template. The template itself is maintened server-side.
'''“deletegroups”''' exists:
*'''Metadata (override, JSON)''': Allows overriding standard data sent to the rendering template in JSON format. Values that are set by default can be overriden with this option.


===BlueSpiceVisualEditorConnector===
*Only users in these groups see the delete link and can delete o'''ther users'''' posts. Note: “sysop” users can always delete or restore a post. See below for sysop user read permissions.


*'''<span class="col-red">Enable VisualEditor for BlueSpice extensions</span>'''
'''“readgroups”''' exists:
*'''<span class="oo-ui-fieldLayout-header">Configuration variable to use a simplified save process</span>'''
*'''Upload type'''
**Original (Here a confirmation of the rights of use/upload is obtained, file name and namespace of the file can be changed, a category can be assigned and a description of the file <span class="col-red">MUST</span> be given).
**Simple (No confirmation of required rights is obtained here, the name and namespace of the file can be changed, a description and a category can be assigned, but does not have to be specified)
**One click (No confirmation about required rights is obtained here, the image cannot be renamed and no category can be assigned. Only the namespace can, but does not have to be adjusted before uploading)  <!-- verify what one-click means, since the next screens appear. --><br />


===BlueSpiceWhoIsOnline===
* Only set if necessary, as there is no inheritance. If present, all user groups of the other blog groups must be added here.


*<span class="oo-ui-fieldLayout-header">'''Time in seconds until a user is marked as offline:'''</span> The system checks every ''x'' seconds if a user logged out and no longer displayed as online. This can  be less frequent than the update inteval for newly logged-in users.
Examples:
*<span class="oo-ui-fieldLayout-header">'''Update interval in seconds:'''</span> The system checks every ''x'' seconds for users.


===BlueSpiceExpiry===
*If the ''blog_GF'' user group is in ''editgroups'' but not in ''readgroups'', the create button is not displayed despite explicit editing rights. If the ''blog_commenter'' user group is in ''commentgroups'' but not in ''readgroups'', the new blog entries that have this setting applied will not be visible.  If the user group ''blog_delete'' is in ''deletegroups'' but not in ''readgroups'', the new blog entries are not visible and therefore cannot be deleted.


*'''<span class="oo-ui-fieldLayout-header">Show watermark for expired pages in PDF</span>:''' Shows the watermark for expired pages in PDFs.
'''user group “sysop”:'''
*<span class="oo-ui-fieldLayout-header">'''Show watermark for expired pages in print version:''' Shows the watermark for expired pages when a page is printed.</span>
*<span class="oo-ui-fieldLayout-header">'''Show watermark for expired pages'''</span>: Shows a watermark on the page itself.<br />[[File:Manual:configmanager-watermark.png|alt=watermark|center|thumb|250x250px|watermark]]


===BlueSpiceFlaggedRevsConnector===
*If ''readgroups'' is not defined, group sysop can delete all blog entries
{{BSVersion|bsvFrom=|bsvTo=4.2|bsvFeature=BlueSpiceFlaggedRevsConnector|text=It is replaced by [[#Content Stabilization]].}}
*If ''readgroups'' is defined and sysop is not part of this group, sysop cannot see blog posts and therefore cannot delete them from the page. But with a direct link to the actual blog page, the sysop user can delete/restore the entry from there.
'''Export'''
{{Messagebox|boxtype=important|icon=|Note text=The default user group "sysop" cannot be added as a user group to a definition. For example, to assign read rights to an admin user (if "readgroups" exists), the user must be added to a user group defined in "readgroups" ( e.g. blog_reader)|bgcolor=}}


The export settings affect how the pages of a book are generated in the PDF export.
'''more”-button:'''


*'''<span class="oo-ui-fieldLayout-header">Bookshelf: List approved revisions log</span>:''' Shows a log of stable page versions of pages in the PDF and when these pages were put into accepted status. If editors did not provide a comment when accepting the page, the ''Stable comment'' field for a revision is empty. <br />[[File:Manual:configmanager-bookshelf-revisionslog.png|alt=accepted revisions log|center|thumb|450x450px|accepted revisions log]]<br />
To avoid switching to the default ''Special:Blog'' page at the end of the blog, the m''ore-''button must be set as a scroll button instead of linking to the special page. To do this, set (as already indicated in the example):<syntaxhighlight lang="json">
*'''Bookshelf: List pages without stable revision:''' Displays a list of PDF pages at the beginning of the PDF that only exist as a first draft and have no released version.[[File:configmanager-book-nichtfreigegebeneseiten-EN.png|center|thumb|300x300px|Pages without acceptance feature|link=Special:FilePath/configmanager-book-nichtfreigegebeneseiten-EN.png]]<br />
"usemorescroll": true
*'''Bookshelf: List pages without FlaggedRevs:''' Displays a list of PDF pages that do not have a release mechanism at the beginning of the PDF.
</syntaxhighlight>


<br />
==Configuration==
[[File:Manual:configmanager-book-listnoflaggedrev.png|alt=Pages with no FlaggedRevs feature.|center|thumb|260x260px|Pages with no FlaggedRevs feature.]]
<br />


*<span class="oo-ui-fieldLayout-header">'''UEModulePDF: Show FlaggedRevs info below main heading'''</span>: Prints the latest revision dates (last acceptance and last edit date) below the heading. <br />[[File:Manual:configmanager-bookshelf-flaggedrevsinfo.png|alt=FlaggedRevs info below heading|center|thumb|350x350px|FlaggedRevs info below heading]]
<span><span /><span /><span /><span /><span /><span /><br /></span>
In the [[Manual:Extension/BlueSpiceConfigManager|Config manager]], you can change the following settings:


'''Quality assurance'''
<span><span /><span /><span /><span /><span /><span /><br /></span>
{{#dpl:title=Manual:Extension/BlueSpiceConfigManager|include=#BlueSpiceSocialBlog}}


*'''Include handling:''' If resources are embedded in a page and those resources are located in namespaces with approval mechanism, then the following settings can be selected. For example: If an approved page contains a template or a file that has been changed after the page itself has been approved, the page will not get another draft version, but instead one of two configurations applies:
== Notifications ==
**Current versions: Always show the latest version of the embedded resource.
If users want to receive notifications about blog posts in the wiki or by email, the setting "Entity actions on watched pages" must be activated in the user settings ("Notifications" tab).
**Stable versions: Always show the stable (=approved) version of a resource.
[[File:BlueSpiceSocialBlog notifications.png|alt=Notification settings|center|thumb|650x650px|Notification settings]]


*<span class="oo-ui-fieldLayout-header">'''Show unstable pages for following groups:'''</span> If the group ''user'' is removed from the ''BlueSpiceFlaggedRevs'' configuration, users in this group will not be able to see draft versions when they are added as reviewers in a review process. When the group user is removed, only ''sysop'' and ''reviewer'' users can access drafts. If you want other groups, for example ''editor'', to see draft versions, you need to add them to the configuration. If no user groups are specified in the configuration field, not even reviewers and sysops users will see a visual status indication of a page. They will have access to drafts through the revision history for the page instead.
== Letzte Blog-Einträge darstellen ==
[File:BlueSpiceSocialBlog letzteBeiträge.png|mini|Liste der letzten Blogbeiträge]]
Wenn Sie die letzten Blogeinträge eines bestimmten Blogs z.B. auf der Hauptseite darstellen wollen, sind folgende Schritte nötig:


'''Searching and Navigation'''
#Timeline-Tag auf der Hauptseite einbinden
#Formatierungsanweisungen in ''MediaWiki:Common.css'' einfügen


*<span class="oo-ui-fieldLayout-header">'''Indexing only stable versions:''' Draft versions are excluded from the search results. If a page does not have a stable version, it is not shown as a search result.</span><span class="oo-ui-fieldLayout-field"><span id="bsgFlaggedRevsConnectorUEModulePDFShowFRTag" class="oo-ui-widget oo-ui-widget-enabled oo-ui-inputWidget oo-ui-checkboxInputWidget" aria-disabled="false" data-ooui><span class="oo-ui-checkboxInputWidget-checkIcon oo-ui-widget oo-ui-widget-enabled oo-ui-iconElement oo-ui-iconElement-icon oo-ui-icon-check oo-ui-iconWidget oo-ui-image-invert" aria-disabled="false"></span></span></span><span class="oo-ui-fieldLayout-field"><span id="bsgFlaggedRevsConnectorUEModulePDFShowFRTag" class="oo-ui-widget oo-ui-widget-enabled oo-ui-inputWidget oo-ui-checkboxInputWidget" aria-disabled="false" data-ooui><span class="oo-ui-checkboxInputWidget-checkIcon oo-ui-widget oo-ui-widget-enabled oo-ui-iconElement oo-ui-iconElement-icon oo-ui-icon-check oo-ui-iconWidget oo-ui-image-invert" aria-disabled="false"></span></span></span>
=== Embed the timeline-Tag einbinden===
Kopieren Sie folgendes Timeline-Tag auf die Hauptseite (oder beliebige andere Wikiseite)<syntaxhighlight lang="json">
<div class="bloglist"><bs:timeline>
{
    "showentitylistmenu": false,
    "preloadtitles": {
      "blog": "Vorlage:Blog"
    },
    "limit": 5,
    "sort": [ {
        "property": "timestampcreated",
        "direction": "DESC"
    }],
    "showentitylistmore": false,
    "availablefilterfields": [],
    "lockedfilternames": [
        "type"
    ],
    "outputtypes": {
        "blog": "List"
    },
    "filter": [ {
        "type": "list",
        "property": "tags",
        "value": ["blog"],
        "comparison": "ct"
}]
}
</bs:timeline>
... [[Blog1|alle Beiträge]]
</div>
</syntaxhighlight>Beachten Sie hierbei, dass die Angabe '''Blog1''' im Filter und nach dem Timeline-Tag als Link zur eigentlichen Blog-Seite mit dem wirklichen Namen ihrer Blog-Seite ausgetauscht werden muss. Damit der Wert '''Blog1'''  bzw. der Name Ihrer Blogseite auf der eigentlichen Blog-Seite automatisch für alle Blogbeiträge generiert wird, muss er im dortigen ''<nowiki><bs:timeline></nowiki>''-Tag unter ''preloadedentities'' angegeben werden:<syntaxhighlight lang="json">
"preloadedentities": [{
    "type": "blog",
    "tags":["Blog1"]
}]
</syntaxhighlight>


=== BlueSpiceSocial ===
===Formatierungsanweisungen einfügen===
 
Kopieren Sie folgende Zeilen in MediaWiki:Common.css:<syntaxhighlight lang="css">
* '''Show entrypoint "Timeline":''' Shows a link to the page ''Special:Timeline'' in the main navigation.
/* Simple list view of timeline items */
 
.bloglist .bs-social-entity .bs-social-entity-right .bs-social-entity-actions, .bs-social-entity-timecreated {display:none}
===BlueSpiceSocialBlog===
.bloglist ul.bs-social-entitylist {background-color:transparent!important; list-style-type:disc; padding:0!important}
 
.bloglist  ul.bs-social-entitylist li {margin:0!important; border-bottom:1px dotted #74747488}
*'''Use teaser text for blog entries in the timeline:''' When you create a blog entry, you can create a teaser text for it by clicking the cogwheel symbol in the blog entry form. If this setting is active, the teaser text will be shown on the page ''Special:Timeline'' instead of the first part of the content.
.bloglist  .bs-social-entity div.bs-social-entity-right {margin: 0}
 
.bloglist  .bs-social-entity-actions {display:none!important}
<br />[[File:Manual:configmanager-blogteaser.png|center|thumb|380x380px|blog teaser text|link=Special:FilePath/Manual:configmanager-blogteaser.png]]
.bloglist  .bs-social-entity .bs-social-entity-title h3 {font-size: 1em!important; margin:0;}
 
.bloglist  .bs-social-entity-title {width:100%; margin:0!important}
* '''Show entrypoint "Blog":''' Shows a link to the page ''Special:Blog'' in the main navigation.
#content .bloglist  .bs-social-entity-right a, #content .bloglist .bs-social-entity-right a::before {color:#08529d!important}
 
</syntaxhighlight>
===BlueSpiceSocialTopics===
{{Box Links-en
 
|Topic1=[[Manual:Extension/BlueSpiceSocialMicroBlog|Micro-Blog]]
*'''Automatically create all discussion pages.''' If a user creates the first discussion topic for a page using the link in the page footer of a wiki page, the needed discussion page is automatically created first. <br />[[File:Manual:configmanager-socialtopics-create.png|alt=create discussion topic|center|thumb|350x350px|create discussion topic]]<br />A message "This discussion page was created automatically" is inserted on the discussion page. <br />[[File:Manual:configmanager-socialtopics.png|alt=automatically created discussion page|center|thumb|350x350px|automatically created discussion page]]<br />
|Topic2=[[Reference:BlueSpiceSocial]]
 
}}
If this setting is deactivated, the user is directed to the "Create page" default page first.<br />
 
== BlueSpiceDiscovery ==
 
====Deactivating the Entrypoint links====
[[File:discovery-entrypoint links.png|alt=Entrypoint links for Discovery skin|center|thumb|650x650px|Entrypoint links for Discovery skin]]
 
====Positioning of skin elements====
[[File:BlueSpice-Discovery2.png|alt=positioning skin elements|center|thumb|600x600px|positioning skin elements]]
 
*page-sentence: display of page status ([[Manual:Extension/FlaggedRevs|Approval status]], [[Manual:Extension/BlueSpiceExpiry|Expiry]])
*categories: display of [[:de:Handbuch:Kategorien_erstellen_und_nutzen|page categories]]
 
*rating: display of [[Manual:Extension/BlueSpiceRating|page ratings]]
 
*recommendations: display of [[Manual:Extension/BlueSpiceRating|page recommendations]]
 
=== Content Stabilization{{bsvs|bsvFrom=4.3|bsvTo=|bsvFeature=}} ===
Für die Seitenfreigabe gibt es folgende Konfigurationsmöglichkeiten:
[[Datei:Handbuch:config-contentstabilization.png|alternativtext=Screenshot der Einstellungen für die Seitenfreigabe|zentriert|mini|650x650px|Einstellungen für die Seitenfreigabe]]
 
* '''Einbindung von Ressourcen (1):'''  Wenn Ressourcen in eine Seite eingebettet sind '''und sich diese Ressourcen in Namensräumen mit Freigabe befinden''', können die folgenden Einstellungen ausgewählt werden. Es gibt zwei mögliche Einstellungen:
 
{| class="wikitable" style="width:100%;" data-ve-attributes="{&quot;style&quot;:&quot;width:100%;&quot;}"
! style="width:220px;" data-ve-attributes="{&quot;style&quot;:&quot;width:220px;&quot;}" |
!Verhalten
|-
| style="width:220px;" data-ve-attributes="{&quot;style&quot;:&quot;width:220px;&quot;}" |<span class="col-red ve-pasteProtect">Stable versions of included pages</span>
|Zeigt immer die letzte freigegebene Version der Ressource an, auch wenn diese nach der Seitenfreigabe entstanden ist (gilt nur, wenn die Ressource in einem Namensraum mit Freigabefunktion ist).
|-
| style="width:220px;" data-ve-attributes="{&quot;style&quot;:&quot;width:220px;&quot;}" |<span class="col-red ve-pasteProtect">Versions that were current at the time of approval</span>
|Zeigt die Version der Ressource an, die zum Zeitpunkt der letzten Freigabe der Seite, auf der die Ressource eingebunden ist, aktuell war (gilt nur, wenn die Ressource in einem Namensraum mit Freigabefunktion ist).
|}''Beispiel:'' Wenn eine genehmigte Seite eine Vorlage enthält, die geändert wurde, nachdem die Seite selbst freigegeben wurde, erhält die Seite keine weitere Entwurfsversion. Die Freigabe funktioniert direkt über die eingebettete Ressource.
 
* <span class="col-red">'''Allow viewing of first draft version (2):'''</span>    Wenn diese Einstellung aktiviert ist, dann können alle Benutzer mit Leserechten den Erstentwurf einsehen. Bei Deaktivierung können nur Gruppen aus Einstellung "Entwurfsseiten für folgende Gruppen anzeigen" Erstentwürfe sehen.
* '''<span class="col-red">Update semantic properties from stable pages only (3):</span>'''  Der Attributswert der Seite wird aus der stabilen Version der Seite gelesen und nicht aus der Entwurfsversion.
 
* '''Entwurfsseiten für folgende Gruppen anzeigen (4):'''  Wenn die Gruppe <code>user</code> aus der Konfiguration  entfernt wurde, können Benutzer in dieser Gruppe Entwurfsversionen nicht sehen, wenn sie in einem Überprüfungsprozess als Überprüfer hinzugefügt werden. In diesem Fall können nur Benutzer mit der Berechtigung <code>sysop</code> und <code>reviewer</code> auf Entwürfe zugreifen, sofern keine anderen Gruppen angegeben sind.  Diese System-Gruppen können dann nur  über das Revisionsprotokoll der Seite auf Entwürfe zugreifen.


[[de:Handbuch:Erweiterung/{{SUBPAGENAME}}]]
<span><span /><span /><span /><span /><span /><span /><br /></span>
[[en:Manual:Extension/{{SUBPAGENAME}}]]
{{Translation}}
[[Category:Administration]]
[[Category:Social]]

Revision as of 11:15, 3 April 2023


The extension BlueSpiceSocialBlog is part of BlueSpiceSocial, the communications module of BlueSpice. In addition to the type blog, there are other types of so-called social entities, such as comment, discussion topic, attachment, or microblog.

About the blog

Basically, a blog is a list of comments, questions, or feedback from different users. The blog is often sorted chronologically. Lively communication can arise when blog entries are further commented, recommended, linked with related articles, or placed on a personal watchlist. The blog is ready to use on the special page Special:Blog. This page is linked directly from the main navigation in every new wiki installation. So you can start using the blog right away.

Navigation link to the blog page
Navigation link to the blog page

Characteristics and features

  • A blog entry consists of a title and content.
  • Comments: Users can leave comments to each blog entry.
  • Actions:
    • Delete: Editors can delete their own posts. Administrators can delete all posts. Deleted posts are no longer displayed. Exception: Administrators see deleted items with a red background and can restore them.
    • Recommend: Blog posts can be recommended. It is possible to generate a list of posts with the most recommendations via the timeline filter. (See: Embedding the blog on a page)
    • Linked page: Every blog entry is connected to a wiki page by the system. By default, this is the main page of the wiki. However, other pages can be added as "Linked page". Blog entries can then be filtered for linked pages via the Special:Timeline page.
    • Watch: Own blog posts and comments are automatically added to the watch list.
  • Permissions: It is possible to allow users with read permissions on the wiki to comment on blog entries. See: BlueSpiceSocial Permissions.

Adding the blog to a page

It is also possible to include the blog functionality on any wiki page. Social contributions of many types can be consolidated and displayed chronologically in a timeline and filtered and sorted as needed.

All blog entries

If you want to include a view of your blog on another page of your wiki, for example your homepage, you need to insert the necessary codeblock in the source code of your page.

To include a blog view:

  1. Go to the page where you want to insert the blog or create a new page.
  2. Open the page in Source editing mode.
  3. Copy the following code block to the section in your page where you want to show the blog.
    <bs:timeline>
     {
         "showentitylistmenu": true,
         "preloadtitles": {
             "blog": "Template:Blog"
         },
         "preloadedentities": [{
             "type": "blog"
         }],
         "headlinemessagekey": "Community-Blog",
          "showheadline": true,
         "usemorescroll": false,
         "morelink": "Special:Blog",
         "limit": 5,
         "sort": [ {
             "property": "timestampcreated",
             "direction": "DESC"
         }],
         "lockedfilternames": [
             "type"
         ],
         "filter": [ {
             "type": "list",
             "property": "type",
             "value": [ "blog" ],
             "comparison": "ct"
         }]
     }
    </bs:timeline>
    
    After saving the page, you will see a list of existing blog entries based on the filter and sorting criteria you provided.

Blog entries of a linked page

If you want to create a blog that only displays the posts of the blog posts created on this page, copy the following timeline tag. Here, under the preloadedentities, new blog entries are already linked to the page and filtered. Replace Blog1 under preloadedentities and in the filter section with the appropriate page name:

<bs:timeline>
 {
     "showentitylistmenu": true,
     "preloadtitles": {
         "blog": "Vorlage:Blog"
     },
       "preloadedentities": [{
         "type": "blog",
         "tags":["Blog1"] 
     }],
     "headlinemessagekey": "Community-Blog",
      "showheadline": true,
     "usemorescroll": false,
     "morelink": "Special:Blog",
     "limit": 5,
     "sort": [ {
         "property": "timestampcreated",
         "direction": "DESC"
     }],
     "lockedfilternames": [
         "type"
     ],
"filter": [ { 
       "property": "type", 
       "value": ["blog"], 
       "comparison": "ct", 
       "type": "list"},
      { 
       "property": "tags", 
       "value": ["Blog1"], 
       "comparison": "ct", 
       "type": "list" },
      {
       "property":"archived",
       "value":false,
       "type":"boolean",
       "comparison":"eq"}
  ]

 }
</bs:timeline>

Blog parameters

Output format

The following table shows the blog elements and the necessary paramaters to create the output.

Blog output
Blog output
Element Parameters Parameter and element description Type Default value
1 - header headlinemessagekey Header text string Timeline
showheadline Show the header text boolean true
2 - blog menu showentitylistmenu Show or hide the blog menu boolean true
showentityspawner Show the menu item for creating a blog entry boolean true
availablesorterfields Determines which data fields are included as sorting options in the sort menu. Example: allow sorting only by date created or by the user who created a blog entry:

"availablesorterfields":["timestampcreated","ownerid"]

Manual:blog-filter-timestampcreated.png

List of typical sort fields

array all
lockedoptionnames Determines which settings for sorting the user cannot change. array []
availablefilterfields Determines which data fields are included as filter options in the filter menu. Example: allow filtering based on Creation date and Linked pages:

"availablefilterfields":["timestampcreated","tags"]

Manual:blog-filter-availablefilterfields.PNG

array all
lockedfilternames Determines which settings for filtering the user cannot change.

Example: a user cannot change the filter values for Linked pages. The text field is greyed out:

"lockedfilternames": ["tags"]


array []
persistsettings Initial settings and custom sort and filter settings are included in the page url. The url can then be used to create a link to the page with the same filter and sort settings.

"persistsettings":true

boolean false
3 - new blog entry preloadentities
Shows the text field for creating a new blog entry. If it is not set, the text field is not available.

To show the text field:

"preloadedentities": [{"type":"blog"}]


If the wiki page that has a <bs:timeline> tag should only show its own blog entries, then all blog entries need to be automatically tagged with the current page name:

"preloadedentities": [{

         "type": "blog",

         "tags":["Blog1"]

     }]

In the example above, Blog1 is the associated page for all blog entries that are created on this page. The blog filter has to be adjusted accordingly to take the associated page into consideration.

array of objects -
4 - existing blog entry outputtypes It defines the display format of the blog entry.

Standard types are: List, Short, Default, Page. (see examples)

Each blog entry is a "social entity".

object Default
limit Defines how many social entities are loaded initially. object Default
4a - avatar - Shows the avatar of the user who created the blog entry or comment. It is displayed in all output types except List. - -
4b - info area - Link to the comments and "last edit" info. - -
4c - blog entry content - Shows the text body of a blog entry. The output type Default collapses the blog entry content after the first paragraph with a "More" link. - -
4d - actiion menu - Actions: edit, delete, recommend, Linked page, watch

Manual:blog-editmenu.png

- -
5 - new comment - Text field for creating a new comment. - -
6 - existing comment - Comments include the social tag Recommend.

Each comment is a "social entity".

- -
7 - "more" button morelink Link target of the "more" button. For blogs, it makes sense to link to the page Special:Blog. str Special:Timeline
useendlessscroll More blog entries are automatically loaded after the user scrolls to the end of the blog. boolean true
showentitylistmore Shows a "more" button below the blog which loads more blog entries on click. This is only possible if useendlessscroll is set to false. boolean false

Sorting

Most commonly, a blog shows the latest blog entries first. However, there are many different options for sorting the list of blog entries.

Syntax

[{

"property": "timestamptouched",

"direction": "DESC"

}]

Properties

There are some common properties of a blog entry that are useful for sorting:

Property Description
timestampcreated creation date
timestamptouched last edit date
commentcount number of comments
ratingcount number of ratings
ownerid username of the creator of a blog entry
ownerrealname real name of the user

Direction

Blog entries can be sorted in descending and ascending order. Descending is the default order.

Property Description
DESC sorts the blog entries in descending order
ASC sorts the blog entries in ascending order

Filtering

Without setting the filter parameter, there will be no output on the page.

To show the blog entries of your wiki, include the following codeblock like shown in the code example above:

"filter": [ {
         "type": "list",
         "property": "type",
         "value": [ "blog" ],
         "comparison": "ct"
     }]

This filter includes all social entities which match the type blog. Since we only want to show social entities of type blog, we only include blog entries in our filter. If you want to create a social timeline rather than a blog view, you can also add other types of social entities. The following example shows a timeline view that includes blog entries, discussion entries from wiki pages, and user profile information:

"filter": [ {
         "type": "list",
         "property": "type",
         "value": ["blog","topic","profile"],
         "comparison": "ct"
     }]

Filtering associated pages

Wenn ein eingebundenes Blog nur Beiträge zeigen soll, die mit dem Seitennamen (z.B. Blog1) verknüpft sind, muss dieses in den Blog-Parametern (siehe preloadedentities) definiert werden und anschließend im Filter angegeben werden:

If an embedded blog should only show posts that are associated with a paritcular page name (e.g., Blog1), this must be defined in the blog parameters (see preloadedentities) and then specified in the filter:

"filter": [ { 
       "property": "type", 
       "value": ["blog"], 
       "comparison": "ct", 
       "type": "list"},
      { 
       "property": "tags", 
       "value": ["Blog1"], 
       "comparison": "ct", 
       "type": "list" },
      {
       "property":"archived",
       "value":false,
       "type":"boolean",
       "comparison":"eq"}
  ]

Output type examples

The output type for a blog is added using the outputtypes parameter. Don't forget to include a comma before and after this parameter (unless this is the last parameter in your code):

"outputtypes": {
        "blog": "Default"
    }

Default

The output type Default shows the content of a blog entry truncated after the first paragraph. To view the full text, users can click on the More link.

"Default" output
"Default" output


Short

The output type Short does not show the content of the blog entry. To view the content, a user has to click on the title of a blog entry. This loads the actual page for the selected blog entity.

"Short" output
"Short" output


Page

The output type Page shows all blog elements, including the comments, in an expanded view.

"Page" output
"Page" output

List

The output type List only shows the title and the timestamp.

"List" output
"List" output


Setting blog permissions

Using the "commenter" role

In general, all users with edit rights can create blog entries and comments. However, the commenter role in the Permission manager does not allow you to create blog entries. This role only assigns the right to create comments on existing blog entries. See also BlueSpiceSocial permissions.

Using groups

is available from BlueSpice 4.2.

If a blog is integrated into a page, the creation and editing of discussion posts and comments can be restricted to certain user groups. This option does not exist on the Special:Blog page itself.

Add the blog to a wiki page as follows. Then, modify the editgroups, commentgroups, deletegroups, and readgroups as needed.

Important!Only set the groups that you really need, since individual rights are not inherited. Therefore, please read the following explanations carefully!
<bs:timeline>
{
    "showentitylistmenu": true,
      "preloadedentities": [{
       "type": "groupblog",
       "editgroups": ["blog_GF"],
       "commentgroups": ["blog_commenter"],
       "deletegroups": ["blog_delete"],
       "readgroups": ["blog_reader","blog_GF","blog_commenter","blog_delete"]
    }],
    "headlinemessagekey": "My Blog",
    "showheadline": true,
    "usemorescroll": true,   
    "limit": 5,
    "sort": [ {
        "property": "timestampcreated",
        "direction": "DESC"
    }],
    "lockedfilternames": [
        "type"
    ],
    "filter": [ {
        "type": "list",
        "property": "type",
        "value": [ "groupblog" ],
        "comparison": "ct"
    }]
}
</bs:timeline>

Im Objekt preloadedentities werden die unterschiedlichen Berechtigungen definiert:

Name Value (examples) Description
type groupblog The type groupblog allows setting group-based permissions on a blog.
editgroups ["blog_GF"] Permission to create blog entries
commentgroups ["blog_commenter"] Permission to create comments
deletegroups ["blog_delete"] Permission to delete blog entries and comments
readgroups ["blog_reader","blog_GF","blog_commenter","blog_delete"] Read permission:

All groups listed in editgroups, commentgroups and deletegroups must also be listed here explicitly if this group is defined.

Important notes:

  1. If the blog already exists on a page and the group assignments are created later, the permissions will not be applied to existing blog entries.

  2. There is no inheritance if a group definition is given explicitly. E.g., a user group that is in editgroups but not in commentgroups (if exists) cannot add comments.

“editgroups” exists:

  • Only users in these groups see the button to start a new blog entry.

“commentgroups” exists:

  • Only users in these groups see the “answer here” button and can add comments.

“deletegroups” exists:

  • Only users in these groups see the delete link and can delete other users' posts. Note: “sysop” users can always delete or restore a post. See below for sysop user read permissions.

“readgroups” exists:

  • Only set if necessary, as there is no inheritance. If present, all user groups of the other blog groups must be added here.

Examples:

  • If the blog_GF user group is in editgroups but not in readgroups, the create button is not displayed despite explicit editing rights. If the blog_commenter user group is in commentgroups but not in readgroups, the new blog entries that have this setting applied will not be visible. If the user group blog_delete is in deletegroups but not in readgroups, the new blog entries are not visible and therefore cannot be deleted.

user group “sysop”:

  • If readgroups is not defined, group sysop can delete all blog entries
  • If readgroups is defined and sysop is not part of this group, sysop cannot see blog posts and therefore cannot delete them from the page. But with a direct link to the actual blog page, the sysop user can delete/restore the entry from there.
Important!The default user group "sysop" cannot be added as a user group to a definition. For example, to assign read rights to an admin user (if "readgroups" exists), the user must be added to a user group defined in "readgroups" ( e.g. blog_reader)


more”-button:

To avoid switching to the default Special:Blog page at the end of the blog, the more-button must be set as a scroll button instead of linking to the special page. To do this, set (as already indicated in the example):

"usemorescroll": true

Configuration


In the Config manager, you can change the following settings:


  • Use teaser text for blog entries in the timeline: When you create a blog entry, you can create a teaser text for it by clicking the cogwheel symbol in the blog entry form. If this setting is active, the teaser text will be shown on the page Special:Timeline instead of the first part of the content.


blog teaser text
  • Show entrypoint "Blog": Shows a link to the page Special:Blog in the main navigation.


Notifications

If users want to receive notifications about blog posts in the wiki or by email, the setting "Entity actions on watched pages" must be activated in the user settings ("Notifications" tab).

Notification settings
Notification settings

Letzte Blog-Einträge darstellen

[File:BlueSpiceSocialBlog letzteBeiträge.png|mini|Liste der letzten Blogbeiträge]] Wenn Sie die letzten Blogeinträge eines bestimmten Blogs z.B. auf der Hauptseite darstellen wollen, sind folgende Schritte nötig:

  1. Timeline-Tag auf der Hauptseite einbinden
  2. Formatierungsanweisungen in MediaWiki:Common.css einfügen

Embed the timeline-Tag einbinden

Kopieren Sie folgendes Timeline-Tag auf die Hauptseite (oder beliebige andere Wikiseite)

<div class="bloglist"><bs:timeline>
 {
     "showentitylistmenu": false,
     "preloadtitles": {
      "blog": "Vorlage:Blog"
     },
     "limit": 5,
     "sort": [ {
         "property": "timestampcreated",
         "direction": "DESC"
     }],
     "showentitylistmore": false,
     "availablefilterfields": [],
     "lockedfilternames": [
         "type"
     ],
     "outputtypes": {
        "blog": "List"
     },
     "filter": [ { 
         "type": "list", 
         "property": "tags", 
         "value": ["blog"], 
         "comparison": "ct"
}]
 }
</bs:timeline>
... [[Blog1|alle Beiträge]]
</div>

Beachten Sie hierbei, dass die Angabe Blog1 im Filter und nach dem Timeline-Tag als Link zur eigentlichen Blog-Seite mit dem wirklichen Namen ihrer Blog-Seite ausgetauscht werden muss. Damit der Wert Blog1 bzw. der Name Ihrer Blogseite auf der eigentlichen Blog-Seite automatisch für alle Blogbeiträge generiert wird, muss er im dortigen <bs:timeline>-Tag unter preloadedentities angegeben werden:

"preloadedentities": [{
    "type": "blog",
    "tags":["Blog1"]
}]

Formatierungsanweisungen einfügen

Kopieren Sie folgende Zeilen in MediaWiki:Common.css:

/* Simple list view of timeline items */
.bloglist .bs-social-entity .bs-social-entity-right .bs-social-entity-actions, .bs-social-entity-timecreated {display:none}
.bloglist  ul.bs-social-entitylist {background-color:transparent!important; list-style-type:disc; padding:0!important}
.bloglist  ul.bs-social-entitylist li {margin:0!important; border-bottom:1px dotted #74747488}
.bloglist  .bs-social-entity div.bs-social-entity-right {margin: 0}
.bloglist  .bs-social-entity-actions {display:none!important}
.bloglist  .bs-social-entity .bs-social-entity-title h3 {font-size: 1em!important; margin:0;}
.bloglist  .bs-social-entity-title {width:100%; margin:0!important}
#content .bloglist  .bs-social-entity-right a, #content .bloglist .bs-social-entity-right a::before {color:#08529d!important}

Related info





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

Discussions