Difference between revisions of "Footer Examples"

From Tweeki
Jump to: navigation, search
Line 22: Line 22:
 
  $wgTweekiSkinHideAll['footer-icons'] = true;
 
  $wgTweekiSkinHideAll['footer-icons'] = true;
 
   |content=<ul id="footer-places">
 
   |content=<ul id="footer-places">
 +
<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-disclaimer">[[Tweeki:General disclaimer|Disclaimers]]</li>
 +
</ul><ul id="footer-custom">
 +
<li class="dropup">[[Welcome|Login]]</li>
 +
</ul>
 +
}}
 +
 +
=== 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.
 +
 +
 +
{{footer-settings
 +
  |config-options=
 +
$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 <a class="external" rel="nofollow" href="http://creativecommons.org/licenses/by-sa/3.0/">CC-by-sa</a>.</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:52, 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
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