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: