Extension:NearbyPages/pl

This page is a translated version of the page Extension:NearbyPages and the translation is 10% complete.
Other languages:
English • ‎polski • ‎日本語
Podręcznik rozszerzeń MediaWiki
OOjs UI icon advanced.svg
NearbyPages
Status wydania: stabilne
Realizacja Funkcja parsera
Opis Provides Special:Nearby
Ostatnia wersja (in development)
Zmiany w bazie danych Nie
Licencja GNU General Public License 2.0 or later
Pobieranie
README
  • $wgNearbyPagesNamespaces
  • $wgNearbyRandomButton
  • $wgNearbyRange
  • $wgNearbyPagesWikidataCompatibility
  • $wgNearbyPagesUrl
Przetłumacz rozszerzenie NearbyPages jeżeli jest dostępne na translatewiki.net

Sprawdź wykorzystywanie i matrycę wersji.

Problemy Otwarte zadania · Zgłoś błąd

The NearbyPages extension provides location based articles via Special:Nearby special page. It was previously part of Rozszerzenie:MobileFrontend but decoupled and rewritten with Vue.js . The extension can also be deployed as a static web app that is demoed on the Netlify site showing the current master version.

Special:Nearby

The page Special:Nearby lists articles that are geotagged nearest to the user's current location, as provided by their browser. Due to the limit of the geosearch API, only articles within a 10 km radius are listed by default, although this can be changed using the $wgMaxGeoSearchRadius and $wgNearbyRange variables.

It is also possible to manually specify a location by including its latitude and longitude as URL parameters. For example, this URL will generate a list of articles near the w:Statue of Liberty in New York City, US:

https://en.wikipedia.org/wiki/Special:Nearby#/coord/40.69,-74.04

Instalacja

  • Download and place the file(s) in a directory called NearbyPages in your extensions/ folder.
  • Dodaj poniższy kod na dole swojego pliku LocalSettings.php:
    wfLoadExtension( 'NearbyPages' );
    
  •   Zrobione – Przejdź do Special:Version na swojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.