Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Wikipedia:Deputy/Attribution Notice Template Editor

From Wikipedia, the free encyclopedia
<Wikipedia:Deputy
(Redirected fromUser:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor)
Userscript for editing attribution notice templates
For the script before its merging into the Deputy toolkit, seeUser:Chlod/Scripts/CopiedTemplateEditor.
NOTE: This scripts currently conflicts withGrammarly. Obscure, I know. Disable the Grammarly extension when using ANTE.
Attribution Notice Template Editor
The Deputy logo: a magnifying glass with the copyright "C" symbol at the center of its lens.
A screenshot of the Attribution Notice Template Editor editing dialog.
AuthorChlod
StatusPublic beta
First releasedSeptember 30, 2022; 3 years ago (2022-09-30)
Versionv0.9.1
UpdatedNovember 7, 2025; 39 days ago (2025-11-07)
Browsersbrowserslist: >0.05% and supports fetch and not dead
SkinsTested on Vector (2010 and 2022), report issues ontalk page
SourceUser:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js

TheAttribution Notice Template Editor (ANTE,/ˈæn.ti/) allows users to graphically edit a talk page's attribution notice templates. It is the successor ofCopiedTemplateEditor, which only handles{{copied}} templates. This is mainly forWikiProject Copyright Cleanup members who commonly deal with article splits, merges, copies, and etc., but can also be used by the general public.

The script currently supports the following templates (and their redirects):

Installation

[edit]

ANTE is loaded as part ofDeputy, but you can also install a standalone version without Deputy if you wish to save up on bandwidth. ANTE is significantly larger than CTE due to newly-implemented features and support, see below for a filesize comparison. Note that unlessuserscript loads are cached, the script will be re-downloaded on every page load. This shouldn't be much of a problem for most modern browsers as thegzipped file will be requested, making the file size significantly smaller.

File size comparison (as of August 8, 2022)
FileSizeSize (gzipped)
User:Chlod/Scripts/CopiedTemplateEditor-loader.js5.41 kB2.12 kB
User:Chlod/Scripts/CopiedTemplateEditor-core.js77.6 kB16.2 kB
User:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js266.8 kB45.8 kB

This does not include modules loaded from MediaWiki and additional requests made to Wikipedia to get page data, template previews, etc.

Standalone

[edit]

To install the script, add this to yourcommon.js file.

mw.loader.load('/w/index.php?title=User:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js&action=raw&ctype=text/javascript');// Backlink: [[User:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js]]

As of now, ANTE currently has no lightweight loader, unlike CTE. This is to be implemented later on.

Deputy

[edit]

SeeUser:Chlod/Scripts/Deputy § Installation for instructions on installing Deputy.

Usage

[edit]
[icon]
This sectionneeds expansion. You can help byadding to it.(September 2022)

ANTE will append an "Attribution Notice Template Editor" toolbox link on your sidebar (Vector, Timeless). When clicked, the main dialog is shown, and options are provided for modifying existing or adding new attribution notice templates.

Source

[edit]

The source can be found atUser:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js. The script is licensed under theApache License 2.0. The source code is available athttps://github.com/ChlodAlejandro/deputy. ANTE uses third-party code that is bundled with the script. This third-party code is manually checked and verified for security and license compatibility. See theLicensing section on the Deputy README for more information.

Discussion

[edit]

You may visit mytalk page if you have any concerns.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Deputy/Attribution_Notice_Template_Editor&oldid=1173228443"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp