Hi, Would it be possible to add the worldwind URL scheme to the list of acceptable URL schemes that en.wikipedia accepts as valid for external links?
With that done, links like:
worldwind://goto/world=Earth&lat=37.23806&lon=-115.81324&alt=2969&dir=3.5
would launch an external copy of [[NASA World Wind]], if installed, to show the indicated location on the globe. I'm not aware of any security, spam, or other abuse implications to doing this.
I see that worldwind's own mediawiki installation (http://www.worldwindcentral.com/wiki/Main_Page) has enabled this URL scheme.
Gracias, John Fader
As an aside, looking over maintenance/interwiki.sql I see that a few entries are in need of an update (IMDb changed its url scheme some months ago).
John Fader wrote:
Would it be possible to add the worldwind URL scheme to the list of acceptable URL schemes that en.wikipedia accepts as valid for external links?
This is a very nice feature for the gis "Map sources" extension.
For the proof-of-concept demo I simple added to the definition already in Parser.php, thus:
define( 'URL_PROTOCOLS', 'http|https|ftp|irc|gopher|news|mailto|worldwind' );
Perhaps it would be more clean to do it in the extension proper? Is there a clean way one could cleanly add to URL_PROTOCOLS from an extension (I have a suspiscion there is not).
If there is not, would there be any problem just adding it?
Egil
wikitech-l@lists.wikimedia.org