Last modified: 2009-10-28 21:56:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23316, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21316 - comparator like "~" is not working with coordinates
comparator like "~" is not working with coordinates
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
PC Linux
: Normal major (vote)
: ---
Assigned To: Markus Krötzsch
http://www.bluewater-info.net
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-27 20:15 UTC by tkrueger73
Modified: 2009-10-28 21:56 UTC (History)
0 users

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


Attachments

Description tkrueger73 2009-10-27 20:15:54 UTC
I tried to create an query with the "~" comparator, but it´s only working like without the "~" and not like described in Help:Selecting_pages Point 2.3.
The code for example:
{{#ask:[[Category:Häfen]] [[Coordinates::~53.89623397° N, 11.46021473° E]]|?coordinates|?depth max|?depth min|icon=NChart-Symbol_INT_Harbour24.png|format=googlemaps|width=1000|height=500|type=physical}}

I also tried it with the "distance" parameter, but no effect. The query works only with absolute exact coordinates.

My SMW is 1.4.3.

Can anyone check if this feature is working in principal?

Best regards,

tkrueger73
Comment 1 tkrueger73 2009-10-28 21:56:45 UTC
(In reply to comment #0)
> I tried to create an query with the "~" comparator, but it´s only working like
> without the "~" and not like described in Help:Selecting_pages Point 2.3.
> The code for example:
> {{#ask:[[Category:Häfen]] [[Coordinates::~53.89623397° N, 11.46021473°
> E]]|?coordinates|?depth max|?depth
> min|icon=NChart-Symbol_INT_Harbour24.png|format=googlemaps|width=1000|height=500|type=physical}}
> 
> I also tried it with the "distance" parameter, but no effect. The query works
> only with absolute exact coordinates.
> 
> My SMW is 1.4.3.
> 
> Can anyone check if this feature is working in principal?
> 
> Best regards,
> 
> tkrueger73
> 

The "~" has to be activated by $smwgQComparators = '<|>|!|~' in Localsettings.php below SMW!

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


Navigation
Links