How Can We Help?
You are here:
< Back
This script adds a button at the top right corner of each code block (created in wikitext via <pre>...</pre>
, <syntaxhighlight>...</syntaxhighlight>
, or a line beginning with a space, or the entirety of a Lua, CSS, or JavaScript page) that only shows up when your mouse cursor is inside the block and copies the content of the block when clicked.
Installation
Add the following to your common.js or global.js:
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/CopyCodeBlock.js&action=raw&ctype=text/javascript');
Or you may enable the script installer in Preferences → Gadgets and click "Install" in the infobox on this page.
Nardog's scripts | |
---|---|
Extra functionality
Editing assistance
Itch scratchers
|
Categories
-
Annuals36
-
Bulbs, Corms & Tubers41
-
Ferns27
-
Fruits3
-
Garden Plants23
-
Grasses26
-
Herb17
-
Insects1
-
Mammals1
-
Midwest Native Plants0
-
Northeast Native Plants112
-
Perennials123
-
Rose1
-
Shrubs47
-
Trees112
-
Tropical Plants53
-
Upland Birds5
-
Vines18
-
Viola Tricolor1
-
Water Gardening & Plants9
-
Waterfowl0
-
Wetland Birds0
-
Wetland Plants4
-
Wildbirds172
-
Wildflowers1
-
Woodland Plants29
Table of Contents
Recent Comments