Page MenuHomePhabricator

Feature request: link to external map sources; script to copy to bg.wikipedia.org
Closed, DeclinedPublic

Description

Author: 5ko

Description:
Hi developpers!

We (the Bulgrian Wikipedia team) had concluded agreements with two Bulgarian
online map editors. It will be very usefull for our readers to be able to open
the map in Bulgarian language, Cyrillic alphabet, for over 5200 cities in
Bulgaria. It will also be usefull for all Russian, Serbian, Macedonian,
Ukrainian language articles concerning places in Bulgaria.

I wrote/composed a PHP script that accepts plain coordinates, calculates UTM
coordinates and redirects to the editor's website. It is currently hosted on a
server that I pay for, but it will be better if the script is hosted by
Wikipedia itself (a Privacy policy issue).

Here is the script:

Will it be possible for you to examine it and to copy it on
http://bg.wikipedia.org/ or elsewhere accessible?

Thanks,
Petko Yotov (User:5ko)


Version: unspecified
Severity: enhancement
URL: http://bg.wikipedia.org/

Details

Reference
bz5285

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:10 PM
bzimport set Reference to bz5285.
bzimport added a subscriber: Unknown Object (MLST).

5ko wrote:

The whole script, nothing else is needed to run it.

Attached: the script itself.

attachment emaps-bg.php ignored as obsolete

5ko wrote:

It seems that there are a couple of bugs in the script or in the editor's
website. Please ignore the request untill I find out where the problems are.

Sorry for bothering you,
Petko

5ko wrote:

A heavily-stripped-down, tested and working version

Dear Developpers,

The problem was fixed (the Editor used a non-standard UTM slice over a narrow
western part of Bulgaria) and tested for some days. The class was reduced to
almost bare minimum - so you'll have less trouble examining it. It is pure
mathematics by the way.

Currently links are made on about 250 articles (out of 5200, for testing
purposes), all in three templates [[bg:Template:Град 2]],
[[bg:Template:Град с герб 2]] [[bg:Template:Село 3]] so they can
be changed/removed immediately.

The Editor cannot host the script because they use an IIS/ASP server.

If the Foundation cannot host the script and doesn't consider it a Privacy
policy issue when wikipedians do, we (the Bulgarian Wikipedia team) will manage
to keep it runnig.

Petko Yotov (User:5ko, wikipedian since 2003)

Attached:

river wrote:

this kind of thing is probably best to go on the toolserver ([[m:Toolserver]]).