Talk:Maps and Semantic Maps 0.7 rc1 available
beta 1
Bug: Hook MapsCoordinates::staticMagic failed to return a value;
- Gone with beta 2
beta 2
Fatal error: func_get_args(): Can't be used as a function parameter in /var/www/corumtest.mephist.ru/htdocs/wikifiles/extensions/Validator/includes/ParserHook.php on line 374
When I trying to save page with template that calculate map and coordinates by address (http://wiki.mephist.ru/wiki?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D0%9F%D0%BE%D0%B4%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5_%D0%9D%D0%98%D0%AF%D0%A3&action=edit)
+ Pages with maps (http://wiki.mephist.ru/wiki/%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:%D0%9F%D0%BE%D0%B4%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_%D0%9D%D0%98%D0%AF%D0%A3_%D0%9C%D0%98%D0%A4%D0%98), that was saved with Maps and Semantic Maps 0.6.6 need to be resaved with Maps and Semantic Maps 0.7b2. And resaved again when go back from 0.7b2 to 0.6.6.
- Fixed in beta 3. --Jeroen De Dauw 17:38, October 9, 2010 (EDT)
beta 3
Fatal error: Declaration of CriterionItemCount::validate() must be compatible with that of ParameterCriterion::validate() in /var/www/corumtest.mephist.ru/htdocs/wikifiles/extensions/Validator/includes/criteria/CriterionItemCount.php on line 42
On saving page with map (http://wiki.mephist.ru/wiki/%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:%D0%9F%D0%BE%D0%B4%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F_%D0%9D%D0%98%D0%AF%D0%A3_%D0%9C%D0%98%D0%A4%D0%98) and on page with template with map (http://wiki.mephist.ru/wiki/%D0%90%D0%BD%D0%B3%D0%B0%D1%80%D1%81%D0%BA%D0%B8%D0%B9_%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%B5%D1%85%D0%BD%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9_%D0%BA%D0%BE%D0%BB%D0%BB%D0%B5%D0%B4%D0%B6).
- Thanks for pointing this out, just fixed it :) --Jeroen De Dauw 17:38, October 9, 2010 (EDT)
gone with rc1
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Geographic_coordinate type | 2 | 14:21, October 14, 2010 |
| Template again | 7 | 07:41, October 20, 2010 |
| <validator-fatal-error> (RC1) | 4 | 12:10, October 13, 2010 |
Geographic_coordinate do not understand geocode results. Look: http://mapping.referata.com/wiki/GetPointTest
It worked at 0.6.6. with this type: http://wiki.mephist.ru/wiki/Type:Coordinates
Strange thing. It works here, but it isn't work at my wiki.
Look at this.
Here:
http://mapping.referata.com/wiki/GetPointTest
http://mapping.referata.com/wiki/Template:GetPoint
and same on my wiki:
http://wiki.mephist.ru/wiki/GetPointTest
http://wiki.mephist.ru/wiki/Template:GetPoint
http://wiki.mephist.ru/wiki/GetPointTest works well if I resave it. But it isn't show map, if I resave template.
But here (on http://mapping.referata.com) it works well even after template resave.
I have already written it before: http://www.mediawiki.org/wiki/Extension_talk:Semantic_Maps#Problem_with_templates_849
This is one of these annoying MediaWiki wickedness issues *sigh*... I'm not 100% sure if it can be solved with the current architecture, but I'll also have a look at this tomorrow.
I'm not sure what the issue on your wiki is, but Yaron thinks it's a data refresh issue, which would make sense. Unless you can pinpoint the reason why it's not working on your wiki and it is on others, I'm afraid I can't fix it :(
I made a compare of to versions of one page: good (after page resave) and bad (after template resave).
There are some changes (may be it would help you):
1. Good version has this code:
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAkjW9Z02Wr2DA2cO4Yz7i8xQs3rSWqIDJQozxN2O2ieoEaKtcKBTzQjsYDdYdEUB1FaBPQvU3CfRxAA&hl=ru" type="text/javascript"></script> <script src="/extensions/Maps/includes/services/GoogleMaps/GoogleMapFunctions.js?207-0.7 rc1" type="text/javascript"></script> <script type="text/javascript">window.unload = GUnload; var msgOverlays = "Слои";</script>
before:
<script type="text/javascript">addOnloadHook( function() {....
2. Good version has this:
<!-- Saved in stable version parser cache with key wikidb:stable-pcache:idhash:1486-0!1!0!!ru!2 and timestamp 20101014175722 -->
before:
<!-- Saved in parser cache with key wikidb:pcache:idhash:1486-0!1!0!!ru!2 and timestamp 20101014175235 -->
There is FlaggedRevs Extension (http://www.mediawiki.org/wiki/Extension:FlaggedRevs) on my wiki. Maybe it is important.
I do not know why, but your extension do now add some of js when doing the recalculation of pages with templates on my wiki.
Can you have a look if this problem also occurs when you disable Flagged Revs?
<validator-fatal-error>on pages with template that have
{{
#display_point: {{{расположение|}}}
|controls=small
|width=260
|height=260
|zoom=16
}}
[[Coordinates:: {{#geocode:{{{расположение|}}}}}]]
where {{{расположение|}}} has address.
page: http://wiki.mephist.ru/wiki/%D0%92%D0%BE%D0%BB%D0%B3%D0%BE%D0%B4%D0%BE%D0%BD%D1%81%D0%BA%D0%B8%D0%B9_%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%B5%D1%85%D0%BD%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9_%D1%82%D0%B5%D1%85%D0%BD%D0%B8%D0%BA%D1%83%D0%BC
template: http://wiki.mephist.ru/wiki?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D0%9F%D0%BE%D0%B4%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5_%D0%9D%D0%98%D0%AF%D0%A3&action=edit
I'm not succeeding at reproducing this issue. Can you make it occur on some test page on this wiki (which is also running RC1 ATM)?
Look at this: http://mapping.referata.com/wiki/GetPointTest
This problem is not from template. I was wrong.
The problem is coming from the geocoding service (in this case GeoNames) not being able to geocode the address you provide. The google one seems to work better, and can be used by adding the geoservice parameter like this:
{{#geocode:город Ангарск, Иркутская область|geoservice=google}}
Also have a look at the global geocoding settings.
