- #nearby contains a description about the parser function
Whats Nearby
tries to determine the geolocation by first using the HTML5 detection
mechanism and if this fails and $GLOBALS['wnbyExternalGeoipService']
is enabled
then meta.wikimedia.org/geoiplookup
is being pinged to resolve coordinates on behalf
of the browser IP address.
If above methods did not return any meaningful response and where the coordinates
parameter has been given information then those coordinates are used as
default fallback for computing distance queries.
- sandbox provides several live examples
- example.semantic.distance.maps.tmpl contains an
example template using
#ask
queries to find local libraries based on the position determined by#nearby
. - example.semantic.query.tmpl.md a simple
#ask
replacement query to create dynamic results