Manual:$wgLogos/de

Details
Ein Array (Feld) mit Faktoren und seinen verbundenen relativen Pfaden oder URL-Pfad zu unterschiedlichen Versionen des Wiki-Logos. (z.B. das sichtbare Bild in der oberen linken Ecke der Seite der meisten MediaWiki Installationen).



Unterstützte Varianten

 * Die Icon Version
 * Es sollte ein Viereck sein und sollte nominal 50x50 Pixel für ein SVG oder 100x100 Pixel haben, wenn das Raster HiDPI unterstützen soll. SVG wird aber empfohlen. Derzeitige Unterstützung für diesen Key ist auf, , , beschränkt, aber dies wird für alle Skins empfohlen. Beachte, dass andere Skins typischerweise grössere Icons benötigen, sofern sie dies unterstützen, empfiehlt es sich anstatt dessen SVG zu nutzen, da es dies korrekt über alle skaliert.


 * Die 1x Version
 * es sollte 135px breit und bis zu ~155px hoch sein. This is because the 1.5x and 2x versions assume a nominal width of 135px, and up to 155px tall will fit without issues in standard skins. This supports older skins and in the long-term future will be deprecated. We recommend skins support the preferred `icon`.


 * The 1.5x version
 * it should 202px wide, matching the aspect ratio of the 1x. (so up to 232px tall, for 155px nominal height.) The key will be deprecated in future and its use is not recommended.


 * The 2x version
 * it should be 270px wide, matching the aspect ratio of the 1x. (so up to 310px tall, for 155px nominal height.) The key will be deprecated in future and its use is not recommended.


 * The svg version
 * it replaces the need for a 1x, 1.5x, and 2x version, but should follow the same nominal size guidelines, fitting within 135px wide and 155px tall when resized to 135px wide. The key will be deprecated in future and its use is not recommended.

There are also two optional fields for additional assets to show next to the logo:


 * wordmark
 * it should be a landscape logo, with maximum set width or height, as these are specified under the  and   keys. Typically this is the graphic version of . This is used in  (1.36),, ,


 * tagline
 * the same is true for the tagline, which typically corresponds to the non-sitename part of MediaWiki:Tagline.

All values (except  and  ) can either be a fully-qualified URL or a relative path from DOCUMENT_ROOT. If it's a relative path, it has to start with a slash (a file in DOCUMENT_ROOT is /file.png, not file.png). Instead, the image will be cut off so that only part of it (the upper left-hand corner to be precise) will be visible. If this corner is completely white, it might look like the image would not display, although in fact it does.

Adding logos for language variants
The functionality to override logos for different language variants was introduced in version 1.36.0 (Gerrit change 627939, git #8cd2e133). Siehe T261153.

When defining variants, any language key can be used, for example it is possible to provide a German variant of an English logo.

This was extended to apply to all logo keys in 1.39.0.



Siehe auch

 * (MediaWiki < 1.35.0)
 * (MediaWiki < 1.35.0)
 * (MediaWiki < 1.35.0)