Last modified: 2011-03-13 18:04:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5285 - Feature request: link to external map sources; script to copy to
Feature request: link to external map sources; script to copy to bg.wikipedia...
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Lowest enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
  Show dependency treegraph
Reported: 2006-03-18 17:48 UTC by Petko Yotov
Modified: 2011-03-13 18:04 UTC (History)
2 users (show)

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

The whole script, nothing else is needed to run it. (24.89 KB, text/plain)
2006-03-18 17:50 UTC, Petko Yotov
A heavily-stripped-down, tested and working version (8.35 KB, text/plain)
2006-03-21 15:14 UTC, Petko Yotov

Description Petko Yotov 2006-03-18 17:48:17 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:

Will it be possible for you to examine it and to copy it on or elsewhere accessible?

Petko Yotov (User:5ko)
Comment 1 Petko Yotov 2006-03-18 17:50:18 UTC
Created attachment 1453 [details]
The whole script, nothing else is needed to run it.

Attached: the script itself.
Comment 2 Petko Yotov 2006-03-18 18:47:30 UTC
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,
Comment 3 Petko Yotov 2006-03-21 15:14:41 UTC
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)
Comment 4 River Tarnell 2007-05-22 17:57:00 UTC
this kind of thing is probably best to go on the toolserver ([[m:Toolserver]]).

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