Difference between revisions of "Widget:Cornify"

From Whitespace (Hackerspace Gent)
Jump to: navigation, search
Line 15: Line 15:
 
js.type = 'text/javascript';
 
js.type = 'text/javascript';
 
js.async = true;
 
js.async = true;
js.src = 'skins/common/cornify.js';
+
js.src = 'smw/skins/common/cornify.js';
 
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(js);
 
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(js);
 
})();</script></includeonly>
 
})();</script></includeonly>

Revision as of 00:37, 26 November 2010

This widget allows you to embed a Cornify button into your wiki page.

It was created by Jeroen De Dauw.

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Cornify article.