Extension:CopyToClipboard

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

Usage
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
Download the zip file found here, extract it and place it in. 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

 * 1) To install this extension, add the following to LocalSettings.php:
 * 2) Also add the static path to the clippy.swf file (look in the CopyToClipboard directory you just downloaded) to the variable $wgClippy

Configuration parameters
should point to the location of the clippy.swf file.

For example