Knowledge

Module:RfD close

Source 📝

21: 72:. This module dumps the relevant <noinclude> and <includeonly> tags onto the daily log page when the templates are transcluded. It also creates an anchored link using a timestamp as the anchor text. 107: 95: 36: 126: 91: 32: 77: 40: 102: 977:--This catches instances of "no consensus" that isn't qualified by "default to " 85: 28: 66: 81: 56: 1504:--Complete the includeonly result message and build the anchor on daily log page 1641:'<includeonly></div></includeonly><noinclude>' 443:--sufficiently complicated (there is no built-in "or" in Lua string 15: 894:'File:Three disambiguation arrows icon in rounded blue square.svg' 1195:--Detect result first, default to "no decision" if arg not set 1391:"]] '''Closed discussion''', see [[" 744:'File:Right-pointing white arrow in blue rounded square.svg' 436:--I thought about using an array and a for-loop, but the logic is 1520:'</includeonly><noinclude><span id="' 549:'File:White check mark in dark green rounded square.svg' 1409:--mw.title.getCurrentTitle() will resolve correctly if substed 1003:'File:White equals sign on grey rounded square.svg' 181:--this bit creates the "closed discussion" notice 188:--define function to check whether arguments are defined 119: 111: 340:--takes string as input, spews two strings as output 1105:'File:White i in purple rounded square.svg' 636:'File:White x in red rounded square.svg' 8: 1227:'File:50% grey rounded square.svg' 1150:'File:50% grey rounded square.svg' 1543:--Put it all together and return from Lua 450:--patterns) so I'll just lay it flat. 101:Editors can experiment in this module's 7: 1402:--Build wikilink to full discussion. 1092:'Split or bespoke decisions' 14: 1532:'"></span>' 1327:--Build wikitext for result icon 19: 1: 1493:'|full discussion]].' 1343:'<includeonly>' 1687:'</noinclude>' 1623:'</noinclude>' 1725: 1702: 1698: 1691: 1681: 1656: 1652: 1379:'|16px|link=|alt=' 75: 1645: 1617: 1592: 1588: 1581: 1547: 1540: 1536: 1508: 1501: 1497: 1481: 1432: 1413: 1406: 1399: 1395: 1373: 1357: 1350: 1331: 1324: 1320: 1313: 1285: 1272: 1247: 1231: 1215: 1199: 1192: 1188: 1181: 1165: 1161: 1154: 1141: 1128: 1109: 1096: 1083: 1031: 1027: 1020: 1007: 994: 981: 974: 928: 924: 917: 898: 885: 872: 778: 774: 767: 748: 735: 722: 670: 666: 659: 640: 627: 614: 583: 579: 572: 553: 540: 527: 454: 447: 440: 433: 429: 404: 400: 384: 368: 364: 348: 344: 319: 315: 308: 301: 291: 284: 274: 240: 218: 214: 192: 185: 157: 153: 137: 134: 1281:' Result was: ' 712:'soft redirect' 127:Subpages of this module 990:'No consensus' 949:'no consensus' 881:'Disambiguate' 1211:'No decision' 1137:'No decision' 1353:--then dump the icon 86:Module:RfD close/doc 24:Module documentation 862:'set index' 799:'disambig' 731:'Retarget' 691:'retarget' 496:'withdraw' 169:rfdt_before_result 1346:--includeonly tag 1716: 1710: 1709: 1706: 1700: 1696: 1695: 1689: 1688: 1685: 1679: 1678: 1675: 1672: 1669: 1666: 1663: 1660: 1654: 1650: 1649: 1643: 1642: 1639: 1636: 1633: 1630: 1627: 1624: 1621: 1615: 1614: 1611: 1608: 1605: 1604:rfdt_show_result 1602: 1599: 1596: 1590: 1586: 1585: 1579: 1578: 1575: 1572: 1569: 1566: 1563: 1560: 1557: 1554: 1551: 1545: 1544: 1538: 1534: 1533: 1530: 1527: 1526:timestamp_string 1524: 1521: 1518: 1515: 1512: 1506: 1505: 1499: 1495: 1494: 1491: 1488: 1485: 1479: 1478: 1477:timestamp_string 1475: 1472: 1469: 1466: 1463: 1460: 1457: 1454: 1451: 1448: 1445: 1442: 1439: 1436: 1430: 1429: 1426: 1423: 1420: 1419:timestamp_string 1417: 1411: 1410: 1404: 1403: 1397: 1393: 1392: 1389: 1386: 1383: 1380: 1377: 1371: 1370: 1367: 1364: 1361: 1355: 1354: 1348: 1347: 1344: 1341: 1338: 1335: 1329: 1328: 1322: 1318: 1317: 1311: 1310: 1307: 1304: 1301: 1298: 1295: 1292: 1289: 1283: 1282: 1279: 1276: 1270: 1269: 1266: 1263: 1262:'result' 1260: 1257: 1254: 1251: 1245: 1244: 1241: 1238: 1235: 1229: 1228: 1225: 1222: 1219: 1213: 1212: 1209: 1206: 1203: 1197: 1196: 1190: 1186: 1185: 1179: 1178: 1175: 1172: 1169: 1163: 1159: 1158: 1152: 1151: 1148: 1145: 1139: 1138: 1135: 1132: 1126: 1125: 1122: 1119: 1116: 1113: 1107: 1106: 1103: 1100: 1094: 1093: 1090: 1087: 1081: 1080: 1077: 1074: 1071: 1068: 1065: 1062: 1059: 1058:'result' 1056: 1053: 1050: 1047: 1044: 1041: 1038: 1035: 1029: 1025: 1024: 1018: 1017: 1014: 1011: 1005: 1004: 1001: 998: 992: 991: 988: 985: 979: 978: 972: 971: 968: 965: 962: 959: 956: 953: 950: 947: 944: 941: 938: 935: 932: 926: 922: 921: 915: 914: 911: 908: 905: 902: 896: 895: 892: 889: 883: 882: 879: 876: 870: 869: 866: 863: 860: 857: 854: 851: 848: 845: 842: 839: 836: 833: 830: 827: 824: 821: 818: 815: 812: 809: 806: 803: 800: 797: 794: 791: 788: 785: 782: 776: 772: 771: 765: 764: 761: 758: 755: 752: 746: 745: 742: 739: 733: 732: 729: 726: 720: 719: 716: 713: 710: 707: 704: 701: 698: 695: 692: 689: 686: 683: 680: 677: 674: 668: 664: 663: 657: 656: 653: 650: 647: 644: 638: 637: 634: 631: 625: 624: 623:'Delete' 621: 618: 612: 611: 608: 605: 604:'delete' 602: 599: 596: 593: 590: 587: 581: 577: 576: 570: 569: 566: 563: 560: 557: 551: 550: 547: 544: 538: 537: 534: 531: 525: 524: 521: 518: 517:'refine' 515: 512: 509: 506: 503: 500: 497: 494: 491: 488: 485: 482: 479: 476: 473: 470: 467: 464: 461: 458: 452: 451: 445: 444: 438: 437: 431: 427: 426: 423: 420: 417: 416:result_parameter 414: 411: 408: 402: 398: 397: 394: 391: 388: 382: 381: 378: 375: 372: 366: 362: 361: 358: 355: 352: 346: 342: 341: 338: 335: 334:result_parameter 332: 329: 326: 323: 317: 313: 312: 306: 305: 299: 298: 295: 289: 288: 282: 281: 278: 272: 271: 268: 265: 262: 259: 256: 253: 250: 247: 244: 238: 237: 234: 231: 228: 225: 222: 216: 212: 211: 208: 205: 202: 199: 196: 190: 189: 183: 182: 179: 176: 173: 170: 167: 164: 161: 155: 151: 150: 147: 144: 141: 123: 115: 99: 71: 65: 61: 55: 44: 25: 23: 22: 1724: 1723: 1719: 1718: 1717: 1715: 1714: 1713: 1712: 1711: 1707: 1704: 1701: 1697: 1693: 1690: 1686: 1683: 1680: 1676: 1673: 1670: 1667: 1664: 1661: 1658: 1655: 1651: 1647: 1644: 1640: 1637: 1634: 1631: 1628: 1625: 1622: 1619: 1616: 1612: 1609: 1606: 1603: 1600: 1597: 1594: 1591: 1587: 1583: 1580: 1576: 1573: 1570: 1567: 1565:message_string2 1564: 1561: 1558: 1555: 1553:message_string1 1552: 1549: 1546: 1542: 1539: 1535: 1531: 1528: 1525: 1522: 1519: 1516: 1513: 1510: 1507: 1503: 1500: 1496: 1492: 1489: 1487:message_string2 1486: 1483: 1480: 1476: 1473: 1470: 1467: 1464: 1462:getCurrentTitle 1461: 1458: 1455: 1452: 1449: 1446: 1443: 1440: 1437: 1434: 1431: 1427: 1424: 1421: 1418: 1415: 1412: 1408: 1405: 1401: 1398: 1394: 1390: 1387: 1384: 1381: 1378: 1375: 1372: 1368: 1365: 1362: 1359: 1356: 1352: 1349: 1345: 1342: 1339: 1337:message_string1 1336: 1333: 1330: 1326: 1323: 1319: 1315: 1312: 1308: 1305: 1302: 1299: 1296: 1293: 1290: 1287: 1284: 1280: 1277: 1274: 1271: 1267: 1264: 1261: 1258: 1255: 1252: 1249: 1246: 1242: 1239: 1236: 1233: 1230: 1226: 1223: 1220: 1217: 1214: 1210: 1207: 1204: 1201: 1198: 1194: 1191: 1187: 1183: 1180: 1176: 1173: 1170: 1167: 1164: 1160: 1156: 1153: 1149: 1146: 1143: 1140: 1136: 1133: 1130: 1127: 1123: 1120: 1117: 1114: 1111: 1108: 1104: 1101: 1098: 1095: 1091: 1088: 1085: 1082: 1078: 1075: 1072: 1069: 1066: 1063: 1060: 1057: 1054: 1051: 1048: 1045: 1042: 1039: 1036: 1033: 1030: 1026: 1022: 1019: 1015: 1012: 1009: 1006: 1002: 999: 996: 993: 989: 986: 983: 980: 976: 973: 969: 966: 963: 960: 957: 954: 951: 948: 945: 942: 939: 937:parameter_lower 936: 933: 930: 927: 923: 919: 916: 912: 909: 906: 903: 900: 897: 893: 890: 887: 884: 880: 877: 874: 871: 867: 864: 861: 858: 855: 852: 850:parameter_lower 849: 846: 843: 840: 837: 834: 831: 829:parameter_lower 828: 825: 822: 819: 816: 813: 810: 808:parameter_lower 807: 804: 801: 798: 795: 792: 789: 787:parameter_lower 786: 783: 780: 777: 773: 769: 766: 762: 759: 756: 753: 750: 747: 743: 740: 737: 734: 730: 727: 724: 721: 717: 714: 711: 708: 705: 702: 700:parameter_lower 699: 696: 693: 690: 687: 684: 681: 679:parameter_lower 678: 675: 672: 669: 665: 661: 658: 654: 651: 648: 645: 642: 639: 635: 632: 629: 626: 622: 619: 616: 613: 609: 606: 603: 600: 597: 594: 592:parameter_lower 591: 588: 585: 582: 578: 574: 571: 567: 564: 561: 558: 555: 552: 548: 545: 542: 539: 535: 532: 529: 526: 522: 519: 516: 513: 510: 507: 505:parameter_lower 504: 501: 498: 495: 492: 489: 486: 484:parameter_lower 483: 480: 477: 474: 471: 468: 465: 463:parameter_lower 462: 459: 456: 453: 449: 446: 442: 439: 435: 432: 428: 424: 421: 418: 415: 412: 410:parameter_lower 409: 406: 403: 399: 395: 392: 389: 386: 383: 379: 376: 373: 370: 367: 363: 359: 356: 353: 350: 347: 343: 339: 336: 333: 330: 327: 324: 321: 318: 314: 310: 307: 303: 300: 296: 293: 290: 286: 283: 279: 276: 273: 269: 266: 263: 260: 257: 254: 251: 248: 245: 242: 239: 235: 232: 229: 226: 223: 220: 217: 213: 209: 206: 203: 200: 197: 194: 191: 187: 184: 180: 177: 174: 171: 168: 165: 162: 159: 156: 152: 148: 145: 142: 139: 136: 131: 130: 125: 117: 105: 100: 89: 74: 69: 63: 59: 53: 50: 45: 26: 20: 18: 12: 11: 5: 1722: 1720: 1668:rfdb_noinclude 536:'Keep' 475:'keep' 135: 116:and testcases 49: 46: 17: 16: 13: 10: 9: 6: 4: 3: 2: 1721: 1703: 1699: 1692: 1682: 1657: 1653: 1646: 1618: 1593: 1589: 1582: 1571:result_string 1548: 1541: 1537: 1509: 1502: 1498: 1482: 1433: 1414: 1407: 1400: 1396: 1374: 1369:icon_filename 1358: 1351: 1332: 1325: 1321: 1314: 1294:icon_filename 1286: 1275:result_string 1273: 1248: 1237:result_string 1232: 1221:icon_filename 1216: 1200: 1193: 1189: 1182: 1177:icon_filename 1166: 1162: 1155: 1144:icon_filename 1142: 1129: 1110: 1099:icon_filename 1097: 1084: 1032: 1028: 1021: 1008: 997:icon_filename 995: 982: 975: 929: 925: 918: 899: 888:icon_filename 886: 873: 841:'sia' 820:'dab' 779: 775: 768: 749: 738:icon_filename 736: 723: 671: 667: 660: 641: 630:icon_filename 628: 615: 584: 580: 573: 554: 543:icon_filename 541: 528: 455: 448: 441: 434: 430: 405: 401: 390:icon_filename 385: 369: 365: 349: 345: 320: 316: 309: 302: 292: 285: 275: 241: 219: 215: 193: 186: 158: 154: 138: 133: 128: 121: 113: 109: 104: 97: 93: 87: 83: 79: 78:documentation 73: 68: 58: 47: 42: 38: 34: 30: 1385:result_match 1363:'[[' 1300:match_result 1288:result_match 1205:result_match 1171:result_match 1131:result_match 1086:result_match 984:result_match 875:result_match 725:result_match 617:result_match 530:result_match 374:result_match 328:match_result 264:'%S' 132: 70:}} 64:{{ 60:}} 54:{{ 51: 1559:link_string 1471:'#' 1438:link_string 82:transcluded 39:] [ 35:] [ 31:] [ 1577:end_string 1514:end_string 1243:'' 1115:find_count 1067:find_count 1037:find_count 1010:find_count 958:find_count 907:find_count 901:find_count 757:find_count 751:find_count 649:find_count 643:find_count 562:find_count 556:find_count 396:'' 380:'' 354:find_count 76:The above 67:rfd bottom 1659:function 1595:function 1444:tostring 1256:argIsSet 1052:argIsSet 325:function 227:argIsSet 224:function 160:function 1425:os.time 110:| 103:sandbox 96:history 94:| 57:rfd top 37:history 1705:return 1684:return 1620:return 1550:return 1168:return 1112:elseif 294:return 277:return 124:pages. 120:create 1674:frame 1629:frame 1610:frame 1511:local 1484:local 1456:title 1435:local 1416:local 1334:local 1234:local 1218:local 1202:local 1118:<= 1040:>= 422:lower 407:local 387:local 371:local 351:local 322:local 297:false 221:local 204:frame 195:local 175:frame 140:local 84:from 48:Usage 43:] 41:purge 27:[ 1635:args 1306:args 1268:then 1124:then 1079:then 970:then 943:find 868:then 856:find 835:find 814:find 793:find 718:then 706:find 685:find 610:then 598:find 523:then 511:find 490:find 469:find 287:else 280:true 270:then 258:find 252:args 246:args 210:args 198:args 112:diff 108:edit 92:edit 62:and 52:See 33:edit 29:view 1708:rfd 1694:end 1662:rfd 1648:end 1598:rfd 1584:end 1465:()) 1316:end 1184:end 1157:end 1064:and 1023:end 955:and 920:end 770:end 662:end 575:end 311:end 304:end 249:and 233:key 163:rfd 143:rfd 80:is 1638:.. 1626:.. 1574:.. 1568:.. 1562:.. 1556:.. 1529:.. 1523:.. 1474:.. 1468:.. 1450:mw 1428:() 1388:.. 1382:.. 1376:.. 1366:.. 1360:.. 1265:)) 1250:if 1070:== 1046:or 1034:if 961:== 931:if 865:)) 847:or 826:or 805:or 781:if 715:)) 697:or 673:if 607:)) 586:if 520:)) 502:or 481:or 457:if 425:() 243:if 149:{} 88:. 1677:) 1671:( 1665:. 1632:. 1613:) 1607:( 1601:. 1517:= 1490:= 1459:. 1453:. 1447:( 1441:= 1422:= 1340:= 1309:) 1303:( 1297:= 1291:, 1278:= 1259:( 1253:( 1240:= 1224:= 1208:= 1174:, 1147:= 1134:= 1121:0 1102:= 1089:= 1076:) 1073:0 1061:) 1055:( 1049:( 1043:2 1016:1 1013:= 1000:= 987:= 967:) 964:0 952:) 946:( 940:: 934:( 913:1 910:+ 904:= 891:= 878:= 859:( 853:: 844:) 838:( 832:: 823:) 817:( 811:: 802:) 796:( 790:: 784:( 763:1 760:+ 754:= 741:= 728:= 709:( 703:: 694:) 688:( 682:: 676:( 655:1 652:+ 646:= 633:= 620:= 601:( 595:: 589:( 568:1 565:+ 559:= 546:= 533:= 514:( 508:: 499:) 493:( 487:: 478:) 472:( 466:: 460:( 419:: 413:= 393:= 377:= 360:0 357:= 337:) 331:( 267:) 261:( 255:: 236:) 230:( 207:. 201:= 178:) 172:( 166:. 146:= 129:. 122:) 118:( 114:) 106:( 98:) 90:(

Index

view
edit
history
purge
rfd top
rfd bottom
documentation
transcluded
Module:RfD close/doc
edit
history
sandbox
edit
diff
create
Subpages of this module













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