This page is a translated version of the page Skin:Foreground and the translation is 31% complete.
MediaWiki皮肤手冊 - 分类
Foreground
发行状态: 稳定版
描述 Focuses on putting your content in the foreground
作者
  • Garrick van Buren,
  • Jamie Thingelstad,
  • Tom Hutchison
MediaWiki >= 1.39.0
PHP 7.4.3+
许可协议 BSD 2-clause "Simplified" License
下载
README
CHANGELOG
示例
参数
  • $wgForegroundFeatures
Quarterly downloads 63 (Ranked 9th)
正在使用的公开wiki数 312 (Ranked 27th)
作为默认皮肤使用的公开wiki数 150
翻译Foreground皮肤(如在translatewiki.net可用)
问题 : 开启的任务 · 报告错误

The Foreground skin focuses on putting your content in the foreground. It supports responsive layouts and has classes predefined for Semantic MediaWiki. Built on Zurb's Foundation Framework (v5.5.3), a "mobile first" and advanced responsive front-end framework.

亮点

  • MediaWiki显示在底部的顶部,中间只有内容。
  • 拥有一些有用的页籤。 Built-in and responsive own tabs.
  • Smart Typography.

Choose the design of the text that you need.

  • Grid Layout.

Place your information efficiently on desktop and mobile devices

  • Full support of Font Awesome (v4.5)

安装

  • 下载文件,并将其放置在您skins/文件夹中的Foreground目录内。
  • 将下列代码放置在您的LocalSettings.php 文件的底部:
    wfLoadSkin( 'Foreground' );
    
  • 按需求配置
  •   完成 - 在您的wiki上打开Special:Version,以确认皮肤已成功安装。

  注意:

gotcha

配置

  • Page actions for non-logged-in visitors.
  • Show help and recent changes under tools.
  • Alternate WikiName sets the top navbar name allowing you to abbreviate your wiki's name.

Useful if your $wgSitename is long but you need to keep it for other purposes.

  • Display an icon in the top navbar.
  • Able to produce a meta tag with "X-UA-Compatible" content="IE=edge" to force IE to use the latest browser engine.

For instances when someone has their browser set in compatibility mode.

  • Output the footer icons or suppress them showing only text.
  • AddThis PubID to enable follow icons in the footer.

See the README file for information on how to install and configure this skin.

參見