Extension:Clipboard
From MediaWiki.org
|
Clipboard Release status: stable |
|
|---|---|
| Implementation | Page action |
| Description | Provides a simple 'clipboard' to add/paste article titles. |
| Author(s) | user:jldupont |
| Version | 1.01 |
| MediaWiki | tested on 1.8.2, 1.9.3, 1.11 |
| Download | [1] |
Contents |
[edit] What can this extension do?
- Add the current article's title to the 'clipboard'
- Paste the current clipboard content to either:
- The 'article edit' textarea
- The 'Special:Export' textarea
[edit] Installation Option 1
- Upload the 4 icons to the installation (grab them from the download site if you wish or grab some nice ones from [2])
- Upload the file 'Clipboard.js' to the installation's root/jsscripts folder
- Upload the file 'ClipboardClass.php' to the installation's extension folder
[edit] Dependancy
This extension requires Extension:ExtensionClass.
[edit] Changes to LocalSettings.php
require_once("$IP/extensions/ClipboardClass/ClipboardClass.php");
[edit] Installation Option 2
The second method to install this extension requires the use of the following extensions:
- Extension:ToolboxExtender
- Extension:ImageLink (at least version 1.5.1)
- Install the extensions listed above
- Download the file Clipboard.js and place contents in MediaWiki:Common.js
- Configure LocalSettings.php with $wgUseSiteJs=true;
- Download Clipboard Template and create the page Template:Clipboard
- Download [3] and create the page Template:Clipboard_element
- Visit the page Template:Clipboard_element to follow links to the Images that must be uploaded
- Add to ToolboxExtender registry page: {{Clipboard}}

