Extension:WSSemanticParsedText/de-formal
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
![]() Release status: unmaintained |
|
---|---|
Implementation | Hook |
Description | This extension extends Semantic MediaWiki to provide full-text search with parsed wikitext. |
Author(s) | |
Latest version | 2.1 |
MediaWiki | >= 1.31.0 |
Database changes | Yes |
License | GNU General Public License 2.0 or later |
Download | |
WSSemanticParsedText extends Semantic MediaWiki to provide full-text search with parsed wikitext. This extension replaces the raw wikitext search with stripped parsed wikitext search.
The extension works by overriding the ElasticFactory used while indexing with an ElasticFactory that provides a new Indexer object that overrides the fetchNativeData function to return (stripped) parsed wikitext instead of raw wikitext.
This extension has been tested with MediaWiki 1.31.x and 1.35.x.
Installation
This extension requires Semantic MediaWiki with ElasticStore configured.
- Die Download und die Datei(en) in ein Verzeichnis namens
WSSemanticParsedText
im Ordnerextensions/
ablegen. - Wird von git aus installiert, ist Composer auszuführen, um PHP-Abhängigkeiten zu installieren, indem
composer install --no-dev
im Erweiterungsverzeichnis ausgeführt wird. (Siehe task T173141 für mögliche Komplikationen.) - Folgenden Code am Ende Ihrer
LocalSettings.php
hinzufügen:wfLoadExtension( 'WSSemanticParsedText' ); $smwgElasticsearchConfig["indexer"]["raw.text"] = true;
- Führen Sie das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.Run the following script from the root of your installation directory:
php extensions/SemanticMediaWiki/maintenance/rebuildElasticIndex.php
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.