Jump to content

Extension:InsertFile

From mediawiki.org

<language/s>

MediaWiki extensions manual
InsertFile
Release status: stable
Description Dialogue to upload files and insert a file link.
Author(s) Hallo Welt! GmbH
Maintainer(s) Hallo Welt! GmbH
Latest version -
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.43 (LTS)
Licence GNU General Public License 3.0 only
Download
Translate the InsertFile extension if it is available at translatewiki.net
 Community Forum


InsertFile extends the Insert media dialog of VisualEditor, providing an advanced interface for inserting files and images in the page.

Usage / features

[edit]
  • Search for uploaded files and insert them in a page.
  • Filter files with a search box. Filtering files by namespace is possible, but requires the extension NSFileRepo.
  • Upload a new file, assign categories and insert it.
  • Configure file link parameters before inserting the file link of page: Set a caption for the link and choose a link type (link to media page or direct download link).

See also

[edit]


Installation

[edit]

.git) as a "vcs repository" and the package name (mediawiki/BlueSpiceInsertFile) and version to the require section of your composer.local.json. Example:

{
	"repositories": [
		{
			"type": "vcs",
			"url": "https://github.com/wikimedia/mediawiki-extensions-BlueSpiceInsertFile
.git"
		}
	],
	"require": {
		"mediawiki/BlueSpiceInsertFile": "BlueSpiceInsertFile"
	}
}
  • Run the following command in your MediaWiki installation path
composer update --no-dev
wfLoadExtension( 'BlueSpiceInsertFile' );
  • Yes Done Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
[edit]
Bluespice icon

This extension was originally made for BlueSpice . BlueSpice is a MediaWiki distribution for enterprises and organizations. It enhances MediaWiki, in particular in the areas of quality management, process support, administration, editing and security. This extension is bundled with BlueSpice free.

BlueSpice: