Jump to content

Extension:SimplePasteImage

From mediawiki.org
MediaWiki extensions manual
SimplePasteImage
Release status: experimental
Description Auto-upload images on copy-paste to VisualEditor
Author(s) Urfiner (Nikolai Kochkin)
Latest version 0.0.2
MediaWiki 1.43
License MIT License
Download

The SimplePasteImage extension simplifies copy-pasting documents from external sources: it automatically uploads images to your wiki.

It is not very stable at the moment, for now that is more a proof of concept than a reliable solution. For a more reliable solution please take a look at PandocUltimateConverter.

Please use github issues for leaving feedback, reporting issues and requesting features. I may miss your message on the Discussions tab

Installation

[edit]
  • Allow uploads from external URLs by specifying $wgAllowCopyUploads = true; in LocalSettings.php
  • Download and place the file(s) in a directory called SimplePasteImage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SimplePasteImage' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

[edit]

Copy text with images from a website and paste it in Visual Editor, see gif: