Extension:TitleKey/de-formal
![]() Release status: stable |
|
---|---|
Implementation | Search |
Description | Provides a case-insensitive page title prefix search |
Author(s) | Brion Vibber (Brion VIBBERDiskussion) |
Latest version | continuous updates |
MediaWiki | 1.25+ |
Database changes | Yes |
Tables | titlekey |
License | GNU General Public License 2.0 or later |
Download | README |
Quarterly downloads | 92 (Ranked 93rd) |
Public wikis using | 862 (Ranked 281st) |
Translate the TitleKey extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The TitleKey extension provides a case-insensitive page title prefix search. It uses a separate table for the keys, so it can be deployed without an expensive rebuild of core tables, and uninstalled later in preference for a different search extension such as CirrusSearch .
For the average site administrator, the benefit of this extension is that it allows search suggestions (e.g. from Opensearch API) to be case-insensitive.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
TitleKey
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer
LocalSettings.php
hinzufügen:wfLoadExtension( 'TitleKey' );
- Führen Sie das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
- Run the "rebuildTitleKeys.php" script (this requires command-line access):
php path/to/mediawiki/extensions/TitleKey/maintenance/rebuildTitleKeys.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.
Für Benutzer, die MediaWiki in der Version 1.27 und früher betreiben:
Die oben stehenden Anweisungen beschreiben die neue Installationsanweisung für diese Erweiterung unter der Verwendung von wfLoadExtension()
.
Wird diese Erweiterung in einer dieser früheren Versionen (MediaWiki 1.27 und früher) – an Stelle von wfLoadExtension( 'TitleKey' );
– installiert, benutzen Sie:
require_once "$IP/extensions/TitleKey/TitleKey.php";
Known problems
- It breaks VisualEditor autocompletion for templates
(see topic).
- It breaks any extension that relies on Prefixsearch which also includes TemplateWizard .
- With MediaWiki 1.35 or earlier it breaks search suggestions for pages that are not in the main namespace. (The Gerrit patch fixing this issue has been released as part of MediaWiki 1.36: Gerrit change 641277.)
This extension is included in the following packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |