Skin:Vector/2022/cs: Difference between revisions
Created page with "Skin:Vector/2022" |
(No difference)
|
Revision as of 20:37, 12 February 2024
Vector 2022 Stav rozšíření: stabilní |
|||
---|---|---|---|
Zásady kompatibility | Vydání snímků následuje MediaWiki. Master zachovává zpětnou kompatibilitu. | ||
Composer | mediawiki/vector-skin | ||
Licence | GNU General Public License 2.0 nebo pozdější | ||
Ke stažení | |||
Příklad | https://en.wikipedia.org/ https://vi.wikipedia.org/ https://test.wikipedia.org/ |
||
|
|||
Čtvrtletní stahování | 704 (Ranked 1st) | ||
Používání veřejných wikin | 14,010 (Ranked 2nd) | ||
Veřejné wikiny používající jako výchozí vzhled | 5,943 | ||
Přeložte rozšíření $2, používá-li lokalizaci z translatewiki.net | |||
Vagrant role | vector | ||
Problémy : | Otevřené úkoly · Nahlásit chybu |
Vector 2022 is the second evolution of the MediaWiki Vector skin and is in development as part of the Desktop improvements project. It has been bundled in MediaWiki since MediaWiki 1.38 . It is the default skin for various Wikimedia projects.
Vector 2022 differs from most skins in that it does not have its own code base; rather, its code is part of the Vector skin's, and the two are downloaded together.
Version MediaWiki 1.38 of this skin marked official 3rd party support.
Note that sites running MediaWiki 1.36 or 1.37 is using Vector 2022, will hit challenges when upgrading to the 1.38 release. See T299104 and Rozšíření:WikimediaMaintenance for more details.
Installation
- Stáhněte soubor/y a vložte je do adresáře pojmenovaného
Vector
ve vaší složceskins/
. - Na konec vašeho souboru LocalSettings.php přidejte řádek s následujícím kódem:
wfLoadSkin( 'Vector' );
- Configure as required.
- Dokončeno - Přejděte na stránku Special:Version vaší wiki a zkontrolujte, zda bylo zobrazení úspěšně nainstalováno.
Optional dependencies
Vector 2022 can make use of the following extensions if they are installed, though none are required:
- UniversalLanguageSelector - for the language switch button
- PageImages - to include an image for each page (if available) in the search bar
- ShortDescription - to include a description for each page in the search bar (Wikimedia projects have similar functionality, but not using this extension)
Configuration
Making Vector 2022 the default skin
Since MediaWiki 1.38 and higher, add the following to LocalSettings.php to make Vector 2022 the default skin:
$wgDefaultSkin = 'vector-2022';
Parameters
Note that Vector 2022 has several unstable feature flags, which may disappear at any time. Most of these feature flags relate to incomplete features. We do not recommend changing any feature flag from its default value unless listed here.
$wgVectorMaxWidthOptions
- Can be used to configure whether the max-width applies. Relatively stable at this point.$wgVectorLanguageInMainPageHeader
- Controls whether the language button shows on the main page in the header.
$wgVectorWvuiSearchOptions
- Associative array with keysshowDescription
andshowThumbnail
(both booleans).
See also
Tento vzhled je zahrnut v následujících wiki farmách/hostitelích a/nebo balíčcích: Toto není autoritativní seznam. Některé wiki farmy/hostitelé a/nebo balíčky mohou obsahovat tento vzhled, i když zde nejsou uvedeny. Pro potvrzení se vždy obraťte na své wiki farmy/hostitele nebo balíček. |
- Skins bundled with MediaWiki 1.38/cs
- GPL licensed skins/cs
- Stable skins/cs
- Skins supporting Composer/cs
- Skins in Wikimedia version control/cs
- All skins/cs
- Skins included in Canasta/cs
- Skins available as Debian packages/cs
- Skins included in Miraheze/cs
- Skins included in MyWikis/cs
- Skins included in ProWiki/cs
- Skins included in semantic::core/cs
- Skins included in ShoutWiki/cs
- Skins included in Telepedia/cs
- Skins included in wiki.gg/cs
- Skins included in WikiForge/cs
- Vector skin/cs