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   file will add a new "Terms of Use" link after the disclaimer link.

From there you can put "Terms of Use" 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 Use link to point to. Note, if you do not create these pages on your wiki, then nothing will appear in the footer.

Another example, if you are writing an extension using MediaWiki 1.28 or later. (1) Add this to your extension.json: (2) Add this to your MyExtension.hooks.php:

(3) Create three pages:
 * Mediawiki:FooLabel (contains text to display in footer, like 'Foo');
 * Mediawiki:FooPage (contains namespace:title of linked page, like 'Project:Foo');
 * <tvar|page2>Project:Foo</> (contains detailed page text).

Remember it may take a while to update due to file-cache>Special:MyLanguage/Manual:File cache</>|MediaWiki caches. In case you are using ext-mobfrontend>Extension:MobileFrontend</>|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.

Customizing the Built-in items
You can also customize the individual built-in items by modifying certain pages or parameters:
 * <tt>lastmod</tt>: edit MediaWiki:Lastmodifiedat. If $wgMaxCredits is enabled then edit MediaWiki:Lastmodifiedatby. You may also want to edit MediaWiki:othercontribs that shows other contributors. (6518)


 * <tt>viewcount</tt>
 * edit <tvar|mw-viewcount>MediaWiki:Viewcount</>
 * set <tvar|code><tt> = false;</tt></>


 * <tt>numberofwatchingusers</tt>
 * edit <tvar|mw-num>MediaWiki:Number of watching users pageview</>.
 * This only appears if you also add <tvar|code> </> to <tvar|ls>LocalSettings.php</>.


 * <tt>credits</tt>
 * if <tvar|wgMaxCredits></> is not zero it will display page editors
 * i.e. set <tvar|code><tt>$wgMaxCredits = 10;</tt></> or any other number


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


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


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


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


 * <tt>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 ("<tvar|dash> </>").

Images

 *  See <tvar|wg></>. 

Text and Images
Currently (as of September 2016) there does not seem to be a way (an easy way?) to add an entry, which consists of text and an image at the same time. This still is a missing feature.