Re: [SMW-devel] [SF] Buttons to conveniently fill in date fields

2009-07-22 Thread Patrick Nagel
Hi Yaron, On 2009-07-22 22:06, Yaron Koren wrote: > My personal opinion is that this doesn't seem like a useful feature - > first, because I've never seen such a thing on a web date input; and > second, because the SF date input already presets the current month and > year, so (unless you're on th

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread jeroen De Dauw
Hey, I was not aware about the Google Maps API key needing to be recent to work with Google Earth. I'll add a mention to the docs. The zoom parameter works exactly the same as in SGM, at least for Google Maps and Yahoo! Maps: a custom zoom will only be accepted on a result format map when an a

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread jeroen De Dauw
Hey, This functionality is already on the to-do list [0]. Thanks for the suggestion though. [0] http://www.mediawiki.org/wiki/Extension:Semantic_Maps/Future#Accepted_to-do.27s Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Laurent Alquier
Before I forget, there is one functionality that I have been looking for in maps/semantic maps for a long time - if you want an idea for improvements. I wish there was a way to display, next to the map (or below), a list of locations visible on the map with links to change the focus of the map.

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Sergey Chernyshev
Yaron, I don't care one way or another and agree that following MW standards is a good idea - just keep in mind that there are other extensions that us $wgGoogleMapsKey - http://www.mediawiki.org/w/index.php?title=Special:Search&search=%24wgGoogleMapsKey It would probably be a good idea to have so

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Yaron Koren
Hi, The map-key location thing should be improved in the Maps extension - there's no real reason why it should matter. The new equivalent of #semantic_google_map is #display_point - there's actually nothing semantic about the #semantic_google_map function, which is one of the big reasons why I'm

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Laurent Alquier
Thanks Yaron Moving the variable declaration after the 'require_once' calls worked. I would not have thought of that since declaring $wgGoogleMapsKey before calling semantic google maps used to work :) Another observation in terms of backward compatibility : One of my template is using queries

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Laurent Alquier
Indeed, it looks like old API Keys do not support the Earth plugin. I replaced both variables with the new key I got today without problem. A documentation about the new parameter names for display_point would be welcome. Another observation, the zoom parameter doesn't seem to be working for m

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Laurent Alquier
Another point to investigate. I was able to display maps using the same value for $wgGoogleMapsKey and $egGoogleMapsKey. However, when I tried to turn 'earth=on', Google basked that the API key was not valid for this site. I had to request a new key for $egGoogleMapsKey to get both types of map

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Yaron Koren
A few notes on the Google maps key: Laurent - do you have the key setting after the inclusion of the Maps extension? If it comes beforehand, it won't work. Sergey - the decision was made to use $eg, since that's the correct convention for setting global variables in extensions (though it hasn't be

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Sergey Chernyshev
Yeah, it's not a good idea to rename $wgGoogleMapsKey - it's sort-of generic variable for all MediaWiki extensions that use Google Map services. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 2:15 PM, Laurent Alquier wrote: > Last emai

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Laurent Alquier
Last email for today I thought I would give it a shot and install both Maps and Semantic Maps. Unfortunately, it did not go as smoothly as I thought: 1- If I replace $wgGoogleMapsKey by $egGoogleMapsKey in my LocalSettings.php file, SRF Exhibit stops displaying Maps. 2- If I keep both GoogleMap

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Laurent Alquier
That was fast :) Regarding the error I reported with IE6. I am getting that error on this page : http://wiki.bn2vs.com/wiki/Maps Both the Google Map demo page and the Yahoo Maps demo page are working fine in IE6. The Open Layers demo page is also throwing an error - however, I can visit the O

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Sergey Chernyshev
Yeh, Jeroen created it and replied to me privately already ;) I'll try it when I have spare time. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 1:38 PM, Laurent Alquier wrote: > Hi Sergey > > I believe your answer is already available

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Laurent Alquier
Hi Sergey I believe your answer is already available on the Extension:Semantic Maps page : Upgrading from Semantic Google Maps If you have Semantic Google Maps installed, and want to upgrade to Semantic Maps, these are the steps you need to follow: Remove the SemanticGoogleMaps directory from

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Laurent Alquier
Beautiful ! I can't wait to see a demo of multiple properties query. One observation - Trying to view the demo pages with IE6.0 results in an error (Cannot connect to page). This is reminiscent of early issues with the Google Map and Exhibit formats for Semantic Queries. I do not know how the

Re: [SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread Sergey Chernyshev
Great job, Jeroen! How do I go about upgrading from Semantic Google Maps? My TechPresentations.org uses it a little bit. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 9:56 AM, jeroen De Dauw wrote: > Hey, > > First of all, let me int

Re: [SMW-devel] [SF] Buttons to conveniently fill in date fields

2009-07-22 Thread Yaron Koren
My personal opinion is that this doesn't seem like a useful feature - first, because I've never seen such a thing on a web date input; and second, because the SF date input already presets the current month and year, so (unless you're on the 1st of the month) it just saves you the trouble of writin

[SMW-devel] Maps and Semantic Maps released

2009-07-22 Thread jeroen De Dauw
Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWiki [0] with Yaron Koren [1] as mentor. You can read more about this

[SMW-devel] [SF] Buttons to conveniently fill in date fields

2009-07-22 Thread Patrick Nagel
Hi, I brought this up before on the old Semantic Forms list [1]. At the time I thought it was a viable solution to put my own custom made buttons into the forms where I need them, and I used the HTMLets extension for that. The problem with this solution is, that it's quite unmaintainable. I have