Release status: experimental |
|
|---|---|
| Implementation | Tag |
| Description | Include external static content from the local file system, a remote URL, or SVN. External content can be included or embedded as an iframe. |
| Author(s) | EdeSoltalk |
| Latest version | 2.0 WIP (2021-11-14) |
| MediaWiki | 1.21+ |
| Database changes | No |
| License | GNU General Public License 3.0 or later |
| Download | GitHub: Note: |
|
Parameters
[see documentation] |
|
|
Hooks used
|
|
A few introductory remarks
Be aware. This is work in progress.
SecureInclude is basically the original Include Extension fixed up to do Syntaxhighlighting again and some more. <include> should be stable while the new tags <shell>, <php> are experimental for now. Be patient.
The steps to enable SyntaxHighlighting differ slightly now.
Step 1.
- install SyntaxHighlighting as described in Extension:SyntaxHighlight#Installation
Step 2.
- add
<include>tag using<syntaxhighlight>attributes (as documented on Extension:SyntaxHighlight#Parameters) eg. <include src="./tmp/duply.sh" lang="bash" line nocache nopre/>
- add
Documentation
The best documentation for now is in the header of secure-include.php.
Installation
- https://github.com/edeso/SecureInclude/archive/master.zip and place the file(s) in a directory called
SecureIncludein yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'SecureInclude' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.