Topic on Project:Support desk

Jump to navigation Jump to search

How to delete a default footer link in MediaWiki >=1.35.0?

8 (talkcontribs)

I have an Hebrew MediaWiki 1.34.0 website with the Timeless responsive skin.

I desire to delete one of the default links of the default footer menu of that site, programatically, by PHP (most probably with a hook);

I desire not to delete the link with an installed extension or via frontend (although if it is possible in PHP, I would gladly use a CSS selector to select that particular link, by PHP).

How to delete a default footer link in MediaWiki >=1.35.0? (talkcontribs)

I seek an all-LocalSettings.php solution (talkcontribs)

@Malyacko I think that this manual chapter is totally unhelpful because it only show how to unset a "powered by" text and some frontend tricks that I already stated I personally don't want, so what did you mean by linking to it?... Or was it a mistake?...

TiltedCerebellum (talkcontribs)

The link that Malyacko provided has an example of how to do it via LocalSettings.php... Please read the second example and the text above it. (talkcontribs)

@TiltedCerebellum I have re read there;

It starts by:

How do I change the footer?

See: Manual:Footer, Manual:Configuration settings#Copyright

And ends by:

Note that this will also remove other powered-by icons, e.g. also the one coming from BlueSpice.

If you wish to change the icon images, urls, alt text, or add new icons please see $wgFooterIcons' documentation.


I found nothing about deleting standalone links (which aren't "powered by") in the footer, in that chapter.

TiltedCerebellum (talkcontribs)

And in between it has:

"If you want to remove it completely, you can use $wgFooterIcons to remove it using this in your LocalSettings.php:"

unset( $wgFooterIcons['poweredby'] );

And it links to a page with this:


You can use the information provided in that link add/keep/change the ones you want. It still don't quite understand why you won't just hide it with css. (talkcontribs)


I don't do it with CSS because it creates a non elegant source and because it is potentially an SEO problem; furthermore, I don't want to habit myself of removing things via frontend.

Reply to "How to delete a default footer link in MediaWiki >=1.35.0?"