Grundinstallation

Auftritt erstellen auf Server.

Mediawiki Source in Serververzeichnis kopieren.

Wiki per URL aufrufen und Datenbank angaben machen + wikiadmin erstellen.
Eine Anleitung zur Konfiguration findet man unter www.mediawiki.com

Konfiguration

Der Datei LocalSettings.php folgendes anfügen und wenn nötig anpassen.

  1. # ---------------------------
  2. # ----- Default Settings ----
  3. # ---------------------------
  4.  
  5. # Layout
  6. $wgSitename = "WIKINAME";
  7. $wgScriptPath = "/WIKIDIR";
  8. $wgLogo = "/WIKIDIR/logos/bl_klein.png";
  9.  
  10. # Upload
  11. $wgEnableUploads = true;
  12.  
  13. # Permissions
  14. $wgGroupPermissions['*']['edit'] = false;
  15. $wgGroupPermissions['*']['read'] = true;
  16.  

Layout

index.php?title=MediaWiki:Common.css anpassen

  1. /* CSS an dieser Stelle wirkt sich auf alle Skins aus */
  2.  
  3. /******* MAIN PAGE STYLING **********/
  4.  
  5. body.page-Main_Page h1.firstHeading { display:none; }
  6.  
  7. #mainpage_topbox {
  8. background: #f9f9f9;
  9. padding: 0px;
  10. border: 1px solid #aaaaaa;
  11. margin: 0.2em 10px 10px;
  12. }
  13.  
  14. .mainpage_boxtitle, .mainpage_hubtitle, #mainpage_pagetitle {
  15. font-size: 105%;
  16. padding: 0.4em;
  17. background-color: #eeeeee;
  18. border-bottom: 1px solid #aaaaaa;
  19.  
  20. }
  21.  
  22. .mainpage_boxtitle {
  23. line-height: 120%;
  24. }
  25.  
  26. #mainpage_pagetitle {
  27. color: #cf7606;
  28. font-size: 200% !important;
  29. }
  30.  
  31. #mainpage_sitelinks {
  32. padding: 0.2em;
  33. text-align: center;
  34. background-color: white;
  35. }
  36. .mainpage_hubtitle {
  37. text-align: center;
  38. }
  39.  
  40. .mainpage_boxcontents, .mainpage_boxcontents_small {
  41. background: #ffffff;
  42. padding:0.4em 1em;
  43. }
  44.  
  45. .mainpage_boxcontents_small {
  46. font-size: 95%;
  47. }
  48.  
  49. .mainpage_hubbox, #mainpage_newscell, #mainpage_downloadcell {
  50. padding: 0;
  51. border: 1px solid #aaaaaa;
  52. }
  53.  
  54. .mainpage_hubbox {
  55. margin-bottom: 0;
  56. }
  57.  
  58. #mainpage_newscell {
  59. margin-bottom: 15px;
  60. margin-top: 0 !important;
  61. }
  62.  
  63. #mainpage_newscell .mainpage_boxtitle {
  64. background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-helpcenter.png);
  65. background-repeat: no-repeat;
  66. background-position: 99% 0.3em;
  67. padding-right: 25px;
  68. }
  69.  
  70. #mainpage_downloadcell {
  71. width: 17em;
  72. margin-bottom: 5px;
  73. }
  74.  
  75. #mainpage_downloadcell .mainpage_boxtitle {
  76. background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-rystal_Clear_action_build.png);
  77. background-repeat: no-repeat;
  78. background-position: 96% 0.33em;
  79. padding-right: 25px;
  80. }
  81.  
  82. /* The words 'MediaWiki.org' in the title.*/
  83. #mainpage_mwtitle {
  84. color: #005288;
  85. }
  86.  

Hauptseite

Hauptseite bearbeiten:

  1. <div id="mainpage_topbox">
  2. <div id="mainpage_pagetitle">Willkommen im <span id="mainpage_mwtitle">WIKINAME</span></div>
  3. <div class="mainpage_boxcontents">
  4. {| style="border:0; margin: 0;" width="100%" cellspacing="10"
  5. |-
  6. | {{Main page/intro}}
  7. |}
  8. </div>
  9. </div>
  10.  
  11. {| style="border:0; margin: 0;" width="100%" cellspacing="10"
  12. |-
  13. | width="50%" valign="top" class="mainpage_hubbox" |
  14. <div class="mainpage_hubtitle">'''Block1'''</div>
  15. <div class="mainpage_boxcontents">
  16. {{Main page/block1}}
  17. </div>
  18. | valign="top" class="mainpage_hubbox" |
  19. <div class="mainpage_hubtitle">'''Block2'''</div>
  20. <div class="mainpage_boxcontents">
  21. {{Main page/block2}}
  22. </div>
  23. |}
  24.  
  25. {| style="border:0; margin: 0;" width="100%" cellspacing="10"
  26. |-
  27. | width="10%" valign="top" class="mainpage_hubbox" |
  28. <div class="mainpage_hubtitle">'''Block3'''</div>
  29. <div class="mainpage_boxcontents">
  30. {{Main page/block3}}
  31. </div>
  32. |}
  33.