Siehe auch aktuelles MediaWiki-Handbuch: Testseite
-
Benutzeroberfläche
Seiten anlegen und verwalten
- Erste Schritte
- Neue Seite anlegen
- Seite bearbeiten
- Weiterleitung auf andere Seiten
- Artikel verschieben
- Alte Artikelversionen wiederherstellen
Wiki-Syntax
- Textgestaltung
- Links zu anderen Artikeln und Websites setzen
- Inhaltsverzeichnis
- Bilder einbinden
- Tabellen erzeugen
- Signatur
- Vorlagen
- Variablen
- Interwiki-Links
- Kategorien
Konzepte
Überschrift | Überschrift | Überschrift |
---|---|---|
Beispiel | Beispiel | Beispiel |
Beispiel | Beispiel | Beispiel |
Beispiel | Beispiel | Beispiel |
Beispiel | Beispiel | Beispiel |
das ist ein test |
das ist ein Test |
Projekte -> Testseite
Veranstaltungsarchiv -> Testseite
Archiv Homepage -> Testseite
Fachinformation -> Testseite
style="border-bottom:1px dashed #aaaaaa;border-top:1px dashed #aaaaaa;background:#f9f9f9;padding:4px;font-size:0.95em;"
Universitaetsarchiv:Geschichte
ISBN 3-351-01763-4 <A href='www.pickitisbn:3-351-01763-4'><img style='border: 0px none' src='https://www.citavi.com/softlink?linkid=findit' title='Titel anhand dieser ISBN in Citavi-Projekt übernehmen'/></A>
http://web10.ub.uni-rostock.de/uploads/uni_bibliographie/daten
- |
- |
- |
- |
Inhaltsverzeichnis
How do I install more than one Wiki-Server with SSL on Windows - MAR 2006 ?
- Installed Mar 2006, W2K3-Server, Apache 2.0.54, PHP5.04 (xampp-win32-1.4.14), MediaWiki 1.5.6
Solution : Shared VirtualHost with SSL, one IP-Address, one SSL-Certificate
- 1. Install MediaWiki
e.g. 2 Wiki-Server, install in real DocumentRoot, first in /DocumentRoot/wiki1 second in /DocumentRoot/wiki2
- 2. Rename index.php and add Alias in httpd.conf
Rename index.php e.g. in wiki1ix.php and wiki2ix.php
# GLOBAL AREA httpd.conf # First Wiki-Server Alias /wikisrv1 /DocumentRoot/wiki1/wiki1ix.php Alias /wiki1ix.php /DocumentRoot/wiki1/wiki1ix.php # Alias for upload-area Alias /uploads /DocumentRoot/wiki1/uploads # Second Wiki-Server Alias /wikisrv2 /DocumentRoot/wiki1/wiki2ix.php Alias /wiki2ix.php /DocumentRoot/wiki2/wiki2ix.php # Alias for upload-area Alias /uploads /DocumentRoot/wiki2/uploads
# VIRTUALHOST AREA httpd.conf <VirtualHost 111.111.111.111:80> ServerName www.domain.de ServerAdmin ... # Real DocumentRoot ! DocumentRoot "/DocumentRoot" ErrorLog ... CustomLog ... ... # Wiki-Server DirectoryIndex wiki1ix.php wiki2ix.php ... AccessFileName .htaccess ... ScriptAlias /php/ "/xampp/php/" Action application/x-httpd-php "/php/php.exe" ... </VirtualHost>
- 3. Settings in LocalSettings.php
$IP = "/DocumentRoot/wiki1"; ... $wgScriptPath = "/wiki1"; $wgScript = "$wgScriptPath/wiki1ix.php"; ... $wgArticlePath = "/wikisrv1/$1"; (wiki2 too)
- 4. Settings in .htaccess /DocumentRoot/wiki1
# RewriteRule SSL RewriteEngine On RewriteRule ^/$ /wiki1ix.php RewriteCond %{SERVER_PORT} !443$ RewriteRule ^(.*) https://www.domain.de/$1 [R=301,L] (wiki2 too)
- 5. Optional Settings in .htaccess /DocumentRoot
# deny access to Root Directory, rewrite to another virtual host RewriteEngine On RewriteRule ^/$ /index.html RewriteRule ^(.*) http://www.domain.de/othervhost/
# if Alias-Directory upload is indexed, rewrite home-link back to wiki RewriteCond %{HTTP_REFERER} https://www.domain.de/uploads/ RewriteRule ^(.*) https://www.domain.de/wiki1/InformationDirectoryPage
How do I install Imagemagick for Thumbnails on Windows - MAR 2006 ?
- Installed Mar 2006, W2K3-Server, Apache 2.0.54, PHP5.04 (xampp-win32-1.4.14), MediaWiki 1.5.6
- 1. Installation - ImageMagick
- Download from http://www.imagemagick.org/download/www/binary-releases.html - or look at http://www.imagemagick.org/download/binaries/ - DLL-version ImageMagick-6.2.6-1-Q8-windows-dll.exe - e.g. install in e:\usr\bin\sysexec - set PATH to e:\usr\bin\sysexec
- 2. Environment - LocalSettings.php :
NOT THIS FOR $IP : $IP = "E:\\xampp\\htdocs\\mediawiki"; MUST BE WITH SLASH : $IP = "/xampp/htdocs/mediawiki"; $wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "convert.exe";
- 3. PHP safe_mode - hhtpd.conf
php_admin_flag engine on php_admin_flag safe_mode on php_admin_value safe_mode_exec_dir /usr/bin/sysexec
- 4. Modify MediaWiki-PHP-Script includes/Image.php
// SHELL_EXEC COULDN'T EXECUTE WITH PHP-SAFE_MODE ON - USE SHELL ! function reallyRenderThumb( $thumbPath, $width, $height ) { ... -REMOVE // wfEscapeShellArg( $this->imagePath ), +ADD ( $this->imagePath ), -REMOVE // wfEscapeShellArg( $thumbPath ) ), +ADD ( $thumbPath ) ), ... -REMOVE // $conv = shell_exec( $cmd ); +ADD // php safe_mode on - set shell_exec to exec +ADD $conv = exec( $cmd ); ... -REMOVE // wfEscapeShellArg($this->imagePath) . " " . +ADD ($this->imagePath) . " " . -REMOVE // wfEscapeShellArg($thumbPath); +ADD ($thumbPath); ... -REMOVE // $conv = shell_exec( $cmd ); +ADD // php safe_mode on - set shell_exec to exec +ADD $conv = exec( $cmd ); ...