Extension:CopyToClipboard
Jump to navigation
Jump to search
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
CopyToClipboard Release status: unmaintained |
|
---|---|
Implementation | Tag |
Description | Lets you insert a button to copy text to clipboard |
Author(s) | Nischay Nahata (Nischayn22talk) |
Latest version | 0.2.0 (2014-03-31) |
MediaWiki | 1.18+ |
PHP | 5.3+ |
Database changes | No |
License | GNU General Public License 3.0 or later |
Download | |
Example | snapshot.png |
$wgClippy |
|
<clippy> |
|
Translate the CopyToClipboard extension if it is available at translatewiki.net | |
The CopyToClipboard extension lets you put a button to copy text to clipboard.
This extension uses Flash 9 and above.
Usage[edit]
<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.
Installation[edit]
- Download and place the file(s) in a directory called
CopyToClipboard
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/CopyToClipboard/CopyToClipboard.php";
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.