Wiki-Admin-Log: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
  
 
<source lang="php">
 
<source lang="php">
 
 
$wgMaxImageArea=64000000;
 
$wgMaxImageArea=64000000;
 
 
$wgMaxShellMemory = 202400;
 
$wgMaxShellMemory = 202400;
 
 
$wgUseImageMagick = false;
 
$wgUseImageMagick = false;
 
+
$wgImageMagickConvertCommand = "/usr/bin/convert";  
$wgImageMagickConvertCommand = "/usr/bin/convert"; </source>
+
</source>
  
  

Version vom 23. Februar 2013, 17:39 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);