Quiz:Admin topics 1 and Manual:Extension/BlueSpiceSmartList: Difference between pages

(Difference between pages)
No edit summary
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
=Admin topics 1=
{{DISPLAYTITLE:Generate page lists (smart lists)}}


<quiz display="simple">
The extension '''SmartList''' allows to insert a list of pages in a wiki page using the tags ''smartlist'', ''newbies,'' or ''toplist''. The selection criteria can be set using a dialog box.
{Which statements about FlexiSkin are true?
|type="[]"}
- The font of the main navigation can be customized.
+ The main navigation can have any color as background.
+ If an input field is empty, the default value of the "Discovery" skin is used.
+ "Header highlight" is applied to the "New" button and to the headings in the mega menus.


{The logo can only be changed through FlexiSkin.
==Available tags==
|type="()"}
The extension SmartList includes three different tags:
- true
+ false
{The links in the navigation sidebar change for each namespace.
|type="()"}
- true
+ false


{Which statements about the footer are true?
*<code><nowiki><bs:smartlist /></nowiki></code> - display a list of pages that were edited in the last 90 days. It can be filtered by namespaces or categories.
|type="[]"}
**Different modes are possible if the <code><nowiki><bs:smartlist /></nowiki></code> tag is added in source edit mode.
- All links can be deleted without consequences.
*<code><nowiki><bs:newbies /></nowiki></code> - display a list of recently registered users.
- Each link already has some default content.
*<code><nowiki><bs:toplist /></nowiki></code> - display a list of most visited pages.
+ Admins can add more links to the footer navigation.


The tags can be added as content droplets. {{Bsvs|bsvFrom=4.3}}. Earlier BlueSpice versions contained the menu item ''Insert > Magic word''  in [[Manual:Extension/VisualEditor|VisualEditor]]. {{Bsvs|bsvTo=4.3}}


{Which of the following features can be enabled for namespaces?
==Smartlist==
|type="[]"}
The  <code><nowiki><bs:smartlist /></nowiki></code>  tag shows a list of recently changed pages (<90 days) by default.
- Group voting
+ Recommendations
+ Page templates
+ Visual editor
- Interwiki links
- Assignments


{Where can users see all pages in a namespace?
The list can be inserted in source edit mode or as a content droplet, in which case it shows up as <code><nowiki><recentchanges /></nowiki></code> tag in the page source..{{Bsvs|bsvFrom=4.3}}
|type="[]"}
- On the special page ''ExtendedFilelist''
+ On the special page ''WikiExplorer''
+ On the special page ''AllPages''


{Categories can have sub-categories
In source edit mode, the smartlist tag (not the recentchanges[[Handbuch:Erweiterung/BlueSpiceSmartList#Einf.C3.BCgen%20.C3.BCber%20Wikitext|zusätzliche Modi]] einstellen (nicht vorhanden für Inhalts-Droplets):*mode=stablepages
|type="()"}
*mode=whatlinkshere
+ true
[[File:Manual:Smartlist3.png|alt=Options of the smartlist tag|center|thumb|325x325px|ptions of the ''smartlist'' tag]]
- false
<recentchanges mode="whatlinkshere" target="Main Page"/>


{Users need admin rights to create categories with the Category manager
===Parameters===
|type="()"}
The SmartList can be limited or extended with the following parameters:
-true
+ false


{If a category is renamed with the Category manager, it will also be renamed on all wiki pages that contain this category.
{| class="contenttable" style="width:100%;" cellspacing="0" cellpadding="5" border="0"
|type="()"}
|Label
+ true
|Parameter
- false
|Values
|Description
|-
| style="" |
Count
|'''count'''
|number
| style="" |
The number of articles to be shown. Default value: 5


{Namespaces can be used to grant ''edit-''permissions to different user groups.
|-
|type="()"}
| style="" |
+ true
Namespace(s)
- false
|'''ns'''
|number or name
{Which statements about the page name ''<u>Product:Car:Delivery truck</u>'' are correct?
| style="" |
|type="[]"}
Only articles from given namespace will be listed. The namespaces can be entered by IDs or by names. Several namespaces can be named with pipes: ns="0|2|5" or ns="Help|User|Test". Default: All namespaces are included.
- The page ''Delivery truck'' is in the namespace ''Car''''
- The page ''Delivery truck'' is in the namespace ''Product'' and in the category ''Car''
+ The page ''Product:Car:Delivery truck''  is in the main namespace if the namespace ''Product'' doesn't exist.
- The page ''Delivery truck '' is in the namespace ''Car''. The namespace ''Car'' is in the namespace ''Product''.
+ The page ''Car:Delivery truck''  is in the namespace ''Product'' if the namespace ''Product'' exists.


{A page can have more than 12 categories.
|-
|type="()"}
| style="" |
+ true
Category
- false
|'''cat'''
|name
| style="" |
Only articles from given category will be listed. Selecting several categories is not possible. Default: All categories.


{What options are there for creating the subcategory ''Marketing'' for the category ''Department''?
|-
|type="[]"}
| style="" |
+ Drag-and-drop the ''Marketing'' category onto the ''Department'' category in the Category manager.
Category mode
- Add the content ''<nowiki>[[Category:Marketing]]</nowiki>'' to the source code of the page ''Category:Department''.
|'''catmode'''
+ Add the content ''<nowiki>[[Category:Department]]</nowiki>'' to the source code of the page ''Category:Marketing''.
|AND, OR
- Add the ''Marketing'' and ''Department'' categories to a wiki page.
| style="" |
- Add the category ''Marketing'' to the page ''Category:Department''.
Show pages  if they are in at least one of the categories (OR) or show pages if they are tagged with all categories (AND).


{What happens if you create a page named ''<u>Purpose/Goals</u>''?
|-
|type="()"}
| style="" |
- A forward-slash is not allowed in a wiki page name and the page cannot be created.
Show minor
- The wiki replaces the unallowed forward-slash with an underscore. The page ''Purpose_Goals'' is created.
|'''minor'''
+ The page ''Goals'' with the "fully qualified" page name "Purpose/Goals" is created.
|true, false
| style="" |
Minor changes (changes marked with an "m" in the recent changes) will not be listed. Default: Minor changes are listed.


{A subpage can only be created if its parent page exists.
|-
|type="()"}
| style="" |
- true
Period
+ false
|'''period'''
| -, month, week, day
| style="" |
Only changes within given period are shown. Default: No limit.


|-
| style="" |
Show only new articles
|'''new'''
|true, false
| style="" |
Only new pages will be listed. Default: All pages are shown
|-
|Heading
|'''heading'''
|text
|Adds a heading above the list
|-
|Sort by
|'''sort'''
|Title, Time
|Sort results by title or by latest edited.
|-
|Sort order
|'''order'''
|asc, desc
|Ascending or descending sort order.
|-
| style="" |
Trim
|'''trim'''
|number
| style="" |
Long article names are not cropped. Default: The title is cut off after 30 characters.


</quiz>
|-
__HIDETITLE__
| style="" |
Show text
|'''showtext'''
|true, false
| style="" |
With this option, a line of the article contents will be shown alongside the title.
 
|-
| style="" |
Trim text
|'''trimtext'''
|number
| style="" |
"trimtext" sets the number of characters of an article's content shown. This is only relevant when ''showtext="true"''). ''Note'': trimtext="0" is <u>not</u> possible.
|-
|Show namespaces
|'''showns'''
|true, false
|If true, the namespace prefix is shown with the page names.
|-
|Number with text
|'''numwithtext'''
|number
|Anzahl der Artikel die mit Einführungstext angezeigt werden sollen. Nur effektiv wenn ''showtext=true''
|-
|Meta
|'''meta'''
|true
|The username and date for the last edit are shown.
|-
|Target
|'''target'''
| -
|Obsolete
|-
| style="" |
Exclude namespace(s)
|'''excludens'''
|number or name
| style="" |
Articles from given namespaces will not be shown. The namespaces can be entered by IDs or by names (comma-separated). Default: All namespaces are included.
 
|}
 
 
'''Example output in source code:'''<pre><bs:smartlist category="ISO9001" new="true" count="7" ns="104" trim="false" /></pre>The output can be limited to recently [[Manual:Extension/ContentStabilization|approved pages]]. This can only be inserted in source edit mode:<pre><bs:smartlist period="week" sort="time" showns="0" mode="stablepages"  count="8" /></pre>
==Newbies==
The tag <code><nowiki><bs:newbies /></nowiki></code> shows  recently registered wiki users.
===Parameters===
 
{| class="contenttable" style="width:100%;" cellspacing="0" cellpadding="5" border="0"
|Label
|Parameter
|Values
|Description
|-
| style="" |
Count - '''count'''
|
|
| style="" |
The number of users to be shown; the default value is 10.
 
|}
 
===Example in wikicode===
<pre><bs:newbies count="7"/></pre>
 
==Toplist==
This tag shows a list of the most visited pages.
 
===Parameters===
 
{| class="contenttable" style="width:100%;" cellspacing="0" cellpadding="5" border="0"
!Label
!Paramter
!Values
!Description
|-
| style="" |
Count
|'''count'''
|number
| style="" |
The number of articles to be shown; the default value is 10.
 
|-
| style="" |
Namespaces
|'''ns'''
|text, text
| style="" |
Only articles from these namespace will be shown. You can put several namespaces here, separated by commas.
 
|-
| style="" |
Category
|'''cat'''
|text, text
| style="" |
Only articles from this category will be shown. You can put several categories here, separated by commas.
 
|-
| style="" |
Period
|'''period'''
|month, alltime
| style="" |
The period that should be used. The default is alltime.
 
|}
 
===Example in wikicode===
<pre><bs:toplist count="7" ns="Help|QM" /></pre>
 
{{Box Links-en|Topic1=[[Reference:BlueSpiceSmartList]]|Topic2=[[Reference:BlueSpiceInsertMagic]]}}
 
{{Translation}}
__FORCETOC__
 
[[Category:Organization]]

Revision as of 10:08, 27 February 2024


The extension SmartList allows to insert a list of pages in a wiki page using the tags smartlist, newbies, or toplist. The selection criteria can be set using a dialog box.

Available tags

The extension SmartList includes three different tags:

  • <bs:smartlist /> - display a list of pages that were edited in the last 90 days. It can be filtered by namespaces or categories.
    • Different modes are possible if the <bs:smartlist /> tag is added in source edit mode.
  • <bs:newbies /> - display a list of recently registered users.
  • <bs:toplist /> - display a list of most visited pages.

The tags can be added as content droplets.   v4.3+. Earlier BlueSpice versions contained the menu item Insert > Magic word in VisualEditor.   -v4.3

Smartlist

The <bs:smartlist /> tag shows a list of recently changed pages (<90 days) by default.

The list can be inserted in source edit mode or as a content droplet, in which case it shows up as <recentchanges /> tag in the page source..  v4.3+

In source edit mode, the smartlist tag (not the recentchangeszusätzliche Modi einstellen (nicht vorhanden für Inhalts-Droplets):*mode=stablepages

  • mode=whatlinkshere
Options of the smartlist tag
ptions of the smartlist tag

Parameters

The SmartList can be limited or extended with the following parameters:

Label Parameter Values Description

Count

count number

The number of articles to be shown. Default value: 5

Namespace(s)

ns number or name

Only articles from given namespace will be listed. The namespaces can be entered by IDs or by names. Several namespaces can be named with pipes: ns="0|2|5" or ns="Help|User|Test". Default: All namespaces are included.

Category

cat name

Only articles from given category will be listed. Selecting several categories is not possible. Default: All categories.

Category mode

catmode AND, OR

Show pages if they are in at least one of the categories (OR) or show pages if they are tagged with all categories (AND).

Show minor

minor true, false

Minor changes (changes marked with an "m" in the recent changes) will not be listed. Default: Minor changes are listed.

Period

period -, month, week, day

Only changes within given period are shown. Default: No limit.

Show only new articles

new true, false

Only new pages will be listed. Default: All pages are shown

Heading heading text Adds a heading above the list
Sort by sort Title, Time Sort results by title or by latest edited.
Sort order order asc, desc Ascending or descending sort order.

Trim

trim number

Long article names are not cropped. Default: The title is cut off after 30 characters.

Show text

showtext true, false

With this option, a line of the article contents will be shown alongside the title.

Trim text

trimtext number

"trimtext" sets the number of characters of an article's content shown. This is only relevant when showtext="true"). Note: trimtext="0" is not possible.

Show namespaces showns true, false If true, the namespace prefix is shown with the page names.
Number with text numwithtext number Anzahl der Artikel die mit Einführungstext angezeigt werden sollen. Nur effektiv wenn showtext=true
Meta meta true The username and date for the last edit are shown.
Target target - Obsolete

Exclude namespace(s)

excludens number or name

Articles from given namespaces will not be shown. The namespaces can be entered by IDs or by names (comma-separated). Default: All namespaces are included.


Example output in source code:

<bs:smartlist category="ISO9001" new="true" count="7" ns="104" trim="false" />

The output can be limited to recently approved pages. This can only be inserted in source edit mode:

<bs:smartlist period="week" sort="time" showns="0" mode="stablepages"  count="8" />

Newbies

The tag <bs:newbies /> shows recently registered wiki users.

Parameters

Label Parameter Values Description

Count - count

The number of users to be shown; the default value is 10.

Example in wikicode

<bs:newbies count="7"/>

Toplist

This tag shows a list of the most visited pages.

Parameters

Label Paramter Values Description

Count

count number

The number of articles to be shown; the default value is 10.

Namespaces

ns text, text

Only articles from these namespace will be shown. You can put several namespaces here, separated by commas.

Category

cat text, text

Only articles from this category will be shown. You can put several categories here, separated by commas.

Period

period month, alltime

The period that should be used. The default is alltime.

Example in wikicode

<bs:toplist count="7" ns="Help|QM" />

Related info

Discussions