Browse Tag by BlueSpice

Advent calendar 13: Hiding the StateBar

13-Advent-Calendar-Hide-Statebar
Sometimes information in the StateBar isn´t necessary or even not wanted, for example at the main page or portal pages. Here you can hide the statebar by using this behaviour switch __NOSTATEBAR__. Enter the edit mode and change to the wikicode mode. Now insert __NOSTATEBAR__ at the end or at the beginning of the page and save this change. The StateBar won´t be shown at this article anymore.

The StateBar shouldn´t be shown in any article of the wiki? Don´t worry, you don´t have the set the behavior switch in every single article. You can also deactivate the StateBar globally. But: You need to have administrator rights for this, because it is a setting in the admin preferences.  Switch to the admin tab in the main navigation and then go to
Preferences -> BlueSpice -> BlueSpice-MediaWiki settings -> Status bar
and uncheck the box “Display Statebar”. The StatBar is deactivated in the whole wiki now!

 

Advent calendar 12: Count characters, articles and users

12-Advent-Calendar-Count-Things

You want to display some information about the number of articles, characters of an article or users of the wiki? You don´t need to look for this data or count it manually. BlueSpice provides the functionality to display this automatically generated information wherever you insert special kind of tags. Just place the following commands in an article, where the statistics should be shown.

  • Number of characters of an article:
    <bs:countcharacters>ARTICLE_NAME</bs:countcharacters>
  • Number of articles:
    <bs:countarticles />
  • Number of users:
    <bs:countusers />

The statistic about the characters can also be configured to display the number of words or pages of the article. Read more about how to configure the mode in our helpdesk article: https://help.bluespice.com/index.php/Count_Things

Advent calendar 11: Style changes in MediaWiki and BlueSpice

11-Advent-Calendar-Style-Changes

 

If you are a specialist in CSS, you can change the look and feel of the Wiki. And you don´t need to change the code file to do so, thanks to the “MediaWiki:Common.css”. On this page in the wiki, you can configure the style like font size, color, spacing, images and more.

For example, if you want links to be displayed underlined, add the code

#content a{ text-decoration: underline; }

on the “MediaWiki:Common.css” page. Learn more about Common.css at https://www.mediawiki.org/wiki/Manual:CSS

In BlueSpice, the CSS markup can also be defined for namespaces. Visit our helpdesk to find out how to do it: https://help.bluespice.com/index.php/NamespaceCss

Advent calendar 10: Create your own navigation with the “Focus”

10-Advent-Calendar-Edit-Focus

In addition to the main navigation on the left, every user can have an own individual navigation too. It is called the “Focus” and you can link your favorite pages or add useful tools there.

To configure this personal navigation call up the page “User:USERNAME/Sidebar” to edit the focus. Link your most important wiki pages or use preconfigured functions like „TOOLBOX“ or „PAGESVISITED“. Save the changes and it will be shown in the focus navigation. You can find next to the main navigation. Just switch the tab on top of this menue.  A full description of how to edit the focus can be found at the BlueSpice helpdesk: https://help.bluespice.com/index.php/UserSidebar

Special hint: In the new version BlueSpice 2.23, editing the focus became much easier. Just switch to the focus naviagtion tab and you will see a pen symbol there. A click on this symbol opens the page for configuring the focus in the edit mode.

Editing the focus
Editing the focus

Advent calendar 9: Use the spell checker in BlueSpice

9-Advent-Calendar-Spellchecker

The functionality to use the spell checker of your browser, is already included in BlueSpice free. What you need is to install the appropriate dictionary for the language you want in your browser. Those are available as addons. After you installed the dictionaries, you only need to activate the spell checker in the editing mode of your wiki article. Just open the menue of the spell checker with a simple command:

Firefox: Shift+right click
Chrome: Ctrl+right click

In this menue, you can activate or deactivate the spell checker, choose the languages and get suggestions for words.

Advent calendar 7: Activate the WYSIWYG as default

7-Advent-Calendar-WYSIWYG-default

Did you know that in the user settings every user is able to activate the visual editor by default?

So if you are a „WYSIWYG-worker“ you should enable the setting „visual editor“ in your user preferences in the BlueSpice tab. Everytime you enter the edit mode of an article, the visual editor will show up first.

On the other hand, if you are constantly working in the wikicode, you should disable the default use of the WYSIWYYG editor.

Advent calendar 6: Changing the links in the TopBarMenu

6-Advent-Calendar-TopBarMenu

In BlueSpice you have a second navigation at the top of the page. This area is named TopBarMenu. Wiki and blog are set and linked by default but as an administrator you can set different internal or external links. It is also possible to structure links as a dropdown.

Open the page „MediaWiki:TopBarMenu“ and enter names of internal wiki pages or external links.
This is how you build up the links:

* Systemtitle|URL|Displaytitle

URL can be a name of a wiki article or an external link.

For example:

* Wiki|Wiki
* Blog|Wiki Blog
** BlueSpice Blog|https://blog.bluespice.com|BlueSpice Blog
** Hallo Welt Blog|https://blog.hallowelt.com|Hallo Welt Blog

In the wiki admin preferences at the section „menu customizer“ you can define e.g. the number of nested layers.

Advent calendar 4: Display a RSS feed in a wiki article

3-Advent-Calendar-Import-RSS

If you want to keep your users up-to-date and provide them the latest news and information from an external site, the RSS feed is the media of your choice. And you can also use this great functionality to display the news in your wiki. Just get the URL from the RSS feed from the website you want to import. In our example, we took the RSS feed from our BlueSpice blog. And here comes the example:

<rss max=4 highlight=”MediaWiki BlueSpice”>https://sandbox.kulturbanause.de/old-blog-bluespice/feed/</rss>

Put the URL between the rss-tags. Additional variables can be used, to configure the output on the page. “max 4” means, that only the last four news will be displayed and “highlight=”MediaWiki BlueSpice” marks the words “MediaWiki” and “BlueSpice” wherever they appear in the text. This is how our example looks like in the article:

 

RSS Import in BlueSpice
RSS Import in BlueSpice

There are more variables to configure the output. Find out more in our helpdesk article about the RSS import: https://help.bluespice.com/index.php/RSS_Import

And there is also an extra portlet in your dashboard, where you can display the RSS feed, too. Open your user dashboard and add the “RSS-Feed” portlet. All you need to do now is to click on the cog wheel icon and insert the URL in the dialogue. Save it and get the latest news!

Advent calendar 2: Hide the Shoutbox

2-Advent-Calendar-Hiding-Shoutbox

The shoutbox is the place where you can leave article-related comments and it is shown below each article in the wiki. You want to hide the shoutbox? No problem. If you don´t want to provide this comment functionality at a certain article, just insert __NOSHOUTBOX__ in the wiki code of the article (it doesn´t make a difference if you add it on top or bottom of your code). Save the changes and the shoutbox won´t be shown at this article.
For administrators: You can also hide the shoutbox globally, so it won´t be shown in any case. Go to the admin preferences and open the tab “Shoutbox” in the “BlueSpice – MediaWiki settings”. You can also do some configuration here. Take a look at it!

And if you are an expert for the rights management, you can also have a look at the shoutbox rights “readshoutbox” and “writeshoutbox”.