Extension:NearbyPages

The NearbyPages extension provides location based articles via Special:Nearby special page. It was previously part of  but decoupled and rewritten with . The extension can also be deployed as a static web app that is demoed as a standalone app for [https://wikipedia-nearby.netlify.app/ Wikipedia] and [https://wikidata-nearby.netlify.app/ Wikidata].

Special:Nearby
The page Special:Nearby lists articles that are 1>Special:MyLanguage/Extension:GeoData|geotagged nearest to the user's current location, as provided by their browser. Due to the limit of the 1>Special:MyLanguage/API:Geosearch|geosearch API, only articles within a 10 km radius are listed by default, although this can be changed using the $wgMaxGeoSearchRadius and <tvar|3>$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 Statue of Liberty in New York City, US:

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