Manual:Footer/zh

添加链接至注脚
As of 1.17 and after 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');
 * Project:Foo (contains detailed page text).

Remember it may take a while to update due to MediaWiki caches. In case you are using, 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.

自定义内置项目
You can also customize the individual built-in items by modifying certain pages or parameters:
 * : 编辑MediaWiki:Lastmodifiedat. 如果启用了$wgMaxCredits的话，也请编辑MediaWiki:Lastmodifiedatby. 您也可以编辑MediaWiki:othercontribs，其显示其他贡献（6518）


 * 如果非零，它将显示页面编辑器
 * 就是设置$wgMaxCredits = 10;或任何其他数值
 * 就是设置$wgMaxCredits = 10;或任何其他数值


 * : 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 for the link text and set either  or  with the location of a wiki page or external URL.


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


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


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

To remove the privacy, about and/or disclaimer links entirely, replace the link text with a single dash (" ").
 * : 目前不在注脚中使用

图片

 * 参见. 

文本和图片
自2016年9月以来似乎没有標準的方法同时添加包含文本和图片的记录.

参见

 * Manual:FAQ#How can I edit / remove the Powered by MediaWiki image (and possible other images) from the footer?
 * Manual:Skinning Part 1#Footer icons and footer links (optional)