How to remove the additional footer links in MediaWiki?

By default, MediaWiki shows additional items in the footer such as the time of the last page modification, the privacy policy, etc.

You can remove these items by modifying the skins file of your MediaWiki. The default skin's file isskins/MonoBook.php.

Open the file with a text editor and find this section:

       // Generate additional footer links
?>
            <ul id="f-list">
<?php
        $footerlinks = array(
            'lastmod', 'viewcount', 'numberofwatchingusers', 'credits', 'copyright',
            'privacy', 'about', 'disclaimer', 'tagline
',
        );

The items in the array represent the footer links in your MediaWiki. If you wish to remove a certain item from your footer, you should delete its entry from the array.

For example, if you wish to remove the Privacy policy link, you should delete the 'privacy' item from the array. Then open your MediaWiki in a browser and clean the page cache to see the change.

You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to assign users to groups in MediaWiki?

If you want to grant extra permissions to some of your registered users in MediaWiki, you have to...

How to get complex math formulas working in MediaWiki

This article explains how to overcome issues with Math formulas not properly displaying in...

How to convert your MediaWiki database to SQLite?

Sometimes, when you have a very popular MediaWiki web site with a lot of articles, the database...

I am getting ‘libgomp: Thread creation failed: Cannot allocate memory’ when uploading images to MediaWiki.

This error message appears when you try to upload an image with large dimensions to a MediaWiki...

How to run the MediaWiki update script through a browser?

By default, when upgrading MediaWiki, you have to run the update.php file from a command prompt....