Knowledge (XXG)

Module talk:Hatnote list

Source đź“ť

177:{{#invoke:Hatnote list/sandbox|forSee|''other songs by the same title''|Black Widow (disambiguation)#Songs{{!}}Brute force label text|and|Special:Permalink/718165170#Standardizing for-see lists|and|Category:Knowledge (XXG) semi-protected templates|and|File:Ă….svg|and|English Knowledge (XXG)#nonexistent section|and|Red link article|and|Veni, vidi, vici|and|Do Androids Dream of Electric Sheep?|''another list''|Article#Section|and|Technology}} 314:, where the hatnote (which I edited for the title to be italicized) ends with both an exclamation mark and a full-stop. Without title italicization, only the exclamation mark appears. I didn't add an equivalent change to the module for bolded text (I have not seen bolded text in a hatnote) but I don't mind someone else also proposing it if they think it's also needed. (You can check the proposed difference 412: 25:
about standardizing and centralizing the code that generates lists of "For X, see Y" items in hatnotes. The discussion may affect this page, but is located there as it's relevant to others as well. Please comment there if interested.
315: 243:(I'm not sure if I'll be able to devote as much time as I planned – some new stuff came up very recently. I'm still keeping an eye on this and will help when/where I think I can.) 106:{{#invoke:Hatnote list/sandbox|forSee|''semicolons''|Pointe-Claire, Quebec|and|Rockville, Maryland|and|Hackensack, New Jersey|''commas''|Comma|and|Semicolon|and|Full stop}} 357:
suggests that only a couple of pages use bolding in titles, with most of the results being false positives from having a stray apostrophe after italicization (like
306:
I want to propose a change that allows final punctuation in the hatnote list to merge/collapse even with an italicized (and therefore de-italicized) title, which
195: 343:
This sounds good; that's a clear bug to be fixed. I apologize for being largely inactive for a while, or I'd have implemented this months ago! I
65:
has a feature whereby if any list items contain the separator (a comma), then the list uses the alternate separator (a semicolon). For example:
400: 241:(for example) suggests what we see right now – semicolons for comma entries, and commas for general ones. Punctuation collapse looks good too. 215: 290: 431: 374: 191: 162: 70:{{#invoke:Hatnote list/sandbox|forSee|''semicolons''|Pointe-Claire, Quebec|and|Rockville, Maryland|and|Hackensack, New Jersey}} 39: 187: 351:
to verify that the code should work more or less the way we expect. I don't think that we need to worry about bolding;
311: 62: 101:, different for-see items (each an individual sentence) in a for-see list may use different separators. For example: 396: 22: 348: 344: 283: 124: 88: 392: 334: 323: 251: 116: 80: 319: 207: 203: 427: 370: 158: 120: 84: 35: 255: 307: 273: 56: 211: 302:
Proposal for collapsing final punctuation with piped and italicized titles in hatnote list
249:
Inviting other folks who worked on some of these modules/templates, hope you don't mind.
421: 386: 364: 267: 152: 29: 199: 263: 259: 149:
Is this behaviour undesirable? It'd take some annoying restructuring to avoid it.
338: 436: 404: 379: 326: 295: 227: 167: 44: 238: 140: 136: 223: 132: 391:
No concerns here. The new code and testcases look good to me.
61:
As part of improvements to the list-generating functionality,
361:). Are there any remaining concerns before I implement this? 237:
Looks good :) If we wrote those examples above in prose,
192:
Special:Permalink/718165170 § Standardizing for-see lists
23:
Knowledge (XXG) talk:Hatnote#Standardizing for-see lists
353: 322:about the sandbox code and the proposal itself .) 196:Category:Knowledge (XXG) semi-protected templates 310:recommends. The current version can be seen in 204:English Knowledge (XXG) § nonexistent section 8: 97:However, since this happens at the level of 50:Varied punctuation across for-see lists 7: 216:Do Androids Dream of Electric Sheep? 14: 410: 318:. There was also some talk in 1: 437:21:30, 13 November 2023 (UTC) 405:07:37, 11 November 2023 (UTC) 380:00:29, 11 November 2023 (UTC) 184:other songs by the same title 21:I've started a discussion at 312:The Super Mario Bros. Movie 63:Module:Hatnote list/sandbox 17:Standardizing for-see lists 457: 45:17:26, 27 April 2016 (UTC) 347:a little for brevity and 327:10:09, 6 April 2023 (UTC) 320:Knowledge (XXG) talk:Lua 296:22:33, 3 May 2016 (UTC) 168:20:06, 3 May 2016 (UTC) 188:Brute force label text 125:Hackensack, New Jersey 89:Hackensack, New Jersey 349:added some test cases 345:tweaked Dexxor's code 117:Pointe-Claire, Quebec 81:Pointe-Claire, Quebec 121:Rockville, Maryland 85:Rockville, Maryland 354:this regex search 224:Article § Section 173:A big test case: 448: 435: 424: 418: 414: 413: 393:LightNightLights 390: 378: 367: 360: 356: 342: 335:LightNightLights 324:LightNightLights 294: 286: 271: 252:Mr. Stradivarius 244: 212:Veni, vidi, vici 208:Red link article 178: 166: 155: 107: 100: 71: 60: 43: 32: 456: 455: 451: 450: 449: 447: 446: 445: 422: 419: 411: 409: 384: 365: 362: 358: 352: 332: 304: 284: 280: 250: 242: 176: 153: 150: 105: 98: 69: 54: 52: 30: 27: 19: 12: 11: 5: 454: 452: 444: 443: 442: 441: 440: 439: 303: 300: 299: 298: 246: 245: 235: 234: 233: 232: 231: 147: 146: 145: 144: 95: 94: 93: 92: 51: 48: 18: 15: 13: 10: 9: 6: 4: 3: 2: 453: 438: 433: 429: 425: 417: 408: 407: 406: 402: 398: 394: 388: 383: 382: 381: 376: 372: 368: 355: 350: 346: 340: 336: 331: 330: 329: 328: 325: 321: 317: 313: 309: 301: 297: 292: 289: 287: 279: 278: 277: 269: 265: 261: 257: 256:Codename Lisa 253: 248: 247: 240: 236: 229: 225: 221: 217: 213: 209: 205: 201: 197: 193: 189: 185: 181: 180: 175: 174: 172: 171: 170: 169: 164: 160: 156: 142: 138: 134: 130: 126: 122: 118: 114: 110: 109: 104: 103: 102: 90: 86: 82: 78: 74: 73: 68: 67: 66: 64: 58: 49: 47: 46: 41: 37: 33: 24: 16: 415: 305: 282: 275: 274: 272:thoughts? — 220:another list 219: 183: 148: 128: 112: 96: 76: 53: 20: 228:Technology 200:File:Å.svg 113:semicolons 77:semicolons 423:Nihiltres 387:Nihiltres 366:Nihiltres 359:''this''' 268:Steel1943 239:APA style 154:Nihiltres 141:Full stop 137:Semicolon 55:(pinging 31:Nihiltres 401:contribs 308:WP:ITHAT 276:Andy W. 266:, and 264:Bkonrad 99:andList 339:Dexxor 226:, and 222:, see 214:; and 186:, see 139:, and 131:, see 129:commas 127:. For 123:; and 115:, see 87:; and 79:, see 432:edits 375:edits 260:R'n'B 163:edits 133:Comma 40:edits 428:talk 416:Done 397:talk 371:talk 337:and 316:here 285:talk 218:For 182:For 159:talk 111:For 75:For 57:Andy 36:talk 291:ctb 434:}} 420:{{ 403:) 399:• 377:}} 363:{{ 262:, 258:, 254:, 210:; 206:; 202:; 198:; 194:; 190:; 179:→ 165:}} 151:{{ 135:, 119:; 108:→ 83:; 72:→ 42:}} 28:{{ 430:| 426:| 395:( 389:: 385:@ 373:| 369:| 341:: 333:@ 293:) 288:· 281:( 270:: 230:. 161:| 157:| 143:. 91:. 59:) 38:| 34:|

Index

Knowledge (XXG) talk:Hatnote#Standardizing for-see lists
Nihiltres
talk
edits
17:26, 27 April 2016 (UTC)
Andy
Module:Hatnote list/sandbox
Pointe-Claire, Quebec
Rockville, Maryland
Hackensack, New Jersey
Pointe-Claire, Quebec
Rockville, Maryland
Hackensack, New Jersey
Comma
Semicolon
Full stop
Nihiltres
talk
edits
20:06, 3 May 2016 (UTC)
Brute force label text
Special:Permalink/718165170 § Standardizing for-see lists
Category:Knowledge (XXG) semi-protected templates
File:Ă….svg
English Knowledge (XXG) § nonexistent section
Red link article
Veni, vidi, vici
Do Androids Dream of Electric Sheep?
Article § Section
Technology

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑