Wiki-Admin-Log: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(Created page with "== Wiki issue: Error creating thumbnail: Invalid thumbnail parameters --~~~~ == added in Localsettings.php <source lang="php"> $wgMaxImageArea=64000000; $wgMaxShellMemory ...")
 
Zeile 23: Zeile 23:
 
# Also remove trailing whitespace, but don't remove _initial_
 
# Also remove trailing whitespace, but don't remove _initial_
 
# whitespace from the text boxes. This may be significant formatting.
 
# whitespace from the text boxes. This may be significant formatting.
$this->textbox1 = $this->safeUnicodeInput( $request, 'wpTextbox1' )
+
$this->textbox1 = $this->safeUnicodeInput( $request, 'wpTextbox1' );
</source>;
+
</source>
  
 
this  
 
this  

Version vom 23. Februar 2013, 17:38 Uhr

Wiki issue: Error creating thumbnail: Invalid thumbnail parameters --Tony Ford (talk) 18:38, 23 February 2013 (CET)

added in Localsettings.php

$wgMaxImageArea=64000000;

$wgMaxShellMemory = 202400;

$wgUseImageMagick = false;

$wgImageMagickConvertCommand = "/usr/bin/convert";


fix the wiki entry of TiVA (convert latex tags) --Tony Ford (talk) 18:38, 23 February 2013 (CET)

insert in includes/EditPage.php after

			
# These fields need to be checked for encoding.
# Also remove trailing whitespace, but don't remove _initial_
# whitespace from the text boxes. This may be significant formatting.
$this->textbox1 = $this->safeUnicodeInput( $request, 'wpTextbox1' );

this

$this->textbox1=preg_replace('/<math>/','<math>',$this->textbox1);
$this->textbox1=preg_replace('/<\/m>/','</math>',$this->textbox1);