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