Extension:Website in iFrame
|
|
WARNING: the code or configuration described here poses a major security risk.
Problem: Vulnerable to Cross-site scripting attacks, because it passes user input directly to the browser. This may lead to user accounts being hijacked, among other things. |
|
include Release status: stable |
|
|---|---|
| Implementation | Tag |
| Description | This simple extension will allow you to post a website in an iFrame in your MediaWiki articles. |
| Author(s) | Unknown |
| Last version | Unknown (Unknown) |
| MediaWiki | 1.5, 1.11.0 (confirmed) |
| License | No license specified |
| Download | http://mw-extensions.googlecode.com/svn/trunk/websiteFrame |
|
Check usage (experimental) |
|
Contents |
[edit] Description
This simple extension will allow you to post a website in an iFrame in your MediaWiki articles.
[edit] Installation
To install this extension, check out the file from the linked repository to your extensions directory. Finally, edit your LocalSettings.php file and add the following code to the bottom;
/* websiteFrame extension */ include("extensions/websiteFrame.php");
[edit] Usage
Be sure to use the full URL to your website; http://www.yourWebsite.com
<websiteFrame> website=[website URL] name=[string] align=[top,middle,bottom,left,right] height=[number] width=[number,percentage] border=[number] scroll=[yes,no,auto] longdescription=[long description URI] </websiteFrame>
[edit] Example
<websiteFrame>
website=http://www.google.com
height=800
width=100%
border=0
scroll=yes
</websiteFrame>
[edit] See also
- Iframe Widget on MediaWikiWidgets.org site, it uses Widgets extension.
