Knowledge

Module:RfD close/sandbox

Source 📝

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

Index

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








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