Last modified: 2013-06-14 10:21:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51570, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49570 - Pages within radius don't get listed
Pages within radius don't get listed
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
GeoData (Other open bugs)
unspecified
All All
: Unprioritized blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-14 09:35 UTC by Marco Gerber
Modified: 2013-06-14 10:21 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Marco Gerber 2013-06-14 09:35:24 UTC
Hello everybody

While playing around with the geo api, I came across the following issue:

The Prime Tower of Zurich [1] as well as the Letzigrund Zurich [2] are in a distance of less than 10000m. If I use the coordinates from the Prime Tower Zurich with a gsradius set to 10000m [3] then I don't get the Letzigrund Zurich listed. However, when I use the coordinates of the Letzigrund Zurich with a gsradius of 10000m then I don't get the Prime Tower Zurich listed [4].

I recognized this problem today 14.June 2013 and as far as I can say this hasn't happened the day before (just to isolate the bug).

This bug can be reproduced

[1] https://en.wikipedia.org/wiki/Prime_Tower_%28Zurich%29
[2] https://en.wikipedia.org/wiki/Letzigrund
[3] http://en.wikipedia.org/w/api.php?action=query&format=xml&list=geosearch&gsradius=10000&gscoord=47.386|8.5165&gsprop=type
[4] http://en.wikipedia.org/w/api.php?action=query&format=xml&list=geosearch&gsradius=10000&gscoord=47.382794|8.504364&gsprop=type

Cheers, Marco
Comment 1 Marco Gerber 2013-06-14 10:21:54 UTC
Everything is fine. It turned out that the amount of results has been changed and therefore don't get listed. When specifying gslimit the list can get extended and everything works as expected.
It's like going on holiday, you recognize that you've something forgotten to take with you after you've closed the door :-)

Therefore, I resolve the ticket by myself.

Great extension by the way!

Cheers, Marco

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links