Extension:TitleKey/pl
The TitleKey extension provides a case-insensitive page title prefix search. It uses a separate table for the keys so that 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.
This extension provides no benefit if you are using CirrusSearch .
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
TitleKey
w folderzeextensions/
.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleKey
- Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
wfLoadExtension( 'TitleKey' ); // For MW 1.43.0 and above, no further configuration is needed. // For MW 1.42.x (use SearchEngineMySQL, SearchEnginePostgres, or SearchEngineSqlite depending on your $wgDBtype) $wgSearchType = MediaWiki\Extension\TitleKey\SearchEngineMySQL::class; // For MW 1.39.x to 1.41.x $wgSearchType = MediaWiki\Extension\TitleKey\SearchEngine::class;
- Uruchom skrypt aktualizujący, który automatycznie stworzy potrzebne tabele dla tego rozszerzenia.
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Maintenance
The RebuildTitleKeys maintenance script can be used at any time to rebuild the title index (this requires command-line access):
$ path/to/mediawiki/maintenance/run.php RebuildTitleKeys
Or, for MediaWiki before 1.40:
$ php path/to/mediawiki/extensions/TitleKey/maintenance/rebuildTitleKeys.php
![]() | To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: To nie jest pełna lista. Niektóre farmy/hosty wiki lub pakiety mogą zawierać to rozszerzenie nawet jeśli nie są one tutaj wymienione. Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić. |
Category:All extensions/pl
Category:Extensions in Wikimedia version control/pl
Category:Extensions included in BlueSpice/pl
Category:Extensions included in Miraheze/pl
Category:Extensions included in ProWiki/pl
Category:Extensions included in WikiForge/pl
Category:Extensions with manual MediaWiki version/pl
Category:GPL licensed extensions/pl
Category:LoadExtensionSchemaUpdates extensions/pl
Category:PageDeleteComplete extensions/pl
Category:PageMoveCompleting extensions/pl
Category:PageSaveComplete extensions/pl
Category:PageUndeleteComplete extensions/pl
Category:Search extensions/pl
Category:Stable extensions/pl