From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png

Release status: beta

Implementation Tag
Description Lets you put a button to copy text to clipboard
Author(s) Nischay Nahata (Nischayn22talk)
Latest version 0.1 (2012-04-13)
MediaWiki 1.18+
Database changes no
License GNU General Public License 3.0
Example snapshot.png


Hooks used

Translate the CopyToClipboard extension if possible

Check usage and version matrix; code metrics

The CopyToClipboard extension lets you put a button to copy text to clipboard

This Extension uses Flash and works with Flash 9 and above.

Usage[edit | edit source]

<clippy show="true">TextToCopy</clippy>

Here TextToCopy denotes the text to be copied and displayed

The attribute show is optional. Set it to true if the text is to be displayed as well

Download instructions[edit | edit source]

Download the zip file found here, extract it and place it in $IP/extensions/. Make sure the name of the folder is CopyToClipboard. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation[edit | edit source]

  1. To install this extension, add the following to LocalSettings.php:

See also[edit | edit source]