User:Chlod/Scripts/CopiedTemplateEditor
| This Wikipedia page has been superseded by User:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor (since 8 August 2022) and is retained primarily for historical reference. |
A screenshot of the CopiedTemplateEditor editing dialog. | |
| Author | Chlod |
|---|---|
| Status | pretty much okay for general use |
| Updated | January 15, 2022 |
| Browsers | Not Internet Explorer 11 (i.e. supports ES6) |
| Skins | All skins |
| Source | User:Chlod/Scripts/CopiedTemplateEditor-loader.js, User:Chlod/Scripts/CopiedTemplateEditor-core.js |
CopiedTemplateEditor (or CTE) allows users to graphically edit a talk page's {{copied}} templates. This is mainly for CCI case handlers who have to deal with mass intrawiki copying, but can be used by anyone who interacts frequently with {{copied}} templates.
Dedicated to the hardworking WikiProject Copyright Cleanup members.
Installation
To install the script, add this to your common.js file.
mw.loader.load( '/w/index.php?title=User:Chlod/Scripts/CopiedTemplateEditor-loader.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Chlod/Scripts/CopiedTemplateEditor-loader.js]]
This will run a lightweight loader for the editor on every page load. This ensures that the main components of CTE are only loaded when you need it. When you click on the "{{copied}} Template Editor" option on the "Tools" list at the side of the page or when you click on the edit button on a {{copied}} template, the main components (found in User:Chlod/Scripts/CopiedTemplateEditor-core.js) are loaded and run.
You may optionally load the core script instead to make opening the dialog faster, but this is only recommended for high-speed connections with minimal ping to Wikimedia servers.
Source
The source can be found at User:Chlod/Scripts/CopiedTemplateEditor-loader.js and User:Chlod/Scripts/CopiedTemplateEditor-core.js. The script is dual-licensed under the CC BY-SA 3.0 License and the Apache License 2.0. The source code is available at https://github.com/ChlodAlejandro/copied-template-editor.
Discussion
You may visit my talk page if you have any concerns.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.