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