154:
You can undo a change as long as the line in the current source (deduced from the closest line number on the diff) matches the line in the "Your text" column of the diff. In case of a removed line (i.e. the cell in the "Your text" column is empty), the preceding line is compared. A redo works just
84:
It comes in handy especially when reverting edits. If you want to revert only part of an edit, you can click "undo" on page history or a diff and keep certain changes by undoing on the diff. If you want to revert an old edit but MediaWiki's native undo feature doesn't work because later edits
73:
This script adds an undo button to each line on the diff between the current version of the page and yours while editing ("Show changes"). Though inspired by a similar feature in
85:
interfere, you can go to the editing page of the previous revision, click "Show changes", and restore all the non-problematic edits by undoing the lines.
342:
133:
348:
142:
351:– Warns when you try to use "Preview page with this template" with a page that doesn't transclude the template.
273:
98:
206:
200:
124:'//en.wikipedia.org/search/?title=User:Nardog/DiffUndo.js&action=raw&ctype=text/javascript'
330:
314:
370:
336:
324:
279:
222:
74:
232:
94:
176:
327:– Autofills "Preview page with this template" with the most relevant /testcases page that exists.
238:
216:
65:
295:
250:
285:
8:
254:
244:
138:
301:
219:– Adds links to diffs of consecutive edits by the same user on watchlist, history, etc.
235:– Adds a button to copy the unencoded page title or section path next to each heading.
333:– Links "diff" and "hist" for category additions/removals on Watchlist/RecentChanges.
289:
253:– Makes links and template calls in diffs clickable (supports red links, avoids
304:– Converts each piped link to a non-piped one if both lead to the same article.
210:
364:
298:– Replaces reference names like ":0" with descriptive ones like "Smith-2015".
182:
17:
321:
as you edit so only the modified section will be linked in the summary.
339:– Upload an image to Commons from anywhere on the site by pasting it.
213:, e.g. changing the color theme and enabling live autocompletion.
345:– Sorts the list of local accounts on CentralAuth by edit count.
282:– Insert any character by searching in the entire Unicode chart.
54:
203:– Lists recent category additions/removals on a category page.
288:– Type in IPA symbols by directly looking at an IPA key like
270:– Adds an undo button to each line on the diff while editing.
164:
Undoing a change may clear the browser's native undo cache (
78:
247:– Hides specified users' edits on Watchlist/RecentChanges.
35:
Adds an undo button to each line on the diff while editing
225:– Adds a button to copy the content of each code block (
146:and click "Install" in the infobox on this page.
362:
241:– Lists the past moves a page has gone through.
81:an undone change by clicking the button again.
187:
155:like that except the columns are reversed.
14:
363:
186:
23:
24:
382:
149:
88:
158:
13:
1:
292:and clicking on the symbols.
7:
10:
387:
343:SortCentralAuthByEditCount
45: (2 days ago)
209:– Allows customizing the
193:
61:
49:
39:
31:
103:
77:, it also allows you to
276:– Expands contractions.
66:User:Nardog/DiffUndo.js
53:Chrome, Firefox, etc. (
317:– Adds or refines the
132:Or you may enable the
175:VisualEditor and the
93:Add the following to
349:TemplatePreviewGuard
177:2017 wikitext editor
196:Extra functionality
28:
319:/* section link */
274:ExpandContractions
262:Editing assistance
179:are not supported.
43:September 26, 2024
26:
371:Knowledge scripts
358:
357:
71:
70:
378:
320:
290:Help:IPA/English
228:
207:CodeEditorAssist
201:CatChangesViewer
188:Nardog's scripts
184:
183:
145:
134:script installer
128:
125:
122:
119:
116:
113:
110:
107:
29:
25:
386:
385:
381:
380:
379:
377:
376:
375:
361:
360:
359:
354:
331:CatChangeLinker
318:
315:AutoSectionLink
309:Itch scratchers
226:
189:
171:
167:
161:
152:
137:
130:
129:
126:
123:
120:
117:
114:
111:
108:
105:
91:
75:AutoWikiBrowser
44:
22:
21:
20:
12:
11:
5:
384:
374:
373:
356:
355:
353:
352:
346:
340:
337:PasteToCommons
334:
328:
322:
306:
305:
299:
293:
283:
277:
271:
259:
258:
248:
242:
236:
230:
220:
214:
204:
194:
191:
190:
181:
180:
173:
169:
165:
160:
157:
151:
148:
104:
95:your common.js
90:
87:
69:
68:
63:
59:
58:
51:
47:
46:
41:
37:
36:
33:
15:
9:
6:
4:
3:
2:
383:
372:
369:
368:
366:
350:
347:
344:
341:
338:
335:
332:
329:
326:
325:AutoTestcases
323:
316:
313:
312:
311:
310:
303:
300:
297:
294:
291:
287:
284:
281:
280:InsertAnyChar
278:
275:
272:
269:
266:
265:
264:
263:
256:
252:
249:
246:
243:
240:
237:
234:
231:
224:
223:CopyCodeBlock
221:
218:
215:
212:
208:
205:
202:
199:
198:
197:
192:
185:
178:
174:
163:
162:
156:
147:
144:
140:
135:
102:
100:
96:
86:
82:
80:
76:
67:
64:
60:
56:
52:
48:
42:
38:
34:
30:
19:
308:
307:
267:
261:
260:
255:WP:SEAOFBLUE
233:CopySectLink
195:
153:
150:How it works
131:
92:
89:Installation
83:
72:
239:MoveHistory
227:<pre>
217:Consecudiff
211:code editor
159:Limitations
139:Preferences
32:Description
18:User:Nardog
296:RefRenamer
251:SmartDiff
99:global.js
57:+ needed)
365:Category
286:IPAInput
268:DiffUndo
141: →
50:Browsers
27:DiffUndo
245:RCMuter
143:Gadgets
40:Updated
302:Unpipe
112:loader
62:Source
55:ES2020
16:<
166:Ctrl
118:load
79:redo
136:in
97:or
367::
257:).
229:).
172:).
127:);
106:mw
101::
170:Z
168:+
121:(
115:.
109:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.