Jump to content

Manual:$wgSVGNativeRendering/de

From mediawiki.org
This page is a translated version of the page Manual:$wgSVGNativeRendering and the translation is 50% complete.
Outdated translations are marked like this.
SVG: $wgSVGNativeRendering
Ob native Wiedergabe durch den Webbrowser erlaubt ist.
Eingeführt in Version:1.41.0 (Gerrit change 921379; git #85dd5826)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(string) oder $1
Standardwert:true (1.46+)
false (1.41-1.45)

Details

Ob native Wiedergabe durch den Webbrowser erlaubt ist.

$wgSVGNativeRendering now defaults to true. This means that uploaded SVGs are rendered directly by the browser most of the time. MediaWiki applies several filters on uploaded SVGs to protect against malicious SVGs. The browser adds restrictions on the SVG when included as an ‎<img> for additional protection. We do advise configuring CSP headers to protect users in case they open a SVG file directly in the browser.

Mit dem Wert true werden alle SVG-Konvertierungen deaktiviert; Browser laden immer native SVGs herunter.

Mit dem Wert der Zeichenkette 'partial' wird die native Wiedergabe nur dann zugelassen, wenn die Dateigröße unter $wgSVGNativeRenderingSizeLimit bleibt und die Datei maximal 1 Sprache enthält.

Siehe auch