Woogle4MediaWiki/Installation

From TeamWeaverWiki

Jump to: navigation, search

Contents

English

Before starting, it is important to understand that Woogle4MediaWiki can be run in two different modes:

  • WoogleNative - which is purely PHP-based - you can only search and index your Wiki as such, but no data outside the Wiki
  • WoogleRemote - which connects to an Integrated Search backend - you can search any kind of data indexed by the backend (including e.g. file systems, SVN ressources etc.)

Prerequisites

  • Woogle4MediaWiki requires MediaWiki in a version >= 1.11.0 (see also compatibility notes)
  • For WoogleNative (see above) you need
    • A database user with CREATE TABLE privileges (or the database root account)
  • For WoogleRemote you need

Installation steps

  • Extract the content of the Woogle distribution ZIP-file to [Your MediaWiki directory]/extensions/Woogle
  • Grant write permissions for the executing user on [Your MediaWiki directory]/extensions/Woogle/addons/Native/index, if you're using the Native addon
  • At the end of the file [Your MediaWiki directory]/LocalSettings.php add the following line: include_once('extensions/Woogle/Woogle.php' );
  • Configure everything
  • Open [MediaWiki URL]/Special:WoogleConfig in your browser and click "index" to create an initial index
  • Enter [MediaWiki URL]/index.php/Special:Woogle to your browser to check if everything works

Deutsch (German) (nicht auf dem neuesten Stand)

  • Den Inhalt der Woogle ZIP-Datei nach [MediaWiki Installationverzeichnis]/extensions/Woogle entpacken
  • Dem ausführenden Benutzer Schreibrechte in [MediaWiki Installationverzeichnis]/extensions/Woogle/addons/Native/index gewähren, sofern das Native Addon benutzt wird
  • Am Ende der Datei [MediaWiki Installationverzeichnis]/LocalSettings.php folgende Zeile einfügen:
    • include_once('extensions/Woogle/Woogle.php' );
  • Konfigurieren Sie Woogle
  • Öffnen Sie die URL [MediaWiki URL]/Special:WoogleConfig und clicken Sie "index" um den Inhalt des Wikis initial zu indexieren
  • Öffnen Sie die URL [MediaWiki URL]/index.php/Special:Woogle in Ihrem Web-Browser um zu sehen, ob die Installation funktioniert hat