Extension:IAnnWidget
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
![]() Release status: unmaintained |
|
---|---|
Implementation | Tag |
Description | Lets you embed the iAnn stream in your wiki |
Author(s) | Flavien Bossiaux (BFlavientalk) |
Latest version | 0.1 (2013-06-27) |
MediaWiki | 1.19+ |
PHP | 5.4+ |
Database changes | No |
License | GNU General Public License 2.0 |
Download | GitHub: Note: README |
Example | gmod.org |
<iannwidget> |
|
The IAnnWidget extension let you embed the iAnn stream in your wiki.
Installation[edit]
- Download and place the file(s) in a directory called
IAnnWidget
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/IAnnWidget/IAnnWidget.php";
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters[edit]
Just insert the tag where you want the stream to appear.
You can configure it as an iFrame (it is iFrame-based).
is the default values if you don't set them.
- width (default "720") : The width of the widget
- height (default "700") : The height of the widget
- scrolling (default "auto") : ["auto" / "yes" / "no"] for enabling / disabling the scrolling.
- frameborder (default "0") : ["1" / "0"] for enabling / disabling the frameborder
Troubleshooting[edit]
iAnn widget is an extremely simple extension; all it does is convert an "iannwidget" tag into an "" tag, with the stream of iAnn (http://iann.pro/node/15). There is default values to prevent errors from the users.
Wiki Compatibility[edit]
iAnn Widget uses ResourceLoader, which was introduced in MW 1.17. I only have access to a wiki running 1.19.2, so I cannot guarantee that iAnn widget will work on earlier versions of MediaWiki. Another way to do it is this method : http://iann.pro/node/6
Changelog[edit]
v0.1 : Inital version