Extension:PreToClip
![]() Release status: stableCategory:Stable extensions |
|
---|---|
![]() |
|
Implementation | Parser extensionCategory:Parser extensions, SkinCategory:Skin extensions |
Description | Adds a "Copy to clipboard"-Button to every <pre> -tag |
Author(s) | Thomas Candrian, Robert Vogel |
Latest version | 3.0.0-alpha |
Compatibility policy | For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.Category:Extensions with long-term support release branches compatibility policy |
Database changes | No |
License | GNU General Public License 3.0 only |
Download | Category:Extensions in Wikimedia version control |
Quarterly downloads | 20 (Ranked 90th) |
Translate the PreToClip extension if it is available at translatewiki.net |
The PreToClip extension adds a "Copy to clipboard" button to every <pre>
tag, even auto-generated ones (e.g. by Extension:SyntaxHighlight ).
Installation
- Download and move the extracted
PreToClip
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PreToClip - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'PreToClip' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
External links
- Extension reference: PreToClip
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
Category:All extensions
Category:Extensions by HalloWelt
Category:Extensions in Wikimedia version control
Category:Extensions included in BlueSpice
Category:Extensions with long-term support release branches compatibility policy
Category:GPL licensed extensions
Category:OutputPageBeforeHTML extensions
Category:Parser extensions
Category:Skin extensions
Category:Stable extensions