Wiki-Admin-Log: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
Zeile 13: Zeile 13:
 
== fix the wiki entry of TiVA (convert latex tags) --[[User:Tony Ford|Tony Ford]] ([[User talk:Tony Ford|talk]]) 18:38, 23 February 2013 (CET) ==
 
== fix the wiki entry of TiVA (convert latex tags) --[[User:Tony Ford|Tony Ford]] ([[User talk:Tony Ford|talk]]) 18:38, 23 February 2013 (CET) ==
  
 +
File: includes/EditPage.php
  
insert in includes/EditPage.php after
+
insert after
  
 
<source lang="php">
 
<source lang="php">
Zeile 28: Zeile 29:
 
$this->textbox1=preg_replace('/<math>/','<math>',$this->textbox1);
 
$this->textbox1=preg_replace('/<math>/','<math>',$this->textbox1);
 
$this->textbox1=preg_replace('/<\/m>/','</math>',$this->textbox1);
 
$this->textbox1=preg_replace('/<\/m>/','</math>',$this->textbox1);
 +
</source>
 +
 +
 +
== http://www.mediawiki.org/wiki/Extension:Code --[[User:Tony Ford|Tony Ford]] ([[User talk:Tony Ford|talk]]) 18:51, 23 February 2013 (CET) ==
 +
 +
File: languages/messages/MessagesDe.php
 +
 +
insert after
 +
 +
<source lang="php">
 +
'sig_tip'        => 'Deine Signatur mit Zeitstempel',
 +
'hr_tip'          => 'Horizontale Linie (sparsam verwenden)',
 +
</source>
 +
 +
this
 +
 +
<source lang="php">
 +
'code_tip'          => 'Codemarkierung allgemein', 
 +
'code_asm_tip'          => 'Assembler-Code',
 +
'code_asp_tip'          => 'ASP-Code',
 +
'code_cpp_tip'          => 'C++-Code',
 +
'code_html_tip'          => 'HTML-Code',
 +
'code_php_tip'          => 'PHP-Code',
 +
'code_java_tip'          => 'Java-Code',
 +
</source>
 +
 +
 +
File: languages/messages/MessagesEn.php
 +
 +
insert after
 +
 +
<source lang="php">
 +
'button-sig'      => 'button_sig.png',
 +
'button-hr'      => 'button_hr.png',
 +
</source>
 +
 +
this
 +
 +
<source lang="php">
 +
'button-code'      => 'button_code.png',
 +
'button-code-asm'      => 'button_code_asm.png',
 +
'button-code-asp'      => 'button_code_asp.png',
 +
'button-code-cpp'      => 'button_code_cpp.png',
 +
'button-code-html'      => 'button_code_html.png',
 +
'button-code-java'      => 'button_code_java.png',
 +
'button-code-php'      => 'button_code_php.png'
 +
</source>,
 +
 +
 +
insert after
 +
 +
<source lang="php">
 +
'sig_tip'        => 'Your signature with timestamp',
 +
'hr_tip'          => 'Horizontal line (use sparingly)',
 +
</source>
 +
 +
this
 +
 +
<source lang="php">
 +
'code_tip'          => 'code marking general',
 +
'code_asm_tip'          => 'Assembler-Code', 
 +
'code_asp_tip'          => 'ASP-Code',       
 +
'code_cpp_tip'          => 'C++-Code',       
 +
'code_html_tip'          => 'HTML-Code',     
 +
'code_php_tip'          => 'PHP-Code',       
 +
'code_java_tip'          => 'Java-Code',
 
</source>
 
</source>

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

File: includes/EditPage.php

insert 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);


http://www.mediawiki.org/wiki/Extension:Code --Tony Ford (talk) 18:51, 23 February 2013 (CET)

File: languages/messages/MessagesDe.php

insert after

'sig_tip'         => 'Deine Signatur mit Zeitstempel',
'hr_tip'          => 'Horizontale Linie (sparsam verwenden)',

this

'code_tip'          => 'Codemarkierung allgemein',  	
'code_asm_tip'          => 'Assembler-Code',		
'code_asp_tip'          => 'ASP-Code',			
'code_cpp_tip'          => 'C++-Code',			
'code_html_tip'          => 'HTML-Code',		
'code_php_tip'          => 'PHP-Code',	
'code_java_tip'          => 'Java-Code',


File: languages/messages/MessagesEn.php

insert after

	'button-sig'      => 'button_sig.png',
	'button-hr'       => 'button_hr.png',

this

	
'button-code'       => 'button_code.png',		
	'button-code-asm'       => 'button_code_asm.png',	
	'button-code-asp'       => 'button_code_asp.png',	
	'button-code-cpp'       => 'button_code_cpp.png',	
	'button-code-html'       => 'button_code_html.png',	
	'button-code-java'       => 'button_code_java.png',	
	'button-code-php'       => 'button_code_php.png'

,


insert after

'sig_tip'         => 'Your signature with timestamp',
'hr_tip'          => 'Horizontal line (use sparingly)',

this

'code_tip'          => 'code marking general', 
'code_asm_tip'          => 'Assembler-Code',  
'code_asp_tip'          => 'ASP-Code',        
'code_cpp_tip'          => 'C++-Code',        
'code_html_tip'          => 'HTML-Code',      
'code_php_tip'          => 'PHP-Code',         
'code_java_tip'          => 'Java-Code',