Zuletzt bearbeitet vor 5 Monaten
von Margit Link-Rodrigue

Vorlage:Xml upload: Unterschied zwischen den Versionen

(Die Seite wurde neu angelegt: „{{Textbox|boxtype=important|header=XML file type:{{Bsvs|bsvFrom=4.x+}}|text=The ''xml'' file type is blacklisted since MW 1.39 and has to be allowed in ''LocalSettings.php'': <pre> $GLOBALS['wgProhibitedFileExtensions'] = array_diff( $GLOBALS['wgProhibitedFileExtensions'] ?? [], [ 'xml' ] ); $GLOBALS['wgMimeTypeExclusions'] = array_diff( $GLOBALS['wgMimeTypeExclusions'] ?? [], [ 'application/xml', 'text/xml' ] ); </pre>|icon=no}}“)
Markierung: 2017-Quelltext-Bearbeitung
 
Keine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
Zeile 1: Zeile 1:
{{Textbox|boxtype=important|header=XML file type:{{Bsvs|bsvFrom=4.x+}}|text=The ''xml'' file type is blacklisted since MW 1.39 and has to be allowed in ''LocalSettings.php'':
{{Textbox|boxtype=important|header=Dateityp XML:{{Bsvs|bsvFrom=4.x+}}|text=Der Dateityp ''xml'' ist seit MW 1.39 auf der Blacklist und muss in ''LocalSettings.php'' erlaubt werden:
<pre>
<pre>
$GLOBALS['wgProhibitedFileExtensions'] = array_diff( $GLOBALS['wgProhibitedFileExtensions'] ?? [], [ 'xml' ] );
$GLOBALS['wgProhibitedFileExtensions'] = array_diff( $GLOBALS['wgProhibitedFileExtensions'] ?? [], [ 'xml' ] );
$GLOBALS['wgMimeTypeExclusions'] = array_diff( $GLOBALS['wgMimeTypeExclusions'] ?? [], [ 'application/xml', 'text/xml' ] );
$GLOBALS['wgMimeTypeExclusions'] = array_diff( $GLOBALS['wgMimeTypeExclusions'] ?? [], [ 'application/xml', 'text/xml' ] );
</pre>|icon=no}}
</pre>|icon=no}}

Version vom 29. November 2023, 14:07 Uhr

Dateityp XML:  v4.x++Der Dateityp xml ist seit MW 1.39 auf der Blacklist und muss in LocalSettings.php erlaubt werden:
$GLOBALS['wgProhibitedFileExtensions'] = array_diff( $GLOBALS['wgProhibitedFileExtensions'] ?? [], [ 'xml' ] );
$GLOBALS['wgMimeTypeExclusions'] = array_diff( $GLOBALS['wgMimeTypeExclusions'] ?? [], [ 'application/xml', 'text/xml' ] );
Keine Kategorien vergebenBearbeiten

Diskussionen