Jump to content

Extension:LinkSuggest/pl

From mediawiki.org
This page is a translated version of the page Extension:LinkSuggest and the translation is 50% complete.
Podręcznik rozszerzeń MediaWiki
LinkSuggest
Status wydania: stabilne
Realizacja Wyszukiwanie
Opis Provides the user with article title suggestions as they type a link in wikitext.
Autor(zy)
Ostatnia wersja 2.1.0 (2021-01-29)
MediaWiki 1.43+
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie
  • $wgLinkSuggestFromNamespaces
Quarterly downloads 17 (Ranked 119th)
Przetłumacz rozszerzenie LinkSuggest jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

The LinkSuggest extension suggests links to editors on edit view (?action=edit). Registered users are able to turn LinkSuggest off via Special:Preferences.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie LinkSuggest w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LinkSuggest
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'LinkSuggest' );
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

$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.