Extension:LinkSuggest/ru
![]() Статус релиза: стабильно |
|
---|---|
![]() |
|
Реализация | Поиск |
Описание | Provides the user with article title suggestions as they type a link in wikitext. |
Автор(ы) |
|
Последняя версия | 2.1.0 (2021-01-29) |
MediaWiki | 1.39+ |
Лицензия | GNU General Public License 2.0 или позднее |
Скачать | |
|
|
Quarterly downloads | 36 (Ranked 142nd) |
Переведите расширение LinkSuggest, если оно доступно на translatewiki.net | |
Проблемы | Открытые задачи · Сообщить об ошибке |
The LinkSuggest extension suggests links to editors on edit view (?action=edit). Registered users are able to turn LinkSuggest off via Special:Preferences.
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
LinkSuggest
в вашей папкеextensions/
. - Добавьте следующий код внизу вашего
LocalSettings.php
:wfLoadExtension( 'LinkSuggest' );
- Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
Конфигурация
- $wgLinkSuggestFromNamespaces
Array that defines a list of namespaces to get suggestions from if you don't type a namespace.
Default value:
$wgLinkSuggestFromNamespaces = [ NS_MAIN ];
Adding namespaces to this list will cause LinkSuggest to load suggestions from pages on those namespaces, when you don't type the namespace.
This cause suggestions to get pages "Apple" and "Project:Apple" if you type "Appl" and $wgLinkSuggestFromNamespaces
is [ NS_MAIN, NS_PROJECT ]
.
Связанные расширения
- WikiEditor - Has similar functionality built in. Clicking on the link icon from the tool-bar shows a search box, typing into this will search the available pages. This extension is now bundled with MediaWiki.
Это расширение включено в следующие пакеты и/или вики-фермы: 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. |