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"
Jump to navigation
Jump to search
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == State of Revival == | ||
+ | === Domains === | ||
+ | * http://www.waihekepedia.org should point to this site again soon | ||
+ | * http://www.waihekepedia.com has been given up and has some other content at this time | ||
+ | * http://waihekepedia.bitplan.com or http://www.waihekepedia.bitplan.com are the temporary domain names for this site | ||
+ | |||
+ | === State of Content === | ||
+ | * Fullbackup of Content of 2010-06 (592 articles) as SQL archive | ||
+ | ** fullbackup has been exported to 610 separate ".wiki" text files for analysis | ||
+ | * Waybackmachine has snapshots up to [https://web.archive.org/web/20140221131335/http://waihekepedia.org/Main_Page 2014-02] (615 articles in principle) | ||
+ | * https://web.archive.org/web/*/http://waihekepedia.org/* shows that 237 urls are available on waybackmachine | ||
+ | * https://web.archive.org/web/*/http://waihekepedia.com/* shows that 1125 urls are available on waybackmachine | ||
+ | ==== Comparison ==== | ||
+ | some examples: | ||
+ | * https://web.archive.org/web/20131031203125/http://www.waihekepedia.org/Artworks versus [[Artworks]] | ||
+ | * https://web.archive.org/web/20120126204115/http://waihekepedia.org/Catherine_Mitchell_Arts_Centre versus [[Catherine_Mitchell_Arts_Centre]] (restored) | ||
+ | * https://web.archive.org/web/20120722215500/http://www.waihekepedia.org/Waiheke_Island versus [[Waiheke Island]] | ||
+ | |||
+ | == Logbook of Revival step 2014-10-06/2014-10-07 == | ||
=== Reactivating RSS feeds === | === Reactivating RSS feeds === | ||
See: | See: | ||
Line 4: | Line 23: | ||
[[Recent_Pages]] has a comment on what needed to be changed | [[Recent_Pages]] has a comment on what needed to be changed | ||
− | === | + | === Replacing Maps extension === |
The GoogleMaps extension is deprecated. | The GoogleMaps extension is deprecated. | ||
Line 65: | Line 84: | ||
Old Googlemap Markup: | Old Googlemap Markup: | ||
<pre> | <pre> | ||
− | + | {{map|lat=-36.777908|lon=175.043085|zoom=15|width=400|height=300|title=Map Title}} | |
</pre> | </pre> | ||
New display_map markup: | New display_map markup: | ||
Line 73: | Line 92: | ||
| width= 300px | | width= 300px | ||
|resizable=yes | |resizable=yes | ||
+ | |minzoom=12 | ||
+ | |maxzoom=15 | ||
+ | |zoom=14 | ||
}} | }} | ||
</pre> | </pre> | ||
Line 81: | Line 103: | ||
| width= 300px | | width= 300px | ||
|resizable=yes | |resizable=yes | ||
− | |minzoom= | + | |minzoom=12 |
− | |maxzoom= | + | |maxzoom=15 |
− | |zoom= | + | |zoom=14 |
}} | }} | ||
+ | ==== Replacing old googlemaps ==== | ||
+ | Install http://www.mediawiki.org/wiki/Extension:Replace_Text extension | ||
+ | |||
+ | *First step | ||
+ | <pre> | ||
+ | Original Text: | ||
+ | Google Maps location of (.*)\<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)" type="(.*)"\>(.*)\<.googlemap\> | ||
+ | Replacement Text: | ||
+ | Maps location of $1 {{map|lat=$3|lon=$4|zoom=$5|width=$6|height=$7|type=$8|title=$9}} | ||
+ | </pre> | ||
+ | * Second step | ||
+ | <pre> | ||
+ | Original Text: | ||
+ | \<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)" type="(.*)"\>(.*)\<.googlemap\> | ||
+ | Replacement Text: | ||
+ | {{map|lat=$2|lon=$3|zoom=$4|width=$5|height=$6|type=$7|title=$8}} | ||
+ | </pre> | ||
+ | * Third step | ||
+ | <pre> | ||
+ | e.g. Boat Shed Bay | ||
+ | <googlemap version="0.9" lat="-36.778183" lon="175.044415" type="satellite" zoom="16"> http:// -36.778122, 175.047015, Boat Shed Bay Boat Shed Bay </googlemap> | ||
+ | |||
+ | Original Text: | ||
+ | Google Maps location of (.*)\<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)" type="(.*)"\>(.*)\<.googlemap\> | ||
+ | Replacement Text: | ||
+ | Maps location of $1 {{map|lat=$3|lon=$4|zoom=$5|width=$6|height=$7|type=$8|title=$9}} | ||
+ | </pre> | ||
+ | * Fourth step | ||
+ | <pre> | ||
+ | e.g. Ferry Building | ||
+ | <googlemap lat="-36.843" lon="174.767" zoom="17" width="600" height="400">-36.843,174.767,Auckland Ferry Building</googlemap> | ||
+ | Original Text: | ||
+ | Google Maps location of (.*)\<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)" type="(.*)"\>(.*)\<.googlemap\> | ||
+ | Replacement Text: | ||
+ | Maps location of $1 {{map|lat=$3|lon=$4|zoom=$5|width=$6|height=$7|type=$8|title=$9}} | ||
+ | </pre> | ||
+ | * Fifth step | ||
+ | <pre> | ||
+ | \<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)"\>(.*)\<.googlemap\> | ||
+ | {{map|lat=$2|lon=$3|zoom=$4|width=$5|height=$6|title=$7}} | ||
+ | </pre> | ||
+ | == Reactivating Youtube == | ||
+ | Install as outlined in http://www.mediawiki.org/wiki/Extension:YouTube | ||
+ | == Social Login == | ||
+ | |||
+ | === Candidate Extensions === | ||
+ | * http://www.mediawiki.org/wiki/Extension:SocialLogin | ||
+ | * http://www.mediawiki.org/wiki/Extension:Facebook (not maintained beyond Mediawiki Version 1.20) | ||
+ | === Install SocialLogin and configure === | ||
+ | * install by unzipping and moving result to "SocialLogin" (not SocialLogin-Master!) | ||
+ | * make sure sql script is run to create table for plugin | ||
+ | |||
+ | ==== doesn't work? ==== | ||
+ | * http://www.waihekepedia.org/index.php/Special:SocialLogin looks empty | ||
+ | |||
+ | Doesn't work with Mediawiki 1.23 see e.g.: | ||
+ | * http://www.mediawiki.org/wiki/Extension_talk:SocialLogin#still_broken_on_1.23.3F_Did_anybody_got_it_to_work.3F_45486 | ||
+ | * http://www.gossamer-threads.com/lists/wiki/mediawiki/484417 | ||
+ | Not much going on in development: | ||
+ | * https://github.com/wikimedia/mediawiki-extensions-SocialLogin/graphs/commit-activity | ||
+ | but still better than nothing: | ||
+ | * https://github.com/wikimedia/mediawiki-extensions-SocialLogin |
Latest revision as of 20:11, 7 October 2014
State of Revival
Domains
- http://www.waihekepedia.org should point to this site again soon
- http://www.waihekepedia.com has been given up and has some other content at this time
- http://waihekepedia.bitplan.com or http://www.waihekepedia.bitplan.com are the temporary domain names for this site
State of Content
- Fullbackup of Content of 2010-06 (592 articles) as SQL archive
- fullbackup has been exported to 610 separate ".wiki" text files for analysis
- Waybackmachine has snapshots up to 2014-02 (615 articles in principle)
- https://web.archive.org/web/*/http://waihekepedia.org/* shows that 237 urls are available on waybackmachine
- https://web.archive.org/web/*/http://waihekepedia.com/* shows that 1125 urls are available on waybackmachine
Comparison
some examples:
- https://web.archive.org/web/20131031203125/http://www.waihekepedia.org/Artworks versus Artworks
- https://web.archive.org/web/20120126204115/http://waihekepedia.org/Catherine_Mitchell_Arts_Centre versus Catherine_Mitchell_Arts_Centre (restored)
- https://web.archive.org/web/20120722215500/http://www.waihekepedia.org/Waiheke_Island versus Waiheke Island
Logbook of Revival step 2014-10-06/2014-10-07
Reactivating RSS feeds
See:
Recent_Pages has a comment on what needed to be changed
Replacing 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
lat/lon test
Old Googlemap Markup:
{{map|lat=-36.777908|lon=175.043085|zoom=15|width=400|height=300|title=Map Title}}
New display_map markup:
{{#display_map: -36.777908, 175.043085 | height= 200px | width= 300px |resizable=yes |minzoom=12 |maxzoom=15 |zoom=14 }}
result:
Replacing old googlemaps
Install http://www.mediawiki.org/wiki/Extension:Replace_Text extension
- First step
Original Text: Google Maps location of (.*)\<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)" type="(.*)"\>(.*)\<.googlemap\> Replacement Text: Maps location of $1 {{map|lat=$3|lon=$4|zoom=$5|width=$6|height=$7|type=$8|title=$9}}
- Second step
Original Text: \<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)" type="(.*)"\>(.*)\<.googlemap\> Replacement Text: {{map|lat=$2|lon=$3|zoom=$4|width=$5|height=$6|type=$7|title=$8}}
- Third step
e.g. Boat Shed Bay <googlemap version="0.9" lat="-36.778183" lon="175.044415" type="satellite" zoom="16"> http:// -36.778122, 175.047015, Boat Shed Bay Boat Shed Bay </googlemap> Original Text: Google Maps location of (.*)\<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)" type="(.*)"\>(.*)\<.googlemap\> Replacement Text: Maps location of $1 {{map|lat=$3|lon=$4|zoom=$5|width=$6|height=$7|type=$8|title=$9}}
- Fourth step
e.g. Ferry Building <googlemap lat="-36.843" lon="174.767" zoom="17" width="600" height="400">-36.843,174.767,Auckland Ferry Building</googlemap> Original Text: Google Maps location of (.*)\<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)" type="(.*)"\>(.*)\<.googlemap\> Replacement Text: Maps location of $1 {{map|lat=$3|lon=$4|zoom=$5|width=$6|height=$7|type=$8|title=$9}}
- Fifth step
\<googlemap(.*)lat="(.*)" lon="(.*)" zoom="(.*)" width="(.*)" height="(.*)"\>(.*)\<.googlemap\> {{map|lat=$2|lon=$3|zoom=$4|width=$5|height=$6|title=$7}}
Reactivating Youtube
Install as outlined in http://www.mediawiki.org/wiki/Extension:YouTube
Social Login
Candidate Extensions
- http://www.mediawiki.org/wiki/Extension:SocialLogin
- http://www.mediawiki.org/wiki/Extension:Facebook (not maintained beyond Mediawiki Version 1.20)
Install SocialLogin and configure
- install by unzipping and moving result to "SocialLogin" (not SocialLogin-Master!)
- make sure sql script is run to create table for plugin
doesn't work?
Doesn't work with Mediawiki 1.23 see e.g.:
- http://www.mediawiki.org/wiki/Extension_talk:SocialLogin#still_broken_on_1.23.3F_Did_anybody_got_it_to_work.3F_45486
- http://www.gossamer-threads.com/lists/wiki/mediawiki/484417
Not much going on in development:
but still better than nothing: