Please show your support of Waihekepedia by adding a link to us from your web site. Waihekepedia T Shirts now available at the Ostend Market

Difference between revisions of "Waihekepedia Revival"

From Waihekepedia
Jump to navigation Jump to search
Line 63: Line 63:
 
{{#display_map:|centre=Matiatia Bay}}
 
{{#display_map:|centre=Matiatia Bay}}
 
===== lat/lon test =====
 
===== lat/lon test =====
<map lat="51.485" lon="-0.15" z="11" w="300" h="200" format="jpeg" />
+
{{#display_map: 55.7557860, 37.6176330
 +
| height= 200px
 +
| width= 300px
 +
}}

Revision as of 07:07, 7 October 2014

Reactivating RSS feeds

See:

Recent_Pages has a comment on what needed to be changed

Reinstalling Maps extension

The GoogleMaps extension is deprecated.

is a replacement

According to

composer is needed for installing the replacement extension

wf@tol:/tmp$ curl -sS https://getcomposer.org/installer | php
#!/usr/bin/env php
All settings correct for using Composer
Downloading...

Composer successfully installed to: /tmp/composer.phar
Use it: php composer.phar
wf@tol:/tmp$ sudo mv composer.phar /usr/local/bin/composer.phar

Install with composer

php /usr/local/bin/composer.phar require mediawiki/maps "*"
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing composer/installers (v1.0.18)
    Downloading: 100%         

  - Installing data-values/interfaces (0.1.4)
    Downloading: 100%         

  - Installing data-values/data-values (0.1.1)
    Downloading: 100%         

  - Installing data-values/common (0.2.2)
    Downloading: 100%         

  - Installing data-values/geo (1.0)
    Downloading: 100%         

  - Installing data-values/validators (0.1.1)
    Downloading: 100%         

  - Installing param-processor/param-processor (1.2.1)
    Downloading: 100%         

  - Installing mediawiki/validator (2.0.4)
    Downloading: 100%         

  - Installing mediawiki/maps (3.2.0)
    Downloading: 100%         

Writing lock file
Generating autoload files

Test

display map by name
Loading map...
lat/lon test
Loading map...