On Tue, Nov 14, 2006 at 08:02:03PM +0100, Jens Frank wrote:
On Tue, Nov 14, 2006 at 07:34:33PM +0100, Magnus Manske wrote:
On 11/14/06, Timwi timwi@gmx.net wrote:
Jens Frank wrote:
geohack is not an extension, but a standalone tool.
Magnus explicitly explained that the standalone tool was his, and that it was a "temporary workaround" that was introduced because the extension somehow couldn't be used on the live site. I'm sure Magnus knows the difference between an extension and a standalone thing.
Egils extension appears to be in SVN "trunk/extensions/gis", if you're curious.
Doh! I even worked on that one myself, a year ago. I'll have a look. I think I remember that it was not really production ready, but I don't remember why.
I had a look at it again. There's some things that need to be done before getting this into production:
- localization Lots of hardcodes, e.g. 'N', 'E', 'W', 'S', 'to', 'type:city', ...
- update to MW1.9alpha. gis is an extension for MW1.5, and does not work with MW1.9 any more
- I'd like to have some changes on the syntax of the <geo> tag. There were many problems with people cut-and-pasting the geo markup template from one article to another, not understanding its syntax. Especially the population was often wrong. type:city(500000) could become type:city population:500000
- The map page should become a real special page, instead of a standalone page.
- I'm not sure how good the search for nearby places will scale. MySQL has no proper spatial index. The pseudo-index I added will work for smaller sites, but Wikipedia might kill this.
jens