115:; when visual-editing a page, duplicate links can be highlighted; left-click on an unwanted link, then click the "unlink" icon (two links of a chain, crossed out, in red) in the box that pops up. (To re-create or insert a link, highlight the text and click the chain icon above the text box; if the link was piped the re-created link will need editing.)
110:
Links will be highlighted in the rendered page text. If editing the page source, clicking
Preview, followed by highlighting duplicates will show both the edit box, and the rendered text with duplicates highlighted—viewing and removing links will require some scrolling, or opening the article and
106:
There will be a link "Highlight duplicate links" in the toolbox on the left on every mainspace article, as well as userspace pages and draftspace pages. If nothing seems to happen, that probably means no duplicated links were detected.
57:
tags) and ignores any links inside an infobox or navbox. In addition, it highlights duplicate links within the lead and within the body of the article separately.
142:
279:
84:
This script and the original script should not be installed at the same time. If you already have the original installed, please remove the line
259:
255:
118:
As of
October 2019 unlinking any link in the visual editor removes the highlight from the remaining duplicated links in that paragraph.
229:
49:" script. The first occurrence of a duplicated link will also be highlighted in a green dashed border. To account for exceptions to
111:
highlighting duplicates in another browser tab, switching between tabs. Possibly the easiest way to remove duplicates is with the
224:
318:
289:
219:
38:
135:
313:
284:
264:
250:
128:
66:
178:
188:
112:
274:
50:
198:
193:
23:
214:
173:
183:
155:
269:
307:
120:
73:
41:) script highlights links that occur more than once in an article. It's derived from
151:
159:
42:
17:
124:
53:, this script considers only links that are within paragraphs (
46:
238:
207:
166:
76:|User:Evad37/duplinks-alt.js}}
136:
89:importScript('User:Ucucha/duplinks.js'); // ]
8:
143:
129:
121:
94:or deactivate it by placing two slashes (
65:To install the script, add this line to
7:
54:
24:Knowledge:Highlight duplicate links
31:
280:Timeless New Message Highlight
1:
98:) at the start of the line.
335:
270:Signpost Publishing Script
260:Custom GeoHack replacement
256:GeoHack replacement script
55:<p>...</p>
230:WikidataWatchlistLabels
319:Knowledge link cleanup
208:Watchlist improvements
167:Semi-automated editing
225:Watchlist-openUnread
290:Live Notifications
314:Knowledge scripts
301:
300:
220:Watchlist-hideAWB
22:(Redirected from
326:
294:
145:
138:
131:
122:
97:
90:
56:
27:
334:
333:
329:
328:
327:
325:
324:
323:
304:
303:
302:
297:
292:
234:
203:
162:
149:
104:
95:
88:
82:
77:
63:
29:
28:
21:
20:
12:
11:
5:
332:
330:
322:
321:
316:
306:
305:
299:
298:
296:
295:
287:
285:TimestampDiffs
282:
277:
272:
267:
265:Rename editors
262:
253:
251:EditWarChecker
248:
242:
240:
236:
235:
233:
232:
227:
222:
217:
211:
209:
205:
204:
202:
201:
196:
191:
186:
181:
176:
170:
168:
164:
163:
150:
148:
147:
140:
133:
125:
103:
100:
92:
91:
81:
78:
71:
67:your common.js
62:
59:
30:
15:
14:
13:
10:
9:
6:
4:
3:
2:
331:
320:
317:
315:
312:
311:
309:
291:
288:
286:
283:
281:
278:
276:
273:
271:
268:
266:
263:
261:
257:
254:
252:
249:
247:
244:
243:
241:
239:Other scripts
237:
231:
228:
226:
223:
221:
218:
216:
213:
212:
210:
206:
200:
197:
195:
192:
190:
187:
185:
182:
180:
177:
175:
172:
171:
169:
165:
161:
157:
153:
146:
141:
139:
134:
132:
127:
126:
123:
119:
116:
114:
113:visual editor
108:
101:
99:
87:
86:
85:
79:
75:
70:
68:
60:
58:
52:
51:WP:REPEATLINK
48:
44:
40:
36:
25:
19:
246:Duplinks-alt
245:
152:User scripts
117:
109:
105:
93:
83:
72:{{
64:
61:Installation
35:Duplinks-alt
34:
32:
179:MoveToDraft
43:User:Ucucha
18:User:Evad37
308:Categories
189:ToDoLister
74:subst:lusc
194:XFDcloser
275:TextDiff
47:duplinks
199:Xunlink
156:gadgets
80:Warning
215:Thanky
174:Covery
160:Evad37
39:source
293:(NEW)
184:Rater
102:Usage
33:This
16:<
154:and
45:'s "
158:by
310::
258:/
96://
69::
144:e
137:t
130:v
37:(
26:)
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.