21:
52:
84:
122:
100:
150:
may be appended to a template to check for uses of deprecated parameters. It will place the page in a specific category, and display a preview message, when it finds deprecated parameter uses.
296:
304:
292:
280:
36:
311:
276:
32:
40:
69:
very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is
287:
96:
1429:
91:
1424:
108:
58:
270:
28:
253:
248:
262:
237:
1434:
62:
70:
135:
66:
156:
due to the nature of deprecations, this module will often have no templates implementing it.
8:
266:
131:
104:
1418:
242:
332:-- with a list of arguments, returning a specified result if an argument is
15:
1067:-- Kind of dangerous to trust that this is never nil, but I guess it's
1074:-- preferable to display that the use of the module is broken rather than
325:-- This module may be used to compare the arguments passed to the parent
1081:-- have some sort of tracking category for pages which have an unknown
513:-- create the table of deprecated values and their matching new value
95:
and changes may be widely noticed. Test changes in the module's
1229:-- Fix odd bug for | = which gets stripped to the empty string
669:-- loop over the parent args and see if any are deprecated
989:'Page using ] with deprecated parameter _VALUE_'
127:
This module depends on the following other modules:
1416:
256:– module that checks for conflicting parameters
65:in use by a very large number of pages, or is
245:– for complex operations involving parameters
271:Module:Check for deprecated parameters/doc
18:
286:Editors can experiment in this module's
1417:
148:Module:Check for deprecated parameters
1310:'". Replace with "'
254:Module:Check for clobbered parameters
107:. Consider discussing changes on the
1430:Modules that add a tracking category
116:
78:
46:
919:-- add results to the output tables
249:Module:Check for unknown parameters
13:
1425:Modules subject to page protection
14:
1446:
120:
82:
50:
19:
174:Check for deprecated parameters
92:approximately 61,000 pages
238:Category:Deprecated parameters
1:
1236:-- and breaks category links
1088:-- parent tracking template.
7:
1030:'Module:If preview'
231:
90:This Lua module is used on
10:
1451:
260:
59:subject to page protection
1403:
1402:
1399:
1398:
1392:
1391:
1373:
1372:
1369:
1368:
1362:
1361:
1355:
1354:
1333:
1332:
1326:
1325:
1295:
1294:
1285:
1284:
1260:
1259:
1253:
1252:
1240:
1239:
1233:
1232:
1226:
1225:
1207:
1206:
1185:
1184:
1148:
1147:
1114:
1113:
1092:
1091:
1085:
1084:
1078:
1077:
1071:
1070:
1064:
1063:
1057:
1056:
1050:
1049:
1043:
1042:
1015:
1014:
993:
992:
986:
985:
961:
960:
939:
938:
923:
922:
916:
915:
912:
911:
905:
904:
898:
897:
891:
890:
869:
868:
856:
855:
849:
848:
842:
841:
820:
819:
795:
794:
782:
781:
748:
747:
720:
719:
689:
688:
673:
672:
666:
665:
662:
661:
655:
654:
648:
647:
635:
634:
589:
588:
555:
554:
539:
538:
517:
516:
510:
509:
485:
484:
481:
480:
474:
473:
443:
442:
421:
420:
111:before implementing them.
103:subpages, or in your own
417:
416:
410:
409:
385:
384:
363:
362:
359:
358:
343:
342:
336:
335:
329:
328:
322:
321:
319:
163:
159:
403:'^%s*(.-)%s*$ '
312:Subpages of this module
601:'ignoreblank'
63:highly visible module
1435:Template metamodules
625:'deprecated'
24:Module documentation
1322:'".'
1288:'_VALUE_'
1172:'_VALUE_'
613:'preview'
145:
144:
132:Module:If preview
115:
114:
77:
76:
1442:
1411:
1410:
1407:
1401:
1397:
1396:
1390:
1389:
1386:
1383:
1380:
1377:
1371:
1367:
1366:
1360:
1359:
1353:
1352:
1349:
1346:
1343:
1340:
1337:
1331:
1330:
1324:
1323:
1320:
1317:
1314:
1311:
1308:
1305:
1302:
1299:
1298:'"'
1293:
1292:
1289:
1283:
1282:
1279:
1276:
1273:
1270:
1267:
1264:
1258:
1257:
1251:
1250:
1247:
1244:
1238:
1237:
1231:
1230:
1224:
1223:
1220:
1217:
1214:
1211:
1205:
1204:
1201:
1198:
1195:
1192:
1189:
1183:
1182:
1179:
1176:
1173:
1170:
1167:
1164:
1161:
1158:
1155:
1152:
1146:
1145:
1142:
1139:
1136:
1133:
1130:
1127:
1124:
1121:
1118:
1112:
1111:
1108:
1105:
1102:
1099:
1096:
1090:
1089:
1083:
1082:
1076:
1075:
1069:
1068:
1062:
1061:
1055:
1054:
1048:
1047:
1041:
1040:
1037:
1034:
1031:
1028:
1025:
1022:
1019:
1013:
1012:
1009:
1006:
1003:
1000:
997:
991:
990:
984:
983:
980:
977:
974:
971:
968:
965:
959:
958:
955:
952:
949:
946:
943:
937:
936:
933:
930:
927:
921:
920:
914:
910:
909:
903:
902:
896:
895:
889:
888:
885:
882:
879:
876:
873:
867:
866:
863:
860:
854:
853:
847:
846:
840:
839:
836:
833:
830:
827:
824:
818:
817:
814:
811:
808:
805:
802:
799:
793:
792:
789:
786:
780:
779:
776:
773:
770:
767:
764:
761:
758:
755:
752:
746:
745:
742:
739:
736:
733:
730:
727:
724:
718:
717:
714:
711:
708:
705:
702:
699:
696:
693:
687:
686:
683:
680:
677:
671:
670:
664:
660:
659:
653:
652:
646:
645:
642:
639:
633:
632:
629:
626:
623:
620:
617:
614:
611:
608:
605:
602:
599:
596:
593:
587:
586:
583:
580:
577:
574:
571:
568:
565:
562:
559:
553:
552:
549:
546:
543:
537:
536:
533:
530:
527:
524:
521:
515:
514:
508:
507:
504:
501:
498:
495:
492:
489:
483:
479:
478:
472:
471:
468:
465:
462:
459:
456:
453:
450:
447:
441:
440:
437:
434:
431:
428:
425:
419:
415:
414:
408:
407:
404:
401:
398:
395:
392:
389:
383:
382:
379:
376:
373:
370:
367:
361:
357:
356:
353:
350:
347:
341:
340:
334:
333:
327:
326:
308:
300:
284:
227:
223:
220:
217:
213:
209:
206:
203:
199:
196:
193:
190:
187:
184:
181:
177:
173:
170:
167:
124:
123:
117:
86:
85:
79:
54:
53:
47:
44:
25:
23:
22:
1450:
1449:
1445:
1444:
1443:
1441:
1440:
1439:
1415:
1414:
1413:
1412:
1408:
1405:
1394:
1387:
1384:
1381:
1378:
1375:
1364:
1357:
1350:
1347:
1344:
1341:
1338:
1335:
1328:
1321:
1318:
1315:
1312:
1309:
1306:
1303:
1300:
1297:
1290:
1287:
1280:
1277:
1274:
1271:
1268:
1265:
1262:
1255:
1248:
1245:
1242:
1235:
1228:
1221:
1218:
1215:
1212:
1209:
1202:
1199:
1196:
1193:
1190:
1187:
1180:
1177:
1174:
1171:
1168:
1165:
1162:
1159:
1156:
1153:
1150:
1143:
1140:
1137:
1134:
1131:
1128:
1125:
1122:
1119:
1116:
1109:
1106:
1103:
1100:
1097:
1094:
1087:
1080:
1073:
1066:
1059:
1052:
1045:
1038:
1035:
1032:
1029:
1026:
1023:
1020:
1017:
1010:
1007:
1004:
1001:
998:
995:
988:
981:
978:
975:
972:
969:
966:
963:
956:
953:
950:
947:
944:
941:
934:
931:
928:
925:
918:
907:
900:
893:
886:
883:
880:
877:
874:
871:
864:
861:
858:
851:
844:
837:
834:
831:
828:
825:
822:
815:
812:
809:
806:
803:
800:
797:
790:
787:
784:
777:
774:
771:
768:
765:
762:
759:
756:
753:
750:
743:
740:
737:
734:
731:
728:
725:
722:
715:
712:
709:
706:
703:
700:
697:
694:
691:
684:
681:
678:
675:
668:
657:
650:
643:
640:
637:
630:
627:
624:
621:
618:
615:
612:
609:
606:
603:
600:
597:
594:
591:
584:
581:
578:
575:
572:
569:
566:
563:
560:
557:
550:
547:
544:
541:
534:
531:
528:
525:
522:
519:
512:
505:
502:
499:
496:
493:
490:
487:
476:
469:
466:
463:
460:
457:
454:
451:
448:
445:
438:
435:
432:
429:
426:
423:
412:
405:
402:
399:
396:
393:
390:
387:
380:
377:
374:
371:
368:
365:
354:
351:
348:
345:
338:
331:
324:
316:
315:
310:
302:
290:
285:
274:
259:
234:
229:
228:
225:
221:
218:
215:
211:
207:
204:
201:
197:
194:
191:
188:
185:
182:
179:
175:
171:
168:
165:
162:
141:
121:
83:
57:This module is
51:
45:
26:
20:
12:
11:
5:
1448:
1438:
1437:
1432:
1427:
339:-- on the list
320:
301:and testcases
258:
257:
251:
246:
240:
233:
230:
164:
161:
158:
143:
142:
140:
139:
128:
125:
113:
112:
105:module sandbox
87:
75:
74:
55:
17:
16:
9:
6:
4:
3:
2:
1447:
1436:
1433:
1431:
1428:
1426:
1423:
1422:
1420:
1404:
1400:
1393:
1374:
1370:
1363:
1356:
1334:
1327:
1296:
1286:
1261:
1254:
1241:
1234:
1227:
1208:
1186:
1149:
1115:
1093:
1086:
1079:
1072:
1065:
1058:
1051:
1044:
1016:
994:
987:
962:
940:
924:
917:
913:
906:
899:
892:
870:
857:
850:
843:
821:
796:
783:
749:
721:
690:
674:
667:
663:
656:
649:
636:
590:
556:
540:
518:
511:
486:
482:
475:
444:
422:
418:
411:
386:
364:
360:
344:
337:
330:
323:
318:
313:
306:
298:
294:
289:
282:
278:
272:
268:
264:
263:documentation
255:
252:
250:
247:
244:
243:Module:Params
241:
239:
236:
235:
157:
155:
151:
149:
137:
133:
130:
129:
126:
119:
118:
110:
106:
102:
98:
94:
93:
88:
81:
80:
73:from editing.
72:
68:
64:
60:
56:
49:
48:
42:
38:
34:
30:
1379:table.concat
1336:table.insert
1188:table.insert
872:table.insert
823:table.insert
317:
200:new_param1
153:
152:
147:
146:
89:
1249:' '
788:ignoreblank
695:ignoreblank
267:transcluded
224:new_paramN
219:old_paramN
210:new_param2
205:old_param2
195:old_param1
67:substituted
39:] [
35:] [
31:] [
1419:Categories
1316:dep_values
1219:''
999:isnotempty
862:dep_values
813:''
801:dep_values
701:isnotempty
638:dep_values
545:dep_values
470:''
430:isnotempty
261:The above
101:/testcases
61:. It is a
738:getParent
183:category
109:talk page
71:protected
1160:category
1098:category
1036:_warning
488:function
427:function
369:function
232:See also
97:/sandbox
1272:preview
1046:preview
1024:require
1018:preview
1005:preview
967:preview
295:|
288:sandbox
281:history
279:|
169:#invoke
136:sandbox
37:history
1406:return
1376:return
1138:values
948:values
878:values
829:values
679:values
446:return
388:return
309:pages.
305:create
178:check
1263:local
1151:local
1132:pairs
1104:frame
1095:local
973:frame
964:local
926:local
772:pargs
766:pairs
732:frame
726:pargs
723:local
707:frame
692:local
676:local
573:pairs
542:local
529:frame
520:local
503:frame
497:check
424:local
397:match
366:local
346:local
269:from
214:....
160:Usage
154:Note:
43:]
41:purge
27:[
1278:gsub
1222:then
1166:gsub
1110:args
1011:then
979:args
957:then
951:>
865:then
852:else
816:then
791:then
744:args
713:args
631:else
628:then
579:args
535:args
523:args
455:trim
372:trim
297:diff
293:edit
277:edit
33:edit
29:view
1395:end
1385:res
1365:end
1358:end
1342:res
1256:end
1194:res
1117:for
1060:end
929:res
908:end
901:end
894:end
845:end
804:and
751:for
741:().
658:end
651:end
558:for
477:end
452:and
413:end
265:is
99:or
1421::
1319:..
1313:..
1307:..
1301:..
1216:==
1210:if
1144:do
1129:in
1053:})
1039:({
1033:).
996:if
982:or
942:if
935:{}
859:if
810:~=
798:if
785:if
778:do
763:in
685:{}
622:==
616:or
610:==
604:or
598:==
592:if
585:do
570:in
551:{}
467:~=
355:{}
273:.
226:}}
166:{{
1409:p
1388:)
1382:(
1351:)
1348:p
1345:,
1339:(
1329:)
1304:v
1291:,
1281:(
1275::
1269:=
1266:p
1246:=
1243:v
1213:v
1203:)
1200:c
1197:,
1191:(
1181:)
1178:v
1175:,
1169:(
1163::
1157:=
1154:c
1141:)
1135:(
1126:v
1123:,
1120:k
1107:.
1101:=
1027:(
1021:=
1008:)
1002:(
976:.
970:=
954:0
945:#
932:=
887:)
884:k
881:,
875:(
838:)
835:k
832:,
826:(
807:v
775:)
769:(
760:v
757:,
754:k
735::
729:=
716:)
710:.
704:(
698:=
682:=
644:v
641:=
619:k
607:k
595:k
582:)
576:(
567:v
564:,
561:k
548:=
532:.
526:=
506:)
500:(
494:.
491:p
464:)
461:s
458:(
449:s
439:)
436:s
433:(
406:)
400:(
394::
391:s
381:)
378:s
375:(
352:=
349:p
314:.
307:)
303:(
299:)
291:(
283:)
275:(
222:=
216:|
212:|
208:=
202:|
198:=
192:|
189:]
186:=
180:|
176:|
172::
138:)
134:(
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.