Browse Tag by BlueSpice

Advent calendar 23: Provide a dynamic view of the wiki’s category structure as a category tree

23-Advent-Calendar-Category-Tree

 

In BlueSpice and MediaWiki you can display the category system as a category tree. With the category tree, the user gets an insight into the structure and the yet available categories and articles. To insert a category tree into any wiki page please use the categorytree-tag and one of the existing categories from which the category tree shall start. In this example it is top level

<categorytree>Top_Level</categorytree>

There is also a special page for displaying the category tree – just call up “Special:CategoryTree”.  This page provides a form where you can type in the category you want to be shown. You also have the choice whether all pages of the category, only the category (with subcategories if available) or all pages except the files should be shown.

For more detailed information and attributs for the categorytree-tag please have a look at mediawiki.org.

Advent calendar 18: Statistical information on the wiki

18-Advent-Calendar-ExtendedStatistics

For BlueSpice administrators, there is a special page that provides several statistics and diagrams. Call up the page “Special:ExtendedStatistics”. Here you can start different statistical queries like number of users, pages, content pages, edits as well as edits per user and search queries.
Once you have choosen a query you will get the possibility to define e.g. the range of date, resolution, namespaces, categories, users and other settings that are related to the query. Click on “Create a diagram” to see a visualization of the statistical information. Afterwards you can export the diagram as a svg or png file.
By the way – in the admin dashboard you will also find some of those statistics.
Furthermore, you can configure the “Extended Statistics” in the admin preferences. Exclude single users from the statistics (e.g WikiSysop) or raise the number of steps.

Advent calendar 15: Create and provide page templates

15-Advent-Calendar-PageTemplate

Page templates easen the process of creating new articles in the wiki, because they provide a pattern for the content. Users get a clue of what information is needed here and what is missing. The templates also cause a more homogeneous structure for articles of the same content area.

Here´s a description how to create and provide page templates:

Create a new page in the namespace “template”, for example “Template:Organization”. You can edit and format this page like usual – add headings, tables and boxes here to create the framework for the content, which should be added. After you saved the structure for the page, you need to make it available for your users.
You need administrator rights, because this must be done in the admin tab in the left navigation. There you will find the menu item “Page templates”. Click on the green button to add a new template and a dialogue opens.

BlueSpice223-PageTemplates-Add-template-en
Make a template available for all users

First, choose the name of the template (e.g. Organization) and add a description to explain the use of this template. The template name and the description will be shown in the selection, when someone creates a new page. Now, choose the namespace, in which the template should be provided. In the next drop-down menus, you can choose your template. In case of our example, this will be “Template” in the menu for the template namespace, and “Organization” in the menu for the template. Confirm your changes and the template will be added. If an user creates a new page in the namespace you assigned, he will get the possibility to choose the template and start writing with the given structure of content.

Choosing a template
Choosing a template

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.