스킨:타임리스

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Skin:Timeless and the translation is 38% complete.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Esperanto • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎русский • ‎עברית • ‎فارسی • ‎中文 • ‎日本語 • ‎한국어
This skin comes with MediaWiki 1.31 and above. Thus you do not have to download it again. 하지만 여전히 제공되는 별개의 지침을 따라야 합니다.
MediaWiki skins manual - category
Crystal Clear device blockdevice.png
Timeless
Release status: beta
Timeless MediaWiki Skin.png
Author(s) Isarra
MediaWiki 1.31+
License GNU General Public License 2.0 or later
Download
Example
Parameters
* $wgTimelessBackdropImage
Translate the Timeless skin if it is available at translatewiki.net
Check usage and version matrix;
Issues : Open tasks · Report a bug
Wikipedia homepage in the Timeless skin viewed on a mobile phone

Winter기반의 스킨이며, 스킨에 this 215 Village pump discussion에서 제안된 모든 실용적인 것들을 통합하려는 시도입니다. 쉿. 말하지 말아요. 내가 진지하지 않다고 생각했었습니다.

Timeless highly supports responsive web design and is optimized for a multitude of screen widths ranging from narrow mobile phone screens up to wide monitors.

Unlike the minimalistic skin Minerva , which is the default skin for mobile phones, Timeless incorporates the functionality of a desktop-focussed theme such as 스킨:벡터 , the default desktop skin, onto all screen sizes.

In addition, Timeless offers a distinct convenient shortcut to the user contribution list in the top bar, next to the “편집” and “역사 보기” buttons.

일반적 목표는 오직 내용에 초점을 맞추고(winter), 또는 어둡게/밝게 보여주는 것으로 전환하는, 모든 것을 보여주기 위한 다중 보기 모드에서, 내용 및 편집 도구 모두가 강화된 완전한 기능을 가진 스킨을 만드는 것입니다. 언젠가 실현될 것입니다.

With Skin:Timeless-DarkCSS , users are able to manually enable a dark background for reducing eye strain and power saving on AMOLED displays. Instructions are available on that page.

Responsive website design details

This section is based on the default configuration.

≥1340 pixels

Above a simulated screen width of 1340 pixels, the site is visible in three columns. Some site navigation sections are on the left side of the content area (e.g. “Navigation”, “Tools) while some are on the right side (“More”, “Print/Export”, “In other languages”, “In other projects”, “categories”) are on the right side.

Starting at a simulated browser viewport width of around 1900 pixels, the width of the center column with the content is fixed to 1261 pixels, while on the earlier skins Vector and MonoBook, it is able to extend indefinitely with screen width.

1339 to 1100 pixels

The site is visible in two columns. The site navigation sections on the right side of the content area move to the left side below the existing sections.

Less than 1100 pixels

The site is visible on one column. The content area fills the entire screen space. Categories appear at to the bottom of the page, where they are on Vector and Monobook.

The site navigation sections are collapsed into a top navigation bar with text labels.

Less than 851 pixels

Below 851 pixels, the responsive design of Timeless adapts to mobile phone screens.

The text labels on the navigation elements above the content area (e.g. “Article”, “Discussion”, “Edit”, “Edit source”, “History”) are not shown to save horizontal space; only the icons are shown instead of both.

The site navigation sections are collapsed into a top navigation bar with icon labels.

설치

  • 파일을 다운로드해서, skins/ 폴더 내의 Timeless 이라는 이름의 디렉터리 내에 설치합니다.
  • 아래의 코드를 LocalSettings.php의 말미에 추가합니다:
wfLoadSkin( 'Timeless' );
  • 필요에 따라 구성
  • Yes 완료 - 위키의 ‘Special:Version’에 이동해서, 스킨이 올바르게 설치된 것을 확인합니다.

환경 구성

다음은 MediaWiki 1.34+에서 만 지원됩니다.

$wgTimelessBackdropImage (string, default 'cat.svg')
$wgLogo를 적합한 배경 이미지로 설정하십시오. 권장 사항은 HiDPI지원을 위한 svg인 500-700px 너비로 설정한 svg인데, 크기는 실제 무엇이든 사용할 수 있지만, 기본 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): Timeless backdrop (wiktionary).svg and Timeless backdrop (metawiki).svg
$wgTimelessLogo (null|string|array, default null)
Special logo rendering, allowing for custom logos for Timeless specifically (such as a square logo version without the wordmark in order to avoid duplication with the header). Also provides slightly better HiDPI support than using $wgLogoHD, as that only works for 135x135px logos, and scales all high-res logos down to this size.
Can be used to point Timeless at a File uploaded onwiki (remember to protect the file if using this) simply by providing the file name, or you can specify the logo path details manually using an array.
To reuse a $wgLogo and $wgLogoHD already set for a nominally 160x160px logo, but where the HD versions also come out the right size:
$wgTimelessLogo = [
	'1x' => $wgLogo,
	'1.5x' => $wgLogoHD['1.5x'],
	'2x' => $wgLogoHD['2x'],
	'width' => 160,
	'height' => 160
];
위키에 업로드한 File:Cows.svg을 사용하기 위해
$wgTimelessLogo = 'Cows.svg';
  • 업로드된 로그는 svg 또는 2x- 또는 더큰 크기의 래스터에서 최상으로 동작하며 각 대상 해상도로 축소되게 된다는 것에 주의하십시오. Obviously this approach requires file uploads and thumbnailing to be enabled.
  • Recommended nominal sizes probably around 135px to 165px.
$wgTimelessWordmark (null|string|array, default null)
To use an image instead of the default Linux Libertine serif text for the header banner wordmark. Same usage approach as $wgTimelessLogo.
So the english Wikipedia might use Wikipedia wordmark.svg, like so:
$wgTimelessWordmark = 'Wikipedia wordmark.svg';
Or specify an array of each resolution version, plus the dimensions, per above (more likely with them, frankly).
  • If not using an uploaded file onwiki, specifying the dimensions is required.
  • Recommended nominal size up to 200px wide by 38px tall.