Last edited 2 years ago
by WikiSysop

6 Footer

(Created page with "The footer contains the links to your privacy policy and other pages. If you don't need them, you can also remove them from your user interface. ==Creating the linked target p...")
 
No edit summary
Line 1: Line 1:
The footer contains the links to your privacy policy and other pages. If you don't need them, you can also remove them from your user interface.
The footer contains 3 links to your privacy policy and other pages. If you don't need them, you can also remove them from your user interface or rename them to change their purpose. Additional links cannot be added.
==Creating the linked target pages==
==Creating the linked target pages==
The content for the links in the footer must first be created. By default, all users with edit permissions can click on a link in the footer to create the corresponding page. It is stored in the ''Project'' [[Namespaces|namespace]].  
The content for the links in the footer must first be created. By default, all users with edit permissions can click on a link in the footer to create the corresponding page. It is stored in the ''Project'' [[Namespaces|namespace]].  
Line 9: Line 9:
In the following example, we change the link text ''About (sitename)'' to ''Legal information''. In addition, we link to the new target page ''Legal:Terms''.  
In the following example, we change the link text ''About (sitename)'' to ''Legal information''. In addition, we link to the new target page ''Legal:Terms''.  


#Change the link text from  ''About (sitename)'' to ''Legal information'':
#'''Create''' or open the page ''MediaWiki:Aboutsite.''
#Open the page ''MediaWiki:Aboutsite''.
#'''Change''' the text from  ''About (sitename)'' to ''Legal information.''
##Add the text ''Legal information'' to the empty page.  If you later want to switch back to the standard label, you can remove the custom text at that time.
#'''Open''' the page ''MediaWiki:Privacypage''.
#To link the ''Legal information'' to a page that is different from the standard page ''MediaWiki:Privacypage'':
#'''Change''' the text to ''Legal:Terms''.
##Open the page ''Project:Impressum''.
The footer now shows a link label of ''Legal information'' and the link opens the page ''Legal:Terms''.
##Redirect the page ''Project:Impressum'' to your custom page, e.g. ''Legal:Terms''.


==Standard configurations==
==Standard configurations==
The following table shows the default pages that are used to create the footer links and their associated target content.
The following table shows the default pages that are used to create the footer links and their associated target content.


'''Example: Privacy  policy'''
{| class="contenttable-blue" style="width:100%;"
 
*'''Standard link text:''' If the page ''MediaWiki:Privacy'' does not exist, the link shows the standard link text "Privacy policy" and points to the standard target page ''Project:Privacy policy''.
*'''Custom link text:''' If the page ''MediaWiki:Privacy'' does exist and has as its content the term ''Privacy'', the footer link displays ''Privacy''.
*'''Removed link:''' If the page MediaWiki:Privacy exists but has no content, the link is removed from the footer.
 
{| class="contenttable-blue" style=""
|+
!Footer link
!Footer link
!Link text defined in
!Link text defined in
Line 34: Line 26:
|'''Privacy policy'''
|'''Privacy policy'''
|MediaWiki:Privacy
|MediaWiki:Privacy
(Standardtext: Datenschutz)
|MediaWiki:Privacypage
|MediaWiki:Privacypage
|Project:Privacy policy
|Project:Privacy policy
Line 55: Line 46:
To link one of these footer links to an external web page, you first have to define an interwikilink for the external website.
To link one of these footer links to an external web page, you first have to define an interwikilink for the external website.


'''Example:''' Linking the Privacy policy to the external page  <nowiki>https://mysite.com/privacy/</nowiki>.
'''Example:''' Linking the Privacy policy to the external page  https://mysite<nowiki/>.com/privacy/.
 
#'''Define''' the interwikilink for the domain ''mywiki.com'' on the page ''Special:InterWikiLinks'' (interwiki prefix: mywiki).  <br />[[File:Footer 1.png|alt=Interwiki link|none|thumb|450x450px|Interwiki link]]<br />
#'''Insert''' the interwikilink on the link target page ''MediaWiki:Privacypage'' and save the page.     Syntax: <code>interwiki-prefix:target-page</code>.  <br />[[File:Manual:interwikilink-datenschutz.png|center|thumb|450x450px|Creating an external footer link|link=Special:FilePath/Manual:interwikilink-datenschutz.png]]<br />


==Adding more links==
#'''Define''' the interwikilink for the domain ''mysite.com'' on the page ''Special:InterWikiLinks'' (interwiki prefix: mysite).  <br />[[File:Footer 1.png|alt=Interwiki link|none|thumb|450x450px|Interwiki link]]
Additional links such as ''Change cookie consent'' or ''Analysis service a''re automatically created by the corresponding extensions. To add custom links, a server administrator has to change the [[mediawikiwiki:Manual:Footer|related server settings]].  
#'''Insert''' the interwikilink on the link target page ''MediaWiki:Privacypage'' and save the page.     [[File:Footer 2.png|alt=External footer link|none|thumb|750x750px|External footer link]]Syntax: <code>interwiki-prefix:target-page</code>. <br />


{{Box Links-en|Topic1=https://www.mediawiki.org/wiki/Manual:Footer|Topic2=[[Manual:Extension/BlueSpiceDiscovery|BlueSpice Layout]]}}
{{Box Links-en|Topic1=https://www.mediawiki.org/wiki/Manual:Footer|Topic2=[[Manual:Extension/BlueSpiceDiscovery|BlueSpice Layout]]}}

Revision as of 15:44, 28 September 2022

The footer contains 3 links to your privacy policy and other pages. If you don't need them, you can also remove them from your user interface or rename them to change their purpose. Additional links cannot be added.

6.1 Creating the linked target pages

The content for the links in the footer must first be created. By default, all users with edit permissions can click on a link in the footer to create the corresponding page. It is stored in the Project namespace.

6.2 Changing the standard links

The wiki has 3 standard links that are managed in the user interface: Privacy policy, About (sitename) und Disclaimers.

Example: About (sitename)

In the following example, we change the link text About (sitename) to Legal information. In addition, we link to the new target page Legal:Terms.

  1. Create or open the page MediaWiki:Aboutsite.
  2. Change the text from About (sitename) to Legal information.
  3. Open the page MediaWiki:Privacypage.
  4. Change the text to Legal:Terms.

The footer now shows a link label of Legal information and the link opens the page Legal:Terms.

6.3 Standard configurations

The following table shows the default pages that are used to create the footer links and their associated target content.

Footer link Link text defined in Link target defined in Standard target page
Privacy policy MediaWiki:Privacy MediaWiki:Privacypage Project:Privacy policy
About (sitename)) MediaWiki:Aboutsite MediaWiki:Aboutpage Project:About
Disclaimers MediaWiki:Disclaimers MediaWiki:Disclaimerpage Project:General disclaimer
Important!Both the page for the link text as well as the page for the link target cannot be empty. If one of them is empty, no footer link is generated. To suppress a footer link, you can leave one of the two pages empty.


6.4 Linking external target pages

To link one of these footer links to an external web page, you first have to define an interwikilink for the external website.

Example: Linking the Privacy policy to the external page https://mysite.com/privacy/.

  1. Define the interwikilink for the domain mysite.com on the page Special:InterWikiLinks (interwiki prefix: mysite).
    Interwiki link
    Interwiki link
  2. Insert the interwikilink on the link target page MediaWiki:Privacypage and save the page.
    External footer link
    External footer link
    Syntax: interwiki-prefix:target-page.

Related info

de:Aufbau von BlueSpice/Fußleiste