MediaWiki

From WikiKracht

Jump to: navigation, search

Contents

MediaWiki has been successfully installed.

Consult the User's Guide for information on using the wiki software.

[edit] Getting started

[edit] Flash Extension installieren

Das PHP-Script "Flash.php" wird in den Ordner "Extensions" kopiert (siehe: http://www.mediawiki.org/wiki/Extension:Flash).

Dann wird am Ende von "LocalSettings.php" folgendes eingefügt:

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'swf', 'svg' );
include('extensions/Flash.php');

Die Flash-Files (*.swf) müssen dann zuerst hochgeladen werden und können dann benutzt werden.

[edit] Math Markup installieren

Wenn Math Markup installiert ist, kann man im Wiki-Text mathematische Formeln eingeben; z.B.: <math>\sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!} (x-a)^{n}</math>

Das soll unter Linux recht einfach zu installieren sein. Unter Windows muss man eine ganze Menge wühlen, um das wirklich zum Laufen zu bekommen. Erforderlich soll sein:

Quellen:

Testen mit einem Math-Formelausdruck:

 <math>\sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!} (x-a)^{n}</math>

[edit] Funktionen

Ein besonders schönes WikiWikiWeb. Siehe WikiWikiWebAuswahlverfahren

[edit] Installation MediaWiki 1.5 auf ComputerBraunbaer

Installiert auf ComputerBraunbaer am 22.7.2005, um es mit WebsiteMonikaFaulkner einmal auszuprobieren.

  • Definitive Software Library ID: MediaWiki
  • Name: MediaWiki
  • Version: 1.5 beta4
  • Bezugsquelle/Hersteller: Sourceforge
  • Installations-Ordner: /var/www/htdocs/faulkner
  • Datenbank-User: wikiuser
  • Datenbank-Name: wikifaulkner
  • URL: http://braunbaer.kr8.de/faulkner

[edit] Installation Mediawiki 1.9.3 auf Westhost

  • Vorhandenes MySQL 4.1.9 wird mitverwendet
  • Datenbank User: root, wikiuser
  • Neue Datenbank wikidb als Ziel für das zu migrierende TWiki-Kracht
  • Installations-Ordner: /var/www/html/wiki
  • URL: http://www.kr8.de/wiki

[edit] Installation MediaWiki 1.5 auf Server Westhost

  • Vorhandenes MySQL 4.1.9 wird mitverwendet
  • Installations-Ordner: /var/www/html/faulkner
  • Datenbank User: wikiuser
  • Datenbank Name: wikifaulkner
  • URL: http://www.kr8.de/faulkner

[edit] Modifizieren LocalSettings.php

    • $IP = "/var/www/html/faulkner"
    • $wgSitename = "Eisbaer";
    • $wgScriptPath = "/faulkner";
    • DBPasswd ....

[edit] Konfiguration auf Server Westhost

  • Sitename: Lexikon
  • Language: de - Deutsch UTF-8 (Unicode)
  • Copyright Metadata: No
  • Sysop: WikiSysop / lotusnots
  • E-Mail (general): disabled
  • Database:
    • Server: localhost
    • Datenbank Name: wikilexikon
    • Datenbank User: wikiuser
  • URL: http://www.kr8.de/lexikon
  • Move /config/LocalSettings.php into parent directory
  • User einrichten: dkracht
  • Image Upload: Manuell erlauben durch Einstellung in LocalSettings.php
  • Image Resize (Thumbnail) erfordert PHP.INI extension php_gd2.dll
    • PHP Konfigurationsdatei: D:\php\php.ini
    • PHP Extensions DLLs kopieren von D:\php\extensions nach D:\Programme\Apache
    • Use ImageMagick = false
  • Turck MMCache not

[edit] Navigation (WebsiteMonikaFaulkner)

In MediaWiki version 1.5beta1, and presumably later versions, you can change this by editing the document MediaWiki:Sidebar. (This is erroneously, I think, described as "navbar" in the release notes.)

Looking at it will make the format clear. The keywords are article names in the MediaWiki: namespace.

So, to add "contact-url||contact" to create a contact information page, you would create
  • MediaWiki:Contact-url with the text "Contact" (if the Contact page is to be in the main namespace) and
  • MediaWiki:Contact with text "Contact us" or whatever you want to appear in the navigation sidebar.

Finally, edit the Contact page to contain the text you want readers to see. It will now be in the navigation sidebar, so you can just click it to create and edit the page. To make a link to an external URL, put the URL text only, no wiki markup, in the -url page.

Source: http://meta.wikimedia.org/wiki/Navigation

Der Sidebar wurde wie folgt eingerichtet:

[edit] Alle Artikel exportieren als XML (Bilder fehlen dann aber...)

PHP-Script dumpBackup.php im Ordner maintenance.

This script dumps the wiki page database into an XML interchange wrapper
format for export or backup.

XML output is sent to stdout; progress reports are sent to stderr.

Usage: php dumpBackup.php <action> [<options>]
Actions:
  --full		Dump complete history of every page.
  --current	Includes only the latest revision of each page.
Options:
  --quiet	  Don't dump status reports to stderr.
  --report=n  Report position and speed after every n pages processed.
				  (Default: 100)

[edit] Beispiel ComputerBraunbaer Faulkner:

  1. e:
  2. cd \var\www\www.kr8.de\htdocs\faulkner-1.5\maintenance
  3. d:\php\php dumpBackup.php --current >ppp.xml
  4. xml header direktive korrigieren...
  5. xml syntax überbrüfen..


[edit] Beispiel ComputerBraunbaer Lexikon:

  1. e:
  2. cd \var\www\www.kr8.de\htdocs\lexikon\maintenance
  3. d:\php\php dumpBackup.php --current >ppp.xml
  4. xml header direktive korrigieren...
  5. xml syntax überbrüfen..

[edit] Daten exportieren und importieren als MySQL-Dump

mysqldump -uwikiuser -phugo wikikracht > daten.sql
mysql -uwikiuser -phugo wikikracht < daten.sql

Hier auf ComputerBraunbaer ist MySQL Version 4.0.16nt installiert, 
das sollte UTF-8 können (UTF8_General_ci...)

[edit] Beispiel Export auf ComputerBraunbaer mit MySQL 4.1:

  1. d:
  2. cd \bin\mysql\bin
  3. mysqldump -uwikiuser -phugo wikikracht > wikiallutl8.sql (evtl. --compatibility=mysql323 --default-character-set=latin1 ...)

[edit] Beispiel Import auf WebsiteWesthost mit MySQL 4.1.9

  1. Tabelle objectcache aus Exportdatei entfernen
  2. SSH-Verbindung zu Westhost herstellen
  3. Upload der Exportdatei d:\programme\mysql\bin\wikiallutf8.sql in den Ordner /home/lonzo
  4. Import: mysql -uwikiuser wikikracht <wikiallutf8.sql

[edit] Ggf. SQL-Tables kopieren:

insert into wikidb.cur
 select from wikidb_v1.cur
		  where cur_id>935

[edit] Synchronisieren Directories

Bei Updates des MediaWiki muss meistens auch der ordner "/wiki/images" synchronisiert werden...

Ich verwende dafür das Tool WinSCP


[edit] SVG Support

Vector Graphics in the SVG format are well supported by MediaWiki. By default SVG is disabled in the LocalSettings. Normal WebBrowsers do not be scale SVG images. MediaWiki adds such a scaling functionality by generating a scaled pixel image (PNG) in the fly. An external program (e.g. Inkscape) is needed to provide this functionality. http://meta.wikimedia.org/wiki/Inkscape_on_Win32_Server

Example source code scaling the SVG to 500px:

[[Image:Rss-family.svg|none|500px|thumb|The RSS Family Tree]]

Dynamically generated PNG image:

This is the RSS Family Tree
This is the RSS Family Tree


[edit] Flash Support

VektorGrafik im Format Flash wird von MediaWiki durch eine extension unterstützt.

[edit] Migration von TWiki auf MediaWiki (30.6.2007)

Nachdem ich mit meinem TWiki, das beim WebProvider Westhost gehostet wird, Probleme bekam, habe ich es Schritt für Schritt nach MediaWiki migriert.

[edit] Conversion

I am just starting to convert my old TWiki-based Wiki to MediaWiki.

Der Migrationsprozess wird beschrieben auf meiner Joomla Site. Die Migrationsergebnisse sind hier zu sehen.

Von 362 Seiten sind jetzt migriert:

  1. CVS
  2. DocBook
  3. Internet
  4. RCS
  5. PowerLine
  6. Smarty
  7. SuchMaschinen
  8. VektorGrafik
  9. VersionControl
  10. WinPE
  11. WinTV
  12. Zeitsynchronisation
  13. Datensicherung
  14. AdobeReader
  15. Adressbuch
  16. AkramAudioConverter
  17. Ambrosia
  18. Ant
  19. AnwendungenWindowsMobile
  20. Anwendungskatalog
  21. AnyDVD
  22. Apache
  23. ArchivierenUndWiederfinden
  24. Astronomie
  25. AudaCity
  26. AudioBearbeiten
  27. AudioCodec
  28. AudioPlayer
  29. AutosUnterWindows
  30. AWStats
  31. BlueChips
  32. BegriffsLexikon
  33. Bluetooth
  34. BluetoothSoftware
  35. BriefeVersicherungungen
  36. Buecher
  37. BullshitBingo
  38. Catalogue
  39. CategoryIT
  40. ChefZumSchwein
  41. CompactDisk
  42. ComputerBraunbaer
  43. ComputerEisbaer
  44. ComputerLonzo
  45. ComputerT30
  46. ComputerT41
  47. ContentSyndication
  48. CoolEdit
  49. CopernicDesktopSearch
  50. CostOfMonkey
  51. CVS
  52. CVSNT
  53. Cygwin
  54. Datenbanken
  55. DatenbankFrontend
  56. Datensicherung
  57. DBACentral
  58. DBExplorer
  59. DBManager
  60. DbVisualizer
  61. Debian
  62. DefinitiveSoftwareLibrary
  63. DefSoftLib
  64. DirectX
  65. DivaClient
  66. DivX
  67. DivXPro
  68. DocBook
  69. DokumentenManagement
  70. DrayTek
  71. DolbyDigital
  72. DriveImage
  73. DSL
  74. DtSearch
  75. DVB-T
  76. DVBViewer
  77. DVD
  78. DVDShrink
  79. EasyCDCreator
  80. Eclipse
  81. Einkaufen
  82. Einlagensicherung
  83. Einzelverbindungsnachweis
  84. ElsterFormular
  85. E-Mail
  86. E-Mail-Client
  87. E-Mail-Provider
  88. E-Mail-Server
  89. EMule
  90. EpsonStylusCX3650
  91. Faxen
  92. Fernsehen
  93. Festplatten
  94. FileEditing
  95. FileManager
  96. Finanzen
  97. FinePrint
  98. Firewall
  99. Flachbildschirm
  100. FrauenEisenbahn
  101. FrauenHubschrauber
  102. FridaysCasualDay
  103. FritzCard
  104. FTP-Client
  105. Funkmaus
  106. Gaim
  107. GefuellterWirsing
  108. GolfTagebuch
  109. Grafikkarte
  110. GSM
  111. GUI
  112. Hamster
  113. HandheldVideo
  114. HardLinks
  115. Hardware
  116. HomeSite
  117. HtDig
  118. HuntingElephants
  119. HTMLEditing
  120. InstallShield
  121. InstantMessaging
  122. Internet
  123. InternetByCall
  124. InternetExplorer
  125. InternetFavoriten
  126. InternetRadio
  127. InternetSecurity
  128. InternetRegistrar
  129. InternetZugang
  130. Java
  131. JavaScript
  132. JBoss
  133. JBPM
  134. JDBC
  135. Joomla
  136. Kalender
  137. Kalorio
  138. Kanotix
  139. KasperskyAntiVirus
  140. KasperskyInternetSecurity
  141. KnowledgeManagement
  142. KodakImaging
  143. LAN
  144. LDAPBrowserEditor
  145. Linux
  146. LinuxBootLoader
  147. LiveCD
  148. Mainboard
  149. Make
  150. MasterBootRecord
  151. McAfeeVirusScan
  152. MediaLibrary
  153. MediaLibrarySQL
  154. MediaPlayerClassic
  155. MediaWiki
  156. Metadaten
  157. MicrosoftAccess
  158. MicrosoftHTMLHelp
  159. MicrosoftMediaPlayer
  160. MicrosoftOffice
  161. MicrosoftOutlook
  162. MicrosoftProject2002
  163. MicrosoftWord
  164. MindGenius
  165. MindMaps
  166. MMPlayer
  167. MobilfunkProvider
  168. MobilTelefon
  169. MortPlayer
  170. MozillaFirefox
  171. MozillaThunderbird
  172. MP3
  173. MP3LameCodec
  174. MP3RadiumCodec
  175. MultiMedia
  176. Musik
  177. MYdbPAL
  178. MyPhpWiki
  179. MySQL
  180. MySQL-Front
  181. NamoWebEditor
  182. Navicat
  183. Nero
  184. NetzwerkMonitor
  185. NeunerEisenFrosch
  186. NewsfeedReader
  187. NokiaPCSuite
  188. NokiaPhoneEditor
  189. ODBC
  190. OffenePunkteListe
  191. OnlineBanking
  192. OpenDBcopy
  193. OpenLDAP
  194. OpenOffice
  195. OpenSourceSoftware
  196. OpenSSHServer
  197. OxygenXMLEditor
  198. Owl
  199. PaintShop
  200. PageScan
  201. PalmDesktop
  202. PalmDictionary
  203. PalmHotSync
  204. PalmThinkDB
  205. PalmV
  206. Parser
  207. Partitionierung
  208. PartitionMagic
  209. PartitionManager
  210. PDA
  211. Pdb2ldif
  212. PDF
  213. PdfFactory
  214. Perl
  215. PerlfectSearch
  216. PersonalFirewall
  217. PeterPrinzip
  218. PGPDesktopSecurity
  219. PHP
  220. PHP-GTK
  221. PhpKalender
  222. PhpLinks
  223. PhpMyAdmin
  224. PicVideo
  225. PICVideoMJPEG
  226. Pilot-Xfer
  227. Playlists
  228. PocketMirror
  229. Podcasting
  230. PowerDVD
  231. PowerLine
  232. PowerPoint
  233. ProjektManagement
  234. ProviderWesthost
  235. PuTTY
  236. RapidApplicationDevelopment
  237. RCS
  238. RealProducer
  239. RealPlayer
  240. RemoteAccess
  241. ReportGenerator
  242. RezeptSardinenSizilianischeArt
  243. Rezeptdatenbanken
  244. RezeptWeihnachtssplitter
  245. RiskManagement
  246. RoboCopy
  247. Rolodap
  248. RssBandit
  249. SAPSolutionComposer
  250. SchlaueBlondine
  251. ScreenShot
  252. SmartCardLeser
  253. Smarty
  254. SMS
  255. SoftickPPP
  256. SnappyFax
  257. Spamfilter
  258. SonnenfinsternisKasernenhof
  259. SpamPal
  260. Spamihilator
  261. Spiele
  262. SQLyog
  263. SSH-Client
  264. SSH
  265. SSHSecureShell
  266. SuchMaschinen
  267. SwingingNineties
  268. SWiSH
  269. Symbian
  270. Synchronisieren
  271. SystemUtilities
  272. TagesLaenge
  273. TagScanner
  274. Tanzen
  275. TaskTimer
  276. Telefonieren
  277. TelefonstrategieAlltagsfrust
  278. T-Mobile
  279. Tomcat
  280. TopicClassification
  281. TortoiseCVS
  282. TotalCommander
  283. TotePferdeReiten
  284. TrueImage
  285. TSReader
  286. TV-Browser
  287. TVcentral
  288. TV-Karte
  289. TWiki
  290. TWikiInstallation
  291. TWikiInstallationLinux
  292. TWikiInstallationWindows
  293. TWikiLDAPPluginBeispiel
  294. TwonkyMusicserver
  295. UltraEdit
  296. UltraISO
  297. UnternehmensberaterOptimiertKonzert
  298. UnxTools
  299. UPnP
  300. USB
  301. VDR
  302. VektorGrafik
  303. VersionControl
  304. VideoCodec
  305. VirenScanner
  306. VideoPlayer
  307. VirtualDub
  308. Visio
  309. VisorEdge
  310. VoiceOverIP
  311. WebApplication
  312. WebAuthoring
  313. WebBrowser
  314. WebHome
  315. WebLog
  316. WebProvider
  317. WebShop
  318. WebsiteHildeBeinwell
  319. WebsiteHildeHilft
  320. WebsiteMonikaFaulkner
  321. WebsiteMonikaJungfrau
  322. WebsiteTraditionell
  323. WebsiteTWiki
  324. WebStatistics
  325. WebTools
  326. WebTopicList
  327. WelpenFotografieren
  328. WhyChickenCossRoad
  329. WikiWiki
  330. WikiWikiWeb
  331. WikiWikiWebAuswahlverfahren
  332. WikiWikiWebMain
  333. WinAmp
  334. WinbolicLink
  335. Windows2000
  336. WindowsBootLoader
  337. WindowsMobile
  338. WindowsXP
  339. WinDVD
  340. WinFax
  341. WinMerge
  342. WinPE
  343. WinTV
  344. WinZip
  345. WisoMeinGeld
  346. WLAN
  347. WohnenHaushalt
  348. WokGemuese
  349. WS_FTP
  350. WsPing
  351. X1Search
  352. X-Lite
  353. XMLEditing
  354. XMLmind
  355. XMLSpy
  356. XnView
  357. YahooDesktopSearch
  358. YahooMessenger
  359. ZeitmessungNavigation
  360. Zeitsynchronisation
  361. ZeusEdit
  362. ZipBackupToCD
  363. ZeusSCC-CVS
  364. ZoneAlarm
  365. ZumSchmunzelnUndNachdenken



-- Main.DietrichKracht - 23 Jul 2005

Personal tools