plugin:iframeinterwiki
Table of Contents
iframeinterwiki Plugin
Compatible with DokuWiki
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
- 2018-04-22 "Greebo" yes
- 2017-02-19 "Frusterick Manners" yes
Download and Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Manual Installation
To install the plugin manually, download the source to your plugin folder, lib/plugins
and extract its contents. That will create a new plugin folder, lib/plugins/iframeinterwiki
, and install the plugin.
The folder will contain:
conf/default.php default settings conf/metadata.php settings information for the config plugin lang/xx/lang.php language strings for config plugin syntax.php plugin script
Syntax and Usage
Simple:
{{url>http://www.example.com/somepage.html}}
Complete Syntax:
{{url>someurl width,height noscroll noborder alignment|alternate-text}}
Using interwiki:
{{url>personalserver>test.html}} with personnalserver was defined on interwiki.local.conf Can use ''{NAME}'' or ''{URL}'' to replace the second part of interwiki uri by ''test.html'' here. URL is for url encoded parameter.
Configuration
The plugin has one configuration setting, which can be set via the admin/configuration settings page.
- $js_ok — default value -
false
, set totrue
to enable JavaScript URLs.
This should never be enabled in public wikis as it opens a XSS security hole.
Acknowledgments
The plugin base on the iframe plugin written by Christopher Smith.
plugin/iframeinterwiki.txt · Last modified: 2023-02-13 20:41 by Aleksandr