Jump to content

User:BrandonXLF/AddCopied

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
< BrandonXLF's scripts |
Add Copied
The form added by Add Copied
DescriptionTool to add {{Copied}} to talk pages
Add Copied adds a link that allows you to add {{Copied}} to the source and target talk pages when copying content within Wikipedia.
Author(s)User:BrandonXLF
StatusWorking
First releasedJuly 13, 2024
SourceAddCopied.js (git)
GitHub repositorywikipedia-user-scripts

Add Copied adds a link that allows you to add {{Copied}} to the source and target talk pages when copying content within Wikipedia.

Installation

importScript('User:BrandonXLF/AddCopied.js'); // [[User:BrandonXLF/AddCopied.js]]
  • Alternatively, use the following instead of the above:
mw.loader.load('/w/index.php?title=User:BrandonXLF/AddCopied.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/AddCopied.js]]
  • To install on other wikis (for instance, globally in your global.js on the Meta-Wiki), use the following code:
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/AddCopied.js&action=raw&ctype=text/javascript');
  • After installing reload the page and clear your cache

Comments/Bugs

Comments are welcome on my talk page, be sure to indicate that you're talking about this script in the title. I would really like any suggestion to make the script run better.