Extension:Anysite

Anysite extension allows users to embed or include a website in a wiki page without touching HTML settings.

Before Installing
Many people asked me why I did not allow people to change height and width. That's because I have a belief that the balance of design of the site should not be broken by embedding a site. However, if you like you can use code variations in the discussion page or in this page. The clear difference between Anysite and other extensions is that with other extensions, you have to do bunch of things to embed a single page (because extensions are for adding HTML scripts mainly, not embed), while this extension allows a single line of codes to embed a page. By rendering inputs and outputs using htmlspecialchars, it prevents many possible XSS attacks. This extension is solely for showing and embedding other websites into your wikis, while other extensions mainly focus on adding HTML scripts (which is used to code every websites.) Definitely, if you came here to find the extension that allows you to embed or include other sites into your wiki (for example, allowing users to see a particular webpage in Internet), this extension suits your purpose. If you are for adding the HTML script (for example, adding or ) which starts from to, find other extensions. Thanks.

Code
First, you have to make file called 'anywebsite.php' containing the following code, and place it in your extensions folder.

Please progress to the installation (right below) after doing this.

Installation
Then, create and upload 'anywebsite.php' to the extension folder

Then add this code to LocalSettings.php

After installation, to embed a website, use website's full address

Code variation
Want to pass the iframe size? use this version of the code with the syntax shown.

Usage
You can use this extension to show video from other website without uploading to your site (for multimedia visual reference especially). Insert the following into the article:

the website address

If you use the other Version with width and hight parsing the commands are the following: the website address