Installing Wiki Widgets
From Hexten
Wiki Widgets is a MediaWiki extension. Once installed anyone can use Wiki Widgets but only the administrator of a wiki can install them. Assuming you are such an administrator please read on to find out how. If you're not an administrator go and find one to bug about Wiki Widgets.
Contents |
[edit] Checklist
- do you have access to upload files to the server?
- does the server have PHP 5 installed
You absolutely must have PHP 5. Wiki Widgets won't work with older versions.
[edit] Download
You can download the latest version of Wiki Widgets here:
- wikiwidgets-0.3.tar.gz (2007/05/14)
[edit] Previous Versions
- wikiwidgets-0.2.tar.gz (2007/05/03)
- wikiwidgets-0.1.tar.gz (2007/04/13)
[edit] Quick Install
Copy the subdirectory wx from the archive into your /wiki/extensions directory and add the following line at the end of LocalSettings.php
include_once('extensions/wx/widget.php');
Create a new page (or use your sandbox) containing just
<widget />
If all is well you should see a list of installed Wiki Widgets when you hit Preview. The corresponding list for this site is at Installed Widgets.
Possible problem
If you get on top of the page a list of lines like this one :
Notice: Undefined index: type in C:\Program Files\EasyPHP\www\barbules\extensions\wx\widget.php on line 108
you have to ...???...
[edit] Configure Google Maps API Key
The Google Maps Widget needs to be configured with the Google API key for your site.
Open /wiki/extensions/wx/widget/googlemap/init.php in an editor and edit the block of code that looks like this:
// Add your Google Maps API key here
'hexten.net' => array(
'api_key' =>
'ABQIAAAAVyB2T4w5ugEDc0dyDm2JsRQP2ubrLxYY5QZUJTkbW0YyoXO-pxTRzltzTiSawNxGGoVhfN7zN4HHkg',
),
to include your API key. You should remove any leading 'www' from the hostname (hexten.net in the example above).

