Difference between revisions of "Widget:SlideShare"

From Knoesis wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>__NOTOC__
 
<noinclude>__NOTOC__
This widget allows you to add [http://www.slideshare.net/ SlideShare] slideshows to your wiki page. It replaces original [[mediawikiwiki:Extension:SlideShare|SlideShare]] extension.
+
This widget allows you to embed any web page on your wiki page using an iframe tag.
  
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.techpresentations.org TechPresentations.org].
+
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
  
 
== Using this widget ==
 
== Using this widget ==
For information on how to use this widget, see [http://www.mediawikiwidgets.org/SlideShare widget description page on MediaWikiWidgets.org].
+
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Iframe widget description page on MediaWikiWidgets.org].
 +
 
 +
<big>'''<font color="red">This widget shouldn't be used on a publicly-editable wiki.</font>'''</big>
 +
 
 +
While the url is validated to be a valid url, there is no way the widget can check the contents of the page that is included. When enabling this widget, you allow any user that can edit to include any page, including malicious pages (containing trojans, backdoors, viruses etc), pages that brake out of the iframe and pages that look like your site, but actually is a copy used for phishing.
  
 
== Copy to your site ==
 
== Copy to your site ==
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
</noinclude><includeonly><iframe src="http://www.slideshare.net/slideshow/embed_code/<!--{$id|escape:'urlpathinfo'}-->?<!--{if isset($norelated)}-->&rel=0<!--{/if}--><!--{if isset($start)}-->&startSlide=<!--{$start|escape:'urlpathinfo'|validate:int}--><!--{/if}-->" width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$height|default:355|escape:'html'}-->" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px; max-width: 100%;" allowfullscreen></iframe></includeonly>
+
</noinclude><includeonly><iframe src="<!--{$url|validate:url}-->" frameborder="<!--{$border|validate:int|default:0}-->" width="<!--{$width|escape:html|default:400}-->" height="<!--{$height|escape:html|default:300}-->"></iframe></includeonly>

Revision as of 19:50, 19 May 2015

This widget allows you to embed any web page on your wiki page using an iframe tag.

Created by Sergey Chernyshev

Using this widget

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

This widget shouldn't be used on a publicly-editable wiki.

While the url is validated to be a valid url, there is no way the widget can check the contents of the page that is included. When enabling this widget, you allow any user that can edit to include any page, including malicious pages (containing trojans, backdoors, viruses etc), pages that brake out of the iframe and pages that look like your site, but actually is a copy used for phishing.

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:SlideShare article.