Kulit: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 31% 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. However, you still need to follow the other instructions provided.
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

Sebuah kulit berbasis Winter dan sebuah upaya untuk memasukkan semua usulan yang masuk akal dari diskusi Warung kopi 2015 ini menjadi sebuah kulit. Shh. Jangan beritahu mereka. Mereka pikir saya tidak serius.

Timeless sangat mendukung desain web responsif dan dioptimalkan untuk berbagai lebar layar mulai dari telepon genggam yang sempit hingga monitor yang lebar.

Tidak seperti kulit minimalis Minerva , yang merupakan kulit default untuk telepon genggam, Timeless menerapkan fungsionalitas dari tema berfokus desktop seperti Skin:Vector , kulit default desktop, ke semua ukuran layar.

Selain itu, Timeless menawarkan pintasan mudah ke daftar kontribusi pengguna di bar paling atas, di sebelah tombol "Sunting" dan "Versi terdahulu".

Tujuan umumnya adalah membuat sebuah kulit yang secara penuh mengedepankan perkakas konten dan penyuntingan, dengan banyak mode penglihatan untuk memperlihatkan semuanya, berfokus hanya di konten (winter), atau berpindah ke penglihatan gelap/malam. Suatu hari ini akan bekerja.

Dengan Skin:Timeless-DarkCSS , pengguna bisa secara manual mengaktifkan latar belakang gelap untuk mengurangi tegangan pada mata dan menyimpan tenaga tampilan AMOLED. Instruksinya tersedia di halaman itu.

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.

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.

Pemasangan

  • Download and place the file(s) in a directory called Timeless in your skins/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadSkin( 'Timeless' );
  • Configure as required.
  • Yes Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.

Configuration

The following are only supported in MediaWiki 1.34+

$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): 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
];
To use File:Cows.svg uploaded onwiki:
$wgTimelessLogo = 'Cows.svg';
  • Note that uploaded logos work best as svgs or as 2x- or higher-sized rasters, and will be scaled down for each target resolution. 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.