aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/geomap.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/geomap.php')
-rw-r--r--extensions/geomap.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/extensions/geomap.php b/extensions/geomap.php
deleted file mode 100644
index 46c83a7fcea2..000000000000
--- a/extensions/geomap.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?
-$wgExtensionFunctions[] = "wfGeomapExtension";
-
-function wfGeomapExtension ()
- {
- global $wgParser ;
- $wgParser->setHook ( "geomap" , parse_geomap ) ;
- }
-
-function parse_geomap ( $text )
- {
- global $wgGeomapURL ;
- if ( !isset ( $wgGeomapURL ) ) return "" ; # Hide broken extension
-
- $url = $wgGeomapURL ;
-# $url = "http://127.0.0.1/extensions/geo/index.php" ;
- $url .= "?params=" . urlencode ( $text ) ;
-
- $ret = '
-<object data="' . $url . '" width="500" height="500" type="image/svg+xml" border=1>
-<embed src="' . $url . '" width="500" height="500" type="image/svg+xml" />
-</object>' ;
-
-# $ret = "<iframe width=200 height=200 src=\"{$url}\"/>" ;
- return $ret ;
- }
-
-?> \ No newline at end of file