The extension uses version 1.4 of the wrsledruncache table now.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Wed, 9 Feb 2011 21:54:15 +0000 (21:54 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Wed, 9 Feb 2011 21:54:15 +0000 (21:54 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/extensions/wrmap@769 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.body.php
wrmap.php

index 2b2cf59d4cf3b17f1c66a1559f8dfb759dcc7663..95e88aed485ea56653df2abfe7f7c2b6f5646a8b 100644 (file)
@@ -74,7 +74,7 @@ class WrGoogleMaps {
 
                // Query database
                $dbr = wfGetDB(DB_SLAVE);
-               $res = $dbr->select('wrsleddingcache', array('page_title', 'position_latitude', 'position_longitude'), array('show_in_overview', 'not under_construction'));
+               $res = $dbr->select('wrsledruncache', array('page_title', 'position_latitude', 'position_longitude'), array('show_in_overview', 'not under_construction'));
                $sleddingRoutes = array();
                while ($sleddingRoute = $dbr->fetchRow($res)) $sleddingRoutes[] = $sleddingRoute;
                $dbr->freeResult($res);
index 38e1da7b7816fbc7d7aa2430b3c6fffe2eab422a..2240e779748cce6d515974fcd4f566ffeda40cf8 100644 (file)
--- a/wrmap.php
+++ b/wrmap.php
@@ -5,10 +5,10 @@
 
 $wgExtensionCredits['parserhook'][] = array(
        'name' => 'Winterrodeln Map',
-       'version' => '1.2.0',
+       'version' => '1.4.0',
        'author' =>'Philipp Spitzer', 
        'url' => 'http://www.winterrodeln.org/trac/wiki/WrMap', 
-       'description' => 'This extension creates a map with GoogleMaps to show sledding routes.'
+       'description' => 'This extension creates a map with GoogleMaps to show sledrun routes.'
 );