Last modified: 2011-03-13 18:04:50 UTC
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: * http://www.2cyr.com/emaps-bg.php?q=source * http://5ko.free.fr/emaps-bg.php?q=source 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)
Created attachment 1453 [details] The whole script, nothing else is needed to run it. Attached: the script itself.
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
Created attachment 1457 [details] 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)
this kind of thing is probably best to go on the toolserver ([[m:Toolserver]]).