Extension:CopyCreds
Appearance
Release status: beta |
|
|---|---|
| Implementation | Tag |
| Description | Creates visually distinctive click-to-copy usernames and passwords, to reduce transcription error. |
| Latest version | 2.0 (2023-01-06) |
| MediaWiki | 1.35+ |
| License | GNU General Public License 2.0 or later |
| Download | GitHub: Note: README |
The CopyCreds extension registers two new tags <pw> and <un>, which make the text inside them visually distinctive, and allows for click-to-copy. The goal is to make life easier for those who document usernames and passwords in MediaWiki.
There are no configuration options, or special dependencies , other than requiring MW 1.35.0 or higher.
Installation
[edit]- Download the source zip, extract it, and copy the
CopyCredsfolder to yourextensions/folder. - Add the following code at the bottom of your
LocalSettings.php:
wfLoadExtension('CopyCreds');
- Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Use
[edit]Simply wrap text you'd like to be copyable in either <un></un> or <pw></pw>. The only difference between these two is the highlight box border color.
