皮肤:Timeless

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Skin:Timeless and the translation is 100% complete.

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Esperanto • ‎español • ‎français • ‎italiano • ‎русский • ‎فارسی • ‎中文 • ‎日本語
This skin comes with MediaWiki 1.31 and above. Thus you do not have to download it again. 然而,您仍需要跟随提供的其他指导。
MediaWiki皮肤手册 - 分类
Crystal Clear device blockdevice.png
Timeless
发布状态: 测试
Timeless MediaWiki Skin.png
作者 Isarra
MediaWiki 1.31+
许可 GPL-2.0-or-later
下载
例子 mediawiki.org
参数
* $wgTimelessBackdropImage
翻译Timeless皮肤(如果在translatewiki.net可用)
检查使用和版本矩阵。
问题 : 开放的工作 · 报告错误

基于Winter的的皮肤,并加入了所有在2015年互助客棧討論中提及的合理的建议。嘘。不要告诉他们。他们觉得我不是认真的!

总的目的是制作一个强调内容和编辑工具的功能齐全的皮肤,有多重视图模式以显示所有内容或专注于内容(winter),也可用于白天/夜晚模式切换。将来会实现这一点。

安装

  • 下载文件,并将其放置在您skins/文件夹中的Timeless目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
wfLoadSkin( 'Timeless' );
  • Configure as required.
  • Yes 完成 - 在您的wiki上打开至Special:Version,以确认扩展已成功安装。

Configuration

$wgTimelessBackdropImage (string, default 'cat.svg')
Set it as you would $wgLogo to an appropriate background image. Recommendation is an svg set to 500-750px wide: svg for HiDPI support; the size can really be whatever, but where that will result in a similar behind-content look as with the default cat.
For a background to potentially also work unmodified with other background-colour themes if and when they are later implemented, a transparent single-colour image is recommended, with 20-50% opacity black/white, where the alpha values of the b/w parts are likewise around 10-50/255, as this should allow it to work on most anything that isn't pure white/black.
Examples (which actually don't follow the above recommendation and thus probably won't work on dark backgrounds): File:Timeless backdrop (wiktionary).svg and File:Timeless backdrop (metawiki).svg