Manual:Footer

Add links to the footer
As of 1.17 you can modify the list of links in the footer using the to modify the footerlinks arrays and setting new template keys for the values.

For example, putting this in your LocalSettings.php will add a new "Terms of Service" link after the disclaimer link.

From there you can put "Terms of Service" in the page on your wiki, for the link's text and in  define the title of the page that you want the Terms of Service link to point to. Note, if you do not create these pages on your wiki, then nothing will appear in the footer.

Remember it may take a while to update due to MediaWiki caches. In case you are using Extension:MobileFrontend, which inserts a "Mobile view" link in the footer after the disclaimer link, the new footer links will come after the "Mobile view" link. To solve this, insert the above new footer links code before the code lines used to load the MobileFrontend extension.

Before Mediawiki 1.17, to add or remove items from the footer on your MediaWiki page, you must edit the individual skin.

For example: if you go in to MonoBook.php (located by default in the skins folder) you will find the following code:

In the above you can simply add and remove items from the array that you wish to appear in your footer. This must be done for each skin. It may take a while to update due to MediaWiki caches.

Customizing the Built-in items
You can also customize the individual built-in items by modifying certain pages or parameters:


 * lastmod
 * - edit MediaWiki:Lastmodifiedat. If $wgMaxCredits is enabled then edit MediaWiki:Lastmodifiedatby. You may also want to edit MediaWiki:othercontribs that shows other contributors. (6518)
 * - edit MediaWiki:Lastmodified. If $wgMaxCredits is enabled, then edit MediaWiki:Lastmodifiedby. You may also want to edit MediaWiki:othercontribs that shows other contributors. (6518)


 * viewcount


 * edit MediaWiki:Viewcount
 * set $wgDisableCounters = false;


 * numberofwatchingusers
 * edit MediaWiki:Number of watching users pageview.
 * This only appears if you also add  to LocalSettings.php.


 * credits
 * if $wgMaxCredits is not zero it will display page editors
 * i.e. set $wgMaxCredits = 10; or any other number


 * copyright
 * edit MediaWiki:Copyright. The parameter $1 on that page is replaced with a link to the details of copyright for your wiki. In LocalSettings.php $wgRightsText for the link text and set either $wgRightsPage or $wgRightsUrl with the location of a wiki page or external URL.


 * privacy</tt>
 * this is a link only. Edit MediaWiki:Privacy for the link text and MediaWiki:Privacypage for the wiki page to which to link.


 * about</tt>
 * this is a link only. Edit MediaWiki:Aboutsite for the link text and MediaWiki:Aboutpage for the wiki page to which to link.


 * disclaimer</tt>
 * this is a link only. Edit MediaWiki:Disclaimers for the link text and MediaWiki:Disclaimerpage for the wiki page to which to link.


 * tagline</tt>
 * not currently used in the footer

To remove the privacy, about and/or disclaimer links entirely, replace the link text with a single dash (" ").

Images

 * See .