Manual talk:Footer

Add normal text to footer
Hi! I'd like to add a completely different text in the footer, something like "i love u" (along with "disclaimer", "lastmod"). I looked here: "Footer" and I found out how to change "$wgRightsText", but it's not what I'm looking for (it displays "Content is available under" before the text). I've tried this way too, but it doesn't work either: $footerlinks = array(			'info' => array( 'i love u', "i love u", 'numberofwatchingusers', 'copyright', ),		); I'd like to simply add some more text to this footer...seems easy, but I may have my blond moment... Thanks! ps: Im running MW 1.16...


 * Bump. I'd also love to do this, but using MW1.26

Footer not wrapping
Using MW1.6.8 and when viewed through IE7 the footer links are all shown in one long line. Wikipedia doesnt have this problem. I thought I would disable the poweredby icon but I'm not sure how. Any suggestions?


 * I disabled the nowrap line inside main.css and it now folds nicely. Look for the comment 'hide from incapable browsers' and comment the next line out.


 * (See First question below. --Thnidu 23:07, 5 February 2010 (UTC))

More generic solution?
The manual mentions: "For example if you go in to MonoBook.php you will find the following code" and "this must be done for each template". Both statements are true, but the code in the various skins are not identical. I'm not familiar with php, so what I could find is the '$footerlinks' solution in Monobook and something to do with 'bottomLinks' in CologneBlue, Nostalgia and 'Standard'. However, I'm not sure how to modify this code, and I have no idea how other skins work. It would be nice if someone could describe this topic in more detail.

Ultimately my goal would be to add something to the footer for all skins. I definitely want to enable the copyright statement (which I can probably do in LocalSettings, I'll look it up), but it would also be nice to add some plain text, e.g. like Wikipedia has ("Wikipedia® is a registered trademark...").

Where?
$footerlinks = array(       'lastmod', 'viewcount', 'numberofwatchingusers', 'credits', 'copyright',        'privacy', 'about', 'disclaimer', 'tagline', );

Where is this? I can't find it in Monobook.php.Dagoth Ur, Mad God 01:10, 26 July 2008 (UTC)
 * For one thing, it's MonoBook.php and it's in there. - JCM

Not present in monobook.php ver. 1.18.1 - BW

Javascript?
HOW can I do the same in Monobook.js ??????? 89.12.9.51 01:36, 30 January 2011 (UTC)

External links?
I'd like to set up an external disclaimers-page. Can I set the URL as it is in *:Disclaimerpage? And (sorry I'm new in MediaWiki) what's up with other languages (im my case: german) is the name of those "setting-pages" translated? And if it is... how can I find it? Where is the name defined? -- Deus Figendi

What's credits?
"credits" is in the php code line, but what is it? No manual page, and a search for "credits" gives 120 hits, the first 20 of which are irrelevant: e.g., --Thnidu 22:53, 5 February 2010 (UTC)
 * The Contribution Credits extension adds...
 * Also, be sure to include a credits block in...
 * It seems to be related to Manual:$wgMaxCredits --Frantik 23:26, 15 May 2010 (UTC)

First question
The first question on this page didn't have a level-2 header, so the answer to it -- which did -- came after the TOC. I rearranged it -- hope this is OK. --Thnidu 23:07, 5 February 2010 (UTC)

Add image to footer?
Hi all,

I run MW1.16 and I've tried to add a normal image to my footer, but I don't get how to. This following code (in Vector.php) is wrong, but does someone know why?

and could I fix it? Thx a lot!

This array is not the same in 1.17.0
It would be nice if these instructions could be updated for 1.17.0. Still can't figure out where the array is to add a link to the footer. Went to MonoBook.php, but the footer text looks different now.

Bad information for 1.17
This recommendation in a mw.org manual here to modify the core code in SkinTemplate is absolutely horrible. That footerlinks array was added because it meant you could use the existing SkinTemplateOutputPageBeforeExec hook to modify the array without modifying any core code or skin code. Suggesting to modify core code that was added to make editing skin code unnecessary is ridiculously counter-productive. Dantman 20:58, 1 September 2011 (UTC)
 * cant you put it back to how it was before?
 * You wan't me to undo instructions on how to properly add footerlinks and replace it with the suggestion to modify core code? Can you give me a valid reason for that? 96.48.217.226 19:27, 21 October 2011 (UTC)
 * I mean revert the code back to the old way to change the footer so I dont need to add a load of code to my local settings or having to edit skin files just to be able to remove a link. 146.227.1.15 15:52, 7 November 2011 (UTC)
 * Its really hard to customize a footer atm if you are not a programmer. Could anyone make better instructions how to do it?
 * Unfortunately that's just the situation right now. There was to much legacy coded into the skin templates to make footer links friendly to modify. Making footer links friendly to use will require a more involved and disruptive change in the future. Daniel Friesen (Dantman) (talk) 00:09, 14 March 2013 (UTC)
 * Thank you very much for a reply. So this feature would not be available in nearby future?
 * Not sure about near future. It's a non trivial code change and I don't have the time to work on it. Daniel Friesen (Dantman) (talk) 17:54, 16 March 2013 (UTC)

restored some information
the new instructions were to technical and hard to understand. The new removed/minimized how to change the footer before 1.16.

So I merged and added back much of those edits here: 

Igottheconch 22:39, 13 January 2012 (UTC)

Colors
Is there a simple way to change border colors for the footer in MW 1.18? --89.139.191.243 12:29, 9 March 2012 (UTC)


 * I guess you are talking about the MonoBook skin. Adding this to "MediaWiki:Monobook.css" will e.g. change them to orange:


 * Just change the hex (#......) to the colour you like. --&#91;&#91;kgh&#93;&#93; (talk) 20:45, 23 June 2014 (UTC)

How do I remove a link from the footer?
The instruction is for adding a link. Alright! But How do I remove the disclaimer link in the footer?


 * Just remove the word "Disclaimer" from system message "MediaWiki:Disclaimers" (as the sysop user). To delete the system message will however not work. --&#91;&#91;kgh&#93;&#93; (talk) 20:35, 23 June 2014 (UTC)


 * This works, but is there a hook with which one can remove footer link (like disclaimer, privacy policy) without making changes to the default skin's file?


 * You do not have to do this. Just remove the text form the respective system messages on the wiki itself. --&#91;&#91;kgh&#93;&#93; (talk) 14:03, 5 May 2017 (UTC)

How do you define the title of the page that you want the Terms of Service link to point to?
What do you put on MediaWiki:Termsofservice page to do that?


 * The name is of the system message is "MediaWiki:Termsofservicepage" (no blank) and you just add the title of the page the link should point to to this page. If this page is not in the main namespace you just prepend the namespace prefix like e.e. Project:Terms_of_Service. --&#91;&#91;kgh&#93;&#93; (talk) 13:03, 5 May 2017 (UTC)

Adding 2 or more links >1.17
Is there a way of adding more than 1 extra link to the footer? How would this code need to get changed? Simply copying this blanks the wiki. Correct subsitution of "termsofservice" and "termsofservicepage" goes without saying. --Zabien (talk) 20:00, 10 June 2015 (UTC)


 * A bit late to answer but perhaps this helps other. Just add the hook twice or more times into you "LocalSettings.php" file. Cheers --&#91;&#91;kgh&#93;&#93; (talk) 12:58, 5 May 2017 (UTC)

Show new links in Special:AllMessages
Another small question: How can I get the new, extra added footer links (via the code with SkinTemplateOutputPageBeforeExec to show up under Special:AllMessages? Or is there a reason for why they shouldn't? --Zabien (talk) 20:09, 10 June 2015 (UTC)


 * Good question. I cannot tell. However it shows up on "Special:PrefixIndex" which should be good enough to find them once content to the custom system messages was added. --&#91;&#91;kgh&#93;&#93; (talk) 13:05, 5 May 2017 (UTC)