Difference between revisions of "Footer Examples"

From Tweeki
Jump to: navigation, search
Line 35: Line 35:
 
=== Show footer-info ===
 
=== Show footer-info ===
  
<code>footer-info</code> contains information about the time of the last edit and about the copyright. You can additionally set <code>[https://www.mediawiki.org/wiki/Manual:$wgMaxCredits $wgMaxCredits]</code> to a non-zero value to show one, some or all of the contributors to a page.
+
<code>footer-info</code> contains information about the time of the last edit and about the copyright.  
 +
 
 +
You can additionally set <code>[https://www.mediawiki.org/wiki/Manual:$wgMaxCredits $wgMaxCredits]</code> to a non-zero value to show one, some or all of the contributors to a page.
  
  
Line 41: Line 43:
 
   |config-options=
 
   |config-options=
 
  $wgTweekiSkinHideAll['footer-info'] = false;
 
  $wgTweekiSkinHideAll['footer-info'] = false;
   |content=<ul id="footer-info"><li id="footer-info-lastmod"> This page was last modified on 10 March 2017, at 19:32.</li><li id="footer-info-copyright">Content is available under [[Welcome|CC-by-sa]].</li></ul><ul id="footer-places">
+
   |content=<ul id="footer-info"><li id="footer-info-lastmod">This page was last modified on 10 March 2017, at 19:32.</li><li id="footer-info-copyright">Content is available under [[Welcome|CC-by-sa]].</li></ul><ul id="footer-places">
 
<li id="footer-places-privacy">[[Tweeki:Privacy policy|Privacy policy]]</li>
 
<li id="footer-places-privacy">[[Tweeki:Privacy policy|Privacy policy]]</li>
 
<li id="footer-places-about">[[Tweeki:About|About Tweeki]]</li>
 
<li id="footer-places-about">[[Tweeki:About|About Tweeki]]</li>

Revision as of 20:00, 10 March 2017

Default

By default, footer-info is hidden for all users, and footer-custom (with a login link as standard content) will only be shown to anonymous users.

This is how the footer looks for anonymous users:

CONFIG Messages Configuration Options
  • MediaWiki:Tweeki-footer: FOOTER
  • MediaWiki:Tweeki-footer-custom: LOGIN
$wgTweekiSkinHideAll['footer-info'] = true;

$wgTweekiSkinHideLoggedin['footer-custom'] = true;

RESULT

Settings for tweeki.thai-land.at

CONFIG Messages Configuration Options
$wgTweekiSkinHideAll['footer-icons'] = true;
RESULT

Show footer-info

footer-info contains information about the time of the last edit and about the copyright.

You can additionally set $wgMaxCredits to a non-zero value to show one, some or all of the contributors to a page.


CONFIG Messages Configuration Options
$wgTweekiSkinHideAll['footer-info'] = false;
RESULT