Knowledge

Template talk:Redirect template

Source 📝

284: 266: 922:. Since this is the only rcat that invokes a module, it is the only rcat that needs this exclusion code. We want it to appear with the other rcats in the index; however, we don't want the module invoked on the index page, and that is why the exclusion code is used in that rcat. As for the embedding, I vaguely remember a time when embedding was important, but that was long ago, and I no longer know why the embedding was needed. If things work without it, then it probably means that software development has advanced beyond the need for it. 235: 34: 1181: 1067: 204: 1032: 1140: 833:. So the code doesn't actually do what it's supposed to do. Secondly, that index page is already messy and appears in several maintenance categories. It doesn't seem important to me to have this special condition for that page. I'd suggest removing it. 1022: 806:
appears as an argument to a parser function. MediaWiki parser strips whitespace characters at the beginning and end of all parser function arguments, as a result the newline added by
1052: 1040: 195: 1057: 1185: 54:. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by 1131: 132: 776: 370: 1009: 982: 940: 895: 881: 842: 1167: 865: 167: 191: 312:
This banner should be placed on the talk pages of project, template and category pages that exist and operate to maintain redirects.
95: 830: 1200: 1173: 62:}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's 173: 203: 82: 304: 1024: 916: 796: 634: 389: 379: 76: 825: 1099: 967: 803: 641: 59: 90: 763:
The arg.name that is passed to this module, comes from the arg.name here. I couldn't find where this module uses
291: 271: 113: 64: 333: 162: 51: 630:
This module uses string.format to create the string. The second "%s" is probably what is causing the issue.
1155: 246: 1048: 957: 810:
is lost. There is no simple way to fix this, trying to add some invisible char before the #invoke causes
153: 45: 395:
after another redirect template on the same line, the redirect template isn't bulleted correctly. Using
648: 186: 117: 39: 303:
on Knowledge. If you would like to participate, please visit the project page, where you can join the
1043:
until a consensus is reached, and readers of this page are welcome to contribute to the discussion.
1006: 937: 1077: 807: 792:
adds a newline at the beginning to ensure the correct rendering of bullets. The trouble is that in
789: 403:{{Redirect category shell|1= {{R to section}} {{R avoided double redirect|1=Arrow: Season 2.5}} }} 411:{{Redirect category shell|1= {{R to section}}{{R avoided double redirect|1=Arrow: Season 2.5}} }} 1110: 1073: 644:, to handle the logic, but it still passes the information like the other redirect templates to 1044: 252: 994: 991:! I seem to remember a lot of back-to-back software upgrades by the devs around that time. 948: 925: 92: 8: 328: 143: 55: 296: 158: 283: 265: 218: 139: 98: 93: 978: 891: 877: 868:. Regarding the incorrect page name, that should really just be a parameter called 838: 772: 1186:
Knowledge talk:Categorizing redirects § Categorize templates based on namespace(s)
1163: 1036: 953:
I seem to remember embed parameter became useless following the deprecation of
819:
But there is one way to fix it -- do we really need this parser function call?
300: 214: 1194: 1123: 69: 821:{{#ifeq:{{FULLPAGENAME}}|Knowledge:Template messages/Redirect pages|| ... }} 988: 974: 912:
there is good reason to keep and maintain the exclusion code in the rcat
907: 887: 873: 858: 849: 834: 784: 768: 219: 1159: 1041:
Knowledge:Redirects for discussion/Log/2021 February 14#Template:R rcat
385:
that I couldn't find it's origin. The bug scenario is this, when using
640:
is different than the other redirect templates, as it uses a module,
396: 1149: 1118: 216: 100: 415:
In this module, here is the relevant code that handles the text:
1001: 932: 1116:
where the sortkey is something that is generally well known. –
1061: 1031: 321:
designed to be placed on the talk pages of most redirects and
220: 97: 91: 1106:
parameter (which would be useful for rcat templates like
854:, if that's the issue there is a simple fix to it with 1035:
A discussion is taking place to address the redirect
80:. Functionality of the template can be checked using 295:, a collaborative effort to improve the standard of 108: 1058:
Template-protected edit request on 12 December 2021
1192: 447:*%sThis is a redirect%s%s.%s%s</div: --> 1174:Categorize templates based on namespace(s) 866:Template:R avoided double redirect/sandbox 826:Knowledge:Template messages/Redirect pages 371:Visual bug with R avoided double redirect 245:does not require a rating on Knowledge's 331:redirects. For more information see the 74:Any contributor may edit the template's 886:That does it! Didn't know of that one. 831:Knowledge:Template index/Redirect pages 52:heavily used or highly visible template 1193: 767:, so it might be connected to this. -- 234: 232: 375:There is some small visual bug with 228: 28: 15: 814:newlines to render, which is worse. 251:It is of interest to the following 116:for discussing improvements to the 13: 1045:𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 14: 1212: 749:"From an avoided double redirect" 289:This page is within the scope of 1179: 1138: 1100:Module:Redirect template/sandbox 1065: 1030: 804:Module:R avoided double redirect 642:Module:R avoided double redirect 282: 264: 233: 202: 133:Click here to start a new topic. 32: 1039:. The discussion will occur at 829:is now a redirect pointing to 344:Knowledge:WikiProject Redirect 1: 1201:Template-Class redirect pages 1168:20:59, 17 December 2021 (UTC) 1132:19:05, 12 December 2021 (UTC) 1053:16:17, 14 February 2021 (UTC) 882:08:06, 27 February 2020 (UTC) 843:13:36, 26 February 2020 (UTC) 777:17:52, 14 December 2019 (UTC) 347:Template:WikiProject Redirect 307:and see a list of open tasks. 130:Put new text under old text. 1023:"Template:R rcat" listed at 441:<div class="rcat %s": --> 7: 1092:to reactivate your request. 1080:has been answered. Set the 399:as an example: This is ok: 138:New to Knowledge? Welcome! 10: 1217: 1177: 40:Template:Redirect template 1010:13:58, 7 March 2020 (UTC) 983:07:41, 7 March 2020 (UTC) 941:00:58, 7 March 2020 (UTC) 917:R avoided double redirect 896:10:04, 6 March 2020 (UTC) 797:R avoided double redirect 635:R avoided double redirect 390:R avoided double redirect 380:R avoided double redirect 277: 259: 168:Be welcoming to newcomers 22:Skip to table of contents 1102:. This adds an optional 1078:Module:Redirect template 1025:Redirects for discussion 808:Module:Redirect template 790:Module:Redirect template 656: 601:beCompatibleWithBug12974 417: 409: 407:While this has the bug. 401: 21: 968:Redirect category shell 963:, the older version of 60:edit template-protected 334:template documentation 163:avoid personal attacks 68:to add usage notes or 864:, which I've used in 327:on the talk pages of 196:Auto-archiving period 292:WikiProject Redirect 58:, editors may use {{ 680:"Redirect template" 958:This is a redirect 247:content assessment 174:dispute resolution 135: 1096: 1095: 1012: 943: 905: 649:Redirect template 366: 365: 362: 361: 358: 357: 338: 227: 226: 154:Assume good faith 131: 118:Redirect template 107: 106: 27: 26: 1208: 1183: 1182: 1153: 1146: 1142: 1141: 1130: 1121: 1115: 1109: 1105: 1087: 1083: 1069: 1068: 1062: 1034: 1008: 1004: 997: 972: 966: 962: 956: 952: 939: 935: 928: 921: 915: 911: 903: 871: 863: 857: 853: 828: 822: 801: 795: 788: 766: 759: 756: 753: 750: 747: 744: 741: 738: 735: 732: 729: 726: 723: 720: 717: 714: 711: 708: 705: 702: 699: 696: 693: 690: 687: 684: 681: 678: 675: 672: 669: 666: 663: 660: 653: 647: 639: 633: 626: 623: 620: 617: 614: 611: 608: 605: 602: 599: 596: 593: 590: 587: 584: 581: 578: 575: 572: 569: 566: 563: 560: 557: 554: 551: 548: 545: 542: 539: 536: 533: 530: 527: 524: 521: 518: 515: 512: 509: 506: 503: 500: 497: 494: 491: 488: 485: 482: 479: 476: 473: 470: 467: 464: 461: 458: 455: 452: 449: 445: 442: 439: 436: 433: 430: 427: 424: 421: 394: 388: 384: 378: 352: 351: 348: 345: 342: 314: 286: 279: 278: 268: 261: 260: 238: 237: 236: 229: 221: 207: 206: 197: 109: 101: 50:because it is a 36: 35: 29: 16: 1216: 1215: 1211: 1210: 1209: 1207: 1206: 1205: 1191: 1190: 1189: 1188: 1180: 1176: 1147: 1139: 1137: 1119: 1117: 1113: 1107: 1103: 1085: 1081: 1066: 1060: 1037:Template:R rcat 1028: 1002: 995: 970: 964: 960: 954: 949:Paine Ellsworth 946: 933: 926: 919: 913: 902: 869: 861: 855: 847: 824: 820: 799: 793: 782: 764: 761: 760: 757: 754: 751: 748: 745: 742: 739: 736: 733: 730: 727: 724: 721: 718: 715: 712: 709: 706: 703: 700: 697: 694: 691: 688: 685: 682: 679: 676: 673: 670: 667: 664: 661: 658: 651: 645: 637: 631: 628: 627: 624: 621: 618: 615: 612: 609: 606: 603: 600: 597: 594: 591: 588: 585: 582: 579: 576: 573: 570: 567: 564: 561: 558: 555: 552: 549: 546: 543: 540: 537: 534: 531: 528: 525: 522: 519: 516: 513: 510: 507: 504: 501: 498: 495: 492: 489: 486: 483: 480: 477: 474: 471: 468: 465: 462: 459: 456: 453: 450: 446: 443: 440: 437: 434: 431: 428: 425: 422: 419: 413: 412: 405: 404: 392: 386: 382: 376: 373: 349: 346: 343: 340: 339: 326: 320: 315:This banner is 223: 222: 217: 194: 180: 179: 149: 103: 102: 96: 33: 12: 11: 5: 1214: 1204: 1203: 1178: 1175: 1172: 1171: 1170: 1111:R country data 1094: 1093: 1070: 1059: 1056: 1027: 1021: 1020: 1019: 1018: 1017: 1016: 1015: 1014: 1013: 987:Good to know, 900: 899: 898: 823:First of all, 817: 815: 802:, the call to 668:expandTemplate 657: 418: 410: 402: 372: 369: 364: 363: 360: 359: 356: 355: 353: 350:redirect pages 322: 316: 313: 308: 301:categorization 287: 275: 274: 269: 257: 256: 250: 239: 225: 224: 215: 213: 212: 209: 208: 182: 181: 178: 177: 170: 165: 156: 150: 148: 147: 136: 127: 126: 123: 122: 121: 105: 104: 99: 94: 89: 88: 37: 25: 24: 19: 9: 6: 4: 3: 2: 1213: 1202: 1199: 1198: 1196: 1187: 1169: 1165: 1161: 1157: 1151: 1145: 1136: 1135: 1134: 1133: 1129: 1127: 1122: 1112: 1101: 1091: 1088:parameter to 1079: 1075: 1071: 1064: 1063: 1055: 1054: 1050: 1046: 1042: 1038: 1033: 1026: 1011: 1007: 1005: 1000: 999: 998: 990: 986: 985: 984: 980: 976: 969: 959: 950: 945: 944: 942: 938: 936: 931: 930: 929: 918: 909: 901: 897: 893: 889: 885: 884: 883: 879: 875: 867: 860: 851: 846: 845: 844: 840: 836: 832: 827: 818: 816: 813: 809: 805: 798: 791: 786: 781: 780: 779: 778: 774: 770: 655: 650: 643: 636: 484:getPrettyName 429:string.format 416: 408: 400: 398: 391: 381: 368: 354: 336: 335: 330: 325: 319: 311: 306: 302: 298: 294: 293: 288: 285: 281: 280: 276: 273: 270: 267: 263: 262: 258: 254: 248: 244: 240: 231: 230: 211: 210: 205: 201: 193: 190: 188: 184: 183: 175: 171: 169: 166: 164: 160: 157: 155: 152: 151: 145: 141: 140:Learn to edit 137: 134: 129: 128: 125: 124: 119: 115: 111: 110: 87: 85: 84: 79: 78: 71: 67: 66: 65:documentation 61: 57: 53: 49: 47: 41: 38: 31: 30: 23: 20: 18: 17: 1143: 1125: 1097: 1089: 1074:edit request 1029: 996:PI Ellsworth 993: 992: 927:PI Ellsworth 924: 923: 811: 762: 629: 414: 406: 374: 367: 332: 324:almost never 323: 317: 309: 290: 253:WikiProjects 242: 199: 185: 112:This is the 81: 75: 73: 63: 48:from editing 44:permanently 43: 1156:1060814851 1098:Sync with 1082:|answered= 305:discussion 299:and their 83:test cases 70:categories 1184:Moved to 1104:|sortkey= 397:Arrow 2.5 329:mainspace 297:redirects 176:if needed 159:Be polite 120:template. 114:talk page 56:consensus 46:protected 1195:Category 1049:𝗍𝗮𝘭𝙠 520:' from ' 341:Redirect 272:Redirect 243:template 187:Archives 144:get help 906:editor 765:|embed= 423:content 200:30 days 77:sandbox 989:SD0001 975:SD0001 908:SD0001 888:SD0001 874:Gonnym 850:SD0001 835:SD0001 785:Gonnym 769:Gonnym 659:return 654:with: 562:' to ' 249:scale. 1160:Uzume 1086:|ans= 1072:This 870:|doc= 743:"yes" 737:embed 674:title 662:frame 460:class 420:local 310:Note: 241:This 172:Seek 1164:talk 1154:see 1144:Done 1126:Talk 979:talk 892:talk 878:talk 872:. -- 839:talk 773:talk 758:)}}) 728:name 713:info 707:info 701:from 695:from 686:args 619:info 613:args 595:info 589:args 568:args 547:args 532:from 526:args 511:from 505:args 490:args 478:name 472:args 454:args 161:and 1150:MJL 1120:MJL 1084:or 1076:to 1003:ed. 934:ed. 755:nil 746:and 722:cat 598:and 556:and 514:and 481:and 318:not 42:is 1197:: 1166:) 1114:}} 1108:{{ 1090:no 1051:) 981:) 973:. 971:}} 965:{{ 961:}} 955:{{ 920:}} 914:{{ 904:To 894:) 880:) 862:}} 859:If 856:{{ 841:) 800:}} 794:{{ 775:) 752:or 740:== 671:({ 652:}} 646:{{ 638:}} 632:{{ 625:'' 622:or 607:'' 604:or 583:'' 580:or 574:to 565:.. 553:to 541:'' 538:or 523:.. 499:'' 496:or 466:'' 463:or 444:\n 438:\n 393:}} 387:{{ 383:}} 377:{{ 198:: 142:; 86:. 72:. 1162:( 1158:— 1152:: 1148:@ 1128:‐ 1124:‐ 1047:( 977:( 951:: 947:@ 910:: 890:( 876:( 852:: 848:@ 837:( 812:2 787:: 783:@ 771:( 734:( 731:= 725:, 719:= 716:, 710:= 704:, 698:= 692:{ 689:= 683:, 677:= 665:: 616:. 610:, 592:. 586:, 577:) 571:. 559:( 550:. 544:, 535:) 529:. 517:( 508:. 502:, 493:) 487:( 475:. 469:, 457:. 451:, 448:' 435:' 432:( 426:= 337:. 255:: 192:1 189:: 146:.

Index

Skip to table of contents
Template:Redirect template
protected
heavily used or highly visible template
consensus
edit template-protected
documentation
categories
sandbox
test cases
talk page
Redirect template
Click here to start a new topic.
Learn to edit
get help
Assume good faith
Be polite
avoid personal attacks
Be welcoming to newcomers
dispute resolution
Archives
1

content assessment
WikiProjects
WikiProject icon
Redirect
WikiProject icon
WikiProject Redirect
redirects

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