User:ClaudineChionh/Scripts/copyPageContent
copyPageContent adds a link in the Tools menu to copy the raw content of the current page or edit form to the system clipboard. You might find this useful for copying text to a text editor for thorough editing.
This script uses the Clipboard API – see browser compatibility .
Installation
You can install this script on this Wikipedia by adding the following to your personal common.js file:
{ { subst:lusc | User:ClaudineChionh/Scripts/copyPageContent.js} }
which expands to:
mw . loader . load ( "/w/index.php?title=User:ClaudineChionh/Scripts/copyPageContent.js&action=raw&ctype=text/javascript" ); // Backlink: [[User:ClaudineChionh/Scripts/copyPageContent.js]]
Alternatively, you can install the script globally on all Wikimedia wikis by adding the following to your global.js file:
mw . loader . load ( "//en.wikipedia.org/w/index.php?title=User:ClaudineChionh/Scripts/copyPageContent.js&action=raw&ctype=text/javascript" ); // Backlink: [[w:en:User:ClaudineChionh/Scripts/copyPageContent.js]]