Extension:StorifyWidget
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
StorifyWidget Release status: unmaintained |
|
---|---|
Implementation | Tag |
Description | Lets you embed a story from Storify 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 |
<storifywidget> |
|
The StorifyWidget extension let you embed a story from Storify in your wiki.
Installation
edit- Download and place the file(s) in a directory called
StorifyWidget
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/StorifyWidget/StorifyWidget.php";
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters
editJust insert the tag where you want the stream to appear.
You can configure it with the following parameters :
is the default values if you don't set them.
- src : URI of the story you want to import (Doesn't work without it)
The URI needed is the URI of the story when it is full page : http://storify.com/[USERNAME]/[URI-ENCODED-TITLE-OF-THE-STORY]
ie : http://storify.com/torontostar/search-for-rusty-the-red-panda
- width (default "32") : The width of the widget (em)
- height (default "50") : The height of the widget (em)
Troubleshooting
editStorify widget is an extremely simple extension; all it does is convert a "storifywidget" tag into the export link from Storify but add the possibility to set the width and height.
Wiki Compatibility
editStorifyWidget 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 StorifyWidget will work on earlier versions of MediaWiki. Another way to do it is to use the export link from Storify story.
Changelog
editv0.1 : Inital version