256:{{#invoke: Namespace detect | main | page = <!-- page to detect namespace for, if not the current page --> | main = <!-- text to return for the main namespace --> | talk = <!-- text to return for talk namespaces --> <!-- text to return for specific subject namespaces --> | portal = | category = | user = | draft = | wikipedia = | mediawiki = | book = | timedtext = | template = | special = | media = | file = | help = | module = | other = <!-- text to return for unspecified namespaces --> | demospace = <!-- namespace to display text for --> | subjectns = <!-- set to "yes" to treat talk pages as the corresponding subject page --> }}
69:
143:
100:
175:
31:
580:
565:
553:
84:
88:
274:- text to return if the page is in a talk namespace. This can be any talk namespace - it will match any of "Talk:", "Knowledge (XXG) talk:", "User talk:", etc.
248:
template, with a few improvements: all namespaces and all namespace aliases are supported, and namespace names are detected automatically for the local wiki.
596:
549:
80:
149:
527:
160:
very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is
584:
55:
289:... - the text to return if the page is in the corresponding namespace. This module accepts all subject namespaces as parameters, including
188:
535:
575:
121:
51:
153:
37:
511:
161:
523:
184:
129:
592:
543:
76:
510:
This module is designed to be portable. To use it on a different wiki, all you need to do is to change the values in
3551:
530:, which means it is processed once per page rather than once per #invoke. This was done for performance reasons.
242:
218:
157:
208:
313:- if on a talk page, use the corresponding subject page. Can be set with values of "yes", "y", "true" or "1".
41:
17:
329:- force the module to behave as if the page was in the specified namespace. Often used for demonstrations.
303:- text to return if no parameters for the page's namespace were specified. This text is also returned if
294:
290:
231:
198:
128:. The tested changes can be added to this page in a single edit. Please discuss changes on the
539:
214:
204:
235:
678:-- by altering the values in the "cfg" table in --
116:
To avoid major disruption and server load, any changes should be tested in the module's
488:
Use the following to display a table with the different possible namespace parameters:
125:
3545:
194:
699:--------------------------------------------------------------------------------
692:-- --
685:-- Module:Namespace detect/config. --
671:-- used on a talk page. Parameter names can be configured for different wikis --
664:-- module can also use the corresponding subject namespace value if it is --
657:-- and namespace names are detected automatically for the local wiki. The --
650:-- few improvements: all namespaces and all namespace aliases are supported, --
643:-- This module implements the {{namespace detect}} template in Lua, with a --
636:-- --
629:-- NAMESPACE DETECT --
622:-- --
615:--------------------------------------------------------------------------------
114:
Changes to it can cause immediate changes to the
Knowledge (XXG) user interface.
109:
319:- specifies a page to detect the namespace of. If not specified, and if the
63:
3038:-- Add 1, as the array must start with 1; nsid 0 would be lost otherwise.
2256:-- namespace. Note that the parameter for the detected namespace must be
949:-- Fetches a value from the table t1 for the first key in array t2 where
2548:-- documentation purposes. The talk parameter is optional, in case it
2242:-- This happens if there was no text specified for the namespace that
2134:-- Check the parameters stored in the mappings table for any matches.
1242:-- Get the page object, passing the function through pcall in case of
2235:-- If there were no matches, return parameters for other namespaces.
1105:-- Returns true if value equals a value in the array t. Otherwise
338:
Possible values for subject namespace parameters are as follows:
230:
This module allows you to output different text depending on the
110:
approximately 519,000 pages, or roughly 1% of all pages
2541:-- Create a wikitable of all subject namespace parameters, for
1484:-- This function gets the namespace name from the page object.
1249:-- errors, e.g. being over the expensive function count limit.
169:
137:
94:
25:
2249:-- was detected or if the demospace parameter is not a valid
323:
parameter is not set, then the module uses the current page.
2263:-- completely absent for this to happen, not merely blank.
1415:-- Provided for backward compatibility with other modules
569:
45:
268:- text to return if the page is in the main namespace.
2024:-- return nil if the page object doesn't exist.
180:
This module depends on the following other modules:
1878:-- Get the subject namespace if the option is set,
498:To include the parameter for talk namespaces, use
1703:-- Handle "demospace = main" properly.
491:{{#invoke:Namespace detect|table|talk=
156:in use by a very large number of pages, or is
2555:-- needs to be excluded in the documentation.
8:
514:. Instructions are available on that page.
297:. See below for a list of supported values.
2168:-- "other" avoids nil table keys
106:This Lua module is used in system messages
2573:-- Load modules and initialise variables.
3139:'{| class="wikitable"'
559:Editors can experiment in this module's
340:
862:-- Lazily initilalise Module:TableTools
738:'Module:Namespace detect/data'
499:
320:
304:
2741:-- Whether to use the talk parameter.
849:-- Lazily initialise Module:Arguments
307:is set to an invalid namespace value.
7:
277:Subject namespace parameters, e.g.
50:See also the companion subpage for
1885:-- otherwise use "talk".
24:
234:that a given page is in. It is a
956:-- a non-nil value of t1 exists.
173:
141:
98:
67:
29:
2934:-- Put the namespaces in order.
522:The module uses a data page at
512:Module:Namespace detect/config
1:
524:Module:Namespace detect/data
185:Module:Namespace detect/data
2592:'Module:TableTools'
544:Module:Namespace detect/doc
526:. This page is loaded with
3568:
3530:
3526:
3519:
3509:
3493:
3468:
3461:
3454:
3447:
3416:
3409:
3378:
3359:
3343:
3315:
3290:
3271:
3237:
3203:
3181:
3159:
3143:
3127:
3120:
3116:
3088:
3081:
3074:
3061:
3042:
3035:
3013:
2988:
2954:
2938:
2931:
2927:
2890:
2853:
2846:
2839:
2829:
2822:
2812:
2784:
2756:
2749:
2745:
2711:
2680:
2649:
2627:
2599:
2577:
2570:
2566:
2559:
2552:
2545:
2538:
2531:
2506:
2502:
2495:
2479:
2448:
2402:
2395:'Module:Arguments'
2380:
2355:
2351:
2344:
2334:
2327:
2293:
2274:
2267:
2260:
2253:
2246:
2239:
2232:
2225:
2194:
2172:
2138:
2131:
2106:
2102:
2095:
2076:
2042:
2035:
2028:
2015:
2008:
2001:
1982:
1975:
1968:
1955:
533:
506:Porting to different wikis
150:subject to page protection
1948:
1911:
1889:
1882:
1875:
1856:
1843:
1812:
1805:
1798:
1785:
1778:
1747:
1707:
1700:
1687:
1677:
1640:
1633:
1620:
1601:
1564:
1557:
1544:
1525:
1488:
1481:
1459:
1455:
1448:
1438:
1419:
1412:
1408:
1401:
1394:
1369:
1362:
1355:
1345:
1338:
1328:
1315:
1266:
1253:
1246:
1239:
1214:
1210:
1203:
1193:
1186:
1179:
1169:
1150:
1116:
1109:
1102:
1074:
1070:
1063:
1053:
1046:
1039:
1029:
1010:
994:
960:
953:
946:
918:
914:
898:
894:
866:
853:
840:
815:
811:
789:
767:
745:
714:
710:
703:
696:
689:
682:
675:
668:
132:before implementing them.
124:subpages, or in your own
3431:', <code>'
2877:wikitableNamespaceHeader
2752:-- Get the header names.
661:
654:
647:
640:
633:
626:
619:
612:
605:
602:
3443:'</code>'
3405:'</code>'
3339:'</code>'
597:Subpages of this module
42:Module:Namespace detect
18:Module:Namespace detect
3393:'<code>'
2914:wikitableAliasesHeader
833:'Module:Yesno'
591:Add categories to the
238:implementation of the
154:highly visible module
334:Namespace parameters
321:|demospace=
305:|demospace=
72:Module documentation
3327:| <code>'
3123:-- Build the table.
3103:compressSparseArray
2883:'Namespace'
500:|talk=yes
295:virtual namespaces
2920:'Aliases'
1112:-- returns false.
518:Technical details
481:
480:
291:namespace aliases
228:
227:
215:Module:TableTools
168:
167:
136:
135:
62:
61:
3559:
3552:Module sandboxes
3538:
3537:
3534:
3528:
3524:
3523:
3517:
3516:
3513:
3507:
3506:
3503:
3500:
3497:
3491:
3490:
3487:
3484:
3481:
3478:
3475:
3472:
3466:
3465:
3459:
3458:
3452:
3451:
3445:
3444:
3441:
3438:
3435:
3432:
3429:
3426:
3423:
3420:
3414:
3413:
3407:
3406:
3403:
3400:
3397:
3394:
3391:
3388:
3385:
3382:
3376:
3375:
3372:
3369:
3366:
3363:
3357:
3356:
3353:
3350:
3347:
3341:
3340:
3337:
3334:
3331:
3328:
3325:
3322:
3319:
3313:
3312:
3309:
3306:
3303:
3300:
3297:
3294:
3288:
3287:
3284:
3281:
3278:
3275:
3269:
3268:
3265:
3262:
3259:
3256:
3253:
3250:
3247:
3244:
3241:
3235:
3234:
3231:
3228:
3225:
3222:
3219:
3216:
3213:
3210:
3207:
3201:
3200:
3197:
3194:
3191:
3188:
3185:
3179:
3178:
3175:
3172:
3169:
3166:
3163:
3157:
3156:
3153:
3150:
3147:
3141:
3140:
3137:
3134:
3131:
3125:
3124:
3118:
3114:
3113:
3110:
3107:
3104:
3101:
3098:
3095:
3092:
3086:
3085:
3079:
3078:
3072:
3071:
3068:
3065:
3059:
3058:
3055:
3052:
3049:
3046:
3040:
3039:
3033:
3032:
3029:
3026:
3023:
3020:
3017:
3011:
3010:
3007:
3004:
3001:
2998:
2995:
2992:
2986:
2985:
2982:
2979:
2976:
2973:
2970:
2967:
2964:
2961:
2958:
2952:
2951:
2948:
2945:
2942:
2936:
2935:
2929:
2925:
2924:
2921:
2918:
2915:
2912:
2909:
2906:
2903:
2900:
2897:
2894:
2888:
2887:
2884:
2881:
2878:
2875:
2872:
2869:
2866:
2863:
2860:
2857:
2851:
2850:
2844:
2843:
2837:
2836:
2833:
2827:
2826:
2820:
2819:
2816:
2810:
2809:
2806:
2805:'string'
2803:
2800:
2797:
2794:
2791:
2788:
2782:
2781:
2778:
2775:
2772:
2769:
2766:
2763:
2760:
2754:
2753:
2747:
2743:
2742:
2739:
2736:
2733:
2730:
2727:
2724:
2721:
2718:
2715:
2709:
2708:
2705:
2702:
2699:
2696:
2693:
2690:
2687:
2684:
2678:
2677:
2674:
2671:
2668:
2665:
2662:
2659:
2656:
2653:
2647:
2646:
2643:
2640:
2637:
2634:
2631:
2625:
2624:
2621:
2618:
2615:
2612:
2609:
2606:
2603:
2597:
2596:
2593:
2590:
2587:
2584:
2581:
2575:
2574:
2568:
2564:
2563:
2557:
2556:
2550:
2549:
2543:
2542:
2536:
2535:
2529:
2528:
2525:
2522:
2519:
2516:
2513:
2510:
2504:
2500:
2499:
2493:
2492:
2489:
2486:
2483:
2477:
2476:
2473:
2470:
2467:
2464:
2461:
2458:
2455:
2452:
2446:
2445:
2442:
2439:
2436:
2433:
2430:
2427:
2424:
2421:
2418:
2415:
2412:
2409:
2406:
2400:
2399:
2396:
2393:
2390:
2387:
2384:
2378:
2377:
2374:
2371:
2368:
2365:
2362:
2359:
2353:
2349:
2348:
2342:
2341:
2338:
2332:
2331:
2325:
2324:
2321:
2318:
2315:
2312:
2309:
2306:
2303:
2300:
2297:
2291:
2290:
2287:
2284:
2281:
2278:
2272:
2271:
2265:
2264:
2258:
2257:
2251:
2250:
2244:
2243:
2237:
2236:
2230:
2229:
2223:
2222:
2219:
2216:
2213:
2210:
2207:
2204:
2201:
2198:
2192:
2191:
2188:
2185:
2182:
2179:
2176:
2170:
2169:
2166:
2163:
2160:
2157:
2154:
2151:
2148:
2145:
2142:
2136:
2135:
2129:
2128:
2125:
2122:
2119:
2116:
2113:
2110:
2104:
2100:
2099:
2093:
2092:
2089:
2086:
2083:
2080:
2074:
2073:
2070:
2067:
2064:
2061:
2058:
2055:
2052:
2049:
2046:
2040:
2039:
2033:
2032:
2026:
2025:
2022:
2019:
2013:
2012:
2006:
2005:
1999:
1998:
1995:
1992:
1989:
1986:
1980:
1979:
1973:
1972:
1966:
1965:
1962:
1959:
1953:
1952:
1946:
1945:
1942:
1939:
1936:
1933:
1930:
1927:
1924:
1921:
1918:
1915:
1909:
1908:
1905:
1902:
1899:
1896:
1893:
1887:
1886:
1880:
1879:
1873:
1872:
1869:
1866:
1863:
1860:
1854:
1853:
1850:
1847:
1841:
1840:
1837:
1834:
1831:
1828:
1825:
1822:
1819:
1816:
1810:
1809:
1803:
1802:
1796:
1795:
1792:
1789:
1783:
1782:
1776:
1775:
1772:
1769:
1766:
1763:
1760:
1757:
1754:
1751:
1745:
1744:
1741:
1738:
1735:
1732:
1729:
1726:
1723:
1720:
1717:
1714:
1713:equalsArrayValue
1711:
1705:
1704:
1698:
1697:
1694:
1691:
1685:
1684:
1681:
1675:
1674:
1671:
1668:
1665:
1662:
1659:
1656:
1653:
1650:
1647:
1644:
1638:
1637:
1631:
1630:
1627:
1624:
1618:
1617:
1614:
1611:
1608:
1605:
1599:
1598:
1595:
1592:
1589:
1586:
1583:
1580:
1577:
1574:
1571:
1568:
1562:
1561:
1555:
1554:
1551:
1548:
1542:
1541:
1538:
1535:
1532:
1529:
1523:
1522:
1519:
1516:
1513:
1510:
1507:
1504:
1501:
1498:
1495:
1492:
1486:
1485:
1479:
1478:
1475:
1472:
1469:
1466:
1463:
1457:
1453:
1452:
1446:
1445:
1442:
1436:
1435:
1432:
1431:getParamMappings
1429:
1426:
1423:
1417:
1416:
1410:
1406:
1405:
1399:
1398:
1392:
1391:
1388:
1385:
1382:
1379:
1376:
1373:
1367:
1366:
1360:
1359:
1353:
1352:
1349:
1343:
1342:
1336:
1335:
1332:
1326:
1325:
1322:
1319:
1313:
1312:
1309:
1306:
1303:
1300:
1297:
1294:
1291:
1288:
1285:
1282:
1279:
1276:
1273:
1270:
1264:
1263:
1260:
1257:
1251:
1250:
1244:
1243:
1237:
1236:
1233:
1230:
1227:
1224:
1221:
1218:
1212:
1208:
1207:
1201:
1200:
1197:
1191:
1190:
1184:
1183:
1177:
1176:
1173:
1167:
1166:
1163:
1160:
1157:
1154:
1148:
1147:
1144:
1141:
1138:
1135:
1132:
1129:
1126:
1123:
1120:
1114:
1113:
1107:
1106:
1100:
1099:
1096:
1093:
1090:
1087:
1084:
1083:equalsArrayValue
1081:
1078:
1072:
1068:
1067:
1061:
1060:
1057:
1051:
1050:
1044:
1043:
1037:
1036:
1033:
1027:
1026:
1023:
1020:
1017:
1014:
1008:
1007:
1004:
1001:
998:
992:
991:
988:
985:
982:
979:
976:
973:
970:
967:
964:
958:
957:
951:
950:
944:
943:
940:
937:
934:
931:
928:
925:
922:
916:
912:
911:
908:
905:
902:
896:
892:
891:
888:
885:
882:
879:
876:
873:
870:
864:
863:
860:
857:
851:
850:
847:
844:
838:
837:
834:
831:
828:
825:
822:
819:
813:
809:
808:
805:
802:
799:
796:
793:
787:
786:
783:
780:
777:
774:
771:
765:
764:
761:
758:
755:
752:
749:
743:
742:
739:
736:
733:
730:
727:
724:
721:
718:
712:
708:
707:
701:
700:
694:
693:
687:
686:
680:
679:
673:
672:
666:
665:
659:
658:
652:
651:
645:
644:
638:
637:
631:
630:
624:
623:
617:
616:
610:
609:
588:
573:
557:
501:
475:
466:
457:
448:
439:
430:
421:
414:
409:
400:
393:
388:
381:
377:
372:
363:
354:
341:
322:
306:
247:
243:namespace detect
241:
205:Module:Arguments
177:
176:
170:
145:
144:
138:
102:
101:
95:
92:
73:
71:
70:
33:
32:
26:
3567:
3566:
3562:
3561:
3560:
3558:
3557:
3556:
3542:
3541:
3540:
3539:
3535:
3532:
3529:
3525:
3521:
3518:
3514:
3511:
3508:
3504:
3501:
3498:
3495:
3492:
3488:
3485:
3482:
3479:
3476:
3473:
3470:
3467:
3463:
3460:
3456:
3453:
3449:
3446:
3442:
3439:
3436:
3433:
3430:
3427:
3424:
3421:
3418:
3415:
3411:
3408:
3404:
3401:
3398:
3395:
3392:
3389:
3386:
3383:
3380:
3377:
3373:
3370:
3367:
3364:
3361:
3358:
3354:
3351:
3348:
3345:
3342:
3338:
3335:
3332:
3329:
3326:
3323:
3320:
3317:
3314:
3310:
3307:
3304:
3301:
3298:
3295:
3292:
3289:
3285:
3282:
3279:
3276:
3273:
3270:
3266:
3263:
3260:
3257:
3254:
3251:
3248:
3245:
3242:
3239:
3236:
3232:
3229:
3227:mappingsOrdered
3226:
3223:
3220:
3217:
3214:
3211:
3208:
3205:
3202:
3198:
3195:
3192:
3189:
3186:
3183:
3180:
3176:
3173:
3170:
3167:
3164:
3161:
3158:
3154:
3151:
3148:
3145:
3142:
3138:
3135:
3132:
3129:
3126:
3122:
3119:
3115:
3111:
3109:mappingsOrdered
3108:
3105:
3102:
3099:
3096:
3093:
3091:mappingsOrdered
3090:
3087:
3083:
3080:
3076:
3073:
3069:
3066:
3064:mappingsOrdered
3063:
3060:
3056:
3053:
3050:
3047:
3044:
3041:
3037:
3034:
3030:
3027:
3024:
3021:
3018:
3015:
3012:
3008:
3005:
3002:
2999:
2996:
2993:
2990:
2987:
2983:
2980:
2977:
2974:
2971:
2968:
2965:
2962:
2959:
2956:
2953:
2949:
2946:
2944:mappingsOrdered
2943:
2940:
2937:
2933:
2930:
2926:
2922:
2919:
2916:
2913:
2910:
2907:
2904:
2901:
2898:
2895:
2892:
2889:
2885:
2882:
2879:
2876:
2873:
2870:
2867:
2864:
2861:
2858:
2855:
2852:
2848:
2845:
2841:
2838:
2834:
2831:
2828:
2824:
2821:
2817:
2814:
2811:
2807:
2804:
2801:
2798:
2795:
2792:
2789:
2786:
2783:
2779:
2776:
2773:
2770:
2767:
2764:
2761:
2758:
2755:
2751:
2748:
2744:
2740:
2737:
2734:
2731:
2728:
2725:
2722:
2719:
2716:
2713:
2710:
2707:'table'
2706:
2703:
2700:
2697:
2694:
2691:
2688:
2685:
2682:
2679:
2676:'table'
2675:
2672:
2669:
2666:
2663:
2660:
2657:
2654:
2651:
2648:
2644:
2641:
2638:
2635:
2632:
2629:
2626:
2622:
2619:
2616:
2613:
2610:
2607:
2604:
2601:
2598:
2594:
2591:
2588:
2585:
2582:
2579:
2576:
2572:
2569:
2565:
2561:
2558:
2554:
2551:
2547:
2544:
2540:
2537:
2533:
2530:
2526:
2523:
2520:
2517:
2514:
2511:
2508:
2505:
2501:
2497:
2494:
2490:
2487:
2484:
2481:
2478:
2474:
2471:
2468:
2465:
2462:
2459:
2456:
2453:
2450:
2447:
2443:
2440:
2437:
2434:
2431:
2428:
2425:
2422:
2419:
2416:
2413:
2410:
2407:
2404:
2401:
2397:
2394:
2391:
2388:
2385:
2382:
2379:
2375:
2372:
2369:
2366:
2363:
2360:
2357:
2354:
2350:
2346:
2343:
2339:
2336:
2333:
2329:
2326:
2322:
2319:
2316:
2313:
2310:
2307:
2304:
2301:
2298:
2295:
2292:
2288:
2285:
2282:
2279:
2276:
2273:
2269:
2266:
2262:
2259:
2255:
2252:
2248:
2245:
2241:
2238:
2234:
2231:
2227:
2224:
2220:
2217:
2214:
2211:
2208:
2205:
2202:
2199:
2196:
2193:
2189:
2186:
2183:
2180:
2177:
2174:
2171:
2167:
2165:'other'
2164:
2161:
2158:
2155:
2152:
2149:
2146:
2143:
2140:
2137:
2133:
2130:
2126:
2123:
2120:
2117:
2114:
2111:
2108:
2105:
2101:
2097:
2094:
2090:
2087:
2084:
2081:
2078:
2075:
2071:
2068:
2065:
2062:
2059:
2056:
2053:
2050:
2047:
2044:
2041:
2037:
2034:
2030:
2027:
2023:
2020:
2017:
2014:
2010:
2007:
2003:
2000:
1996:
1993:
1990:
1987:
1984:
1981:
1977:
1974:
1970:
1967:
1963:
1960:
1957:
1954:
1950:
1947:
1943:
1940:
1937:
1934:
1931:
1928:
1925:
1922:
1919:
1916:
1913:
1910:
1906:
1903:
1900:
1897:
1894:
1891:
1888:
1884:
1881:
1877:
1874:
1870:
1867:
1864:
1861:
1858:
1855:
1851:
1848:
1845:
1842:
1838:
1835:
1832:
1829:
1826:
1823:
1820:
1817:
1814:
1811:
1807:
1804:
1800:
1797:
1793:
1790:
1787:
1784:
1780:
1777:
1773:
1770:
1767:
1764:
1761:
1758:
1755:
1752:
1749:
1746:
1742:
1739:
1736:
1733:
1730:
1727:
1724:
1721:
1718:
1715:
1712:
1709:
1706:
1702:
1699:
1695:
1692:
1689:
1686:
1682:
1679:
1676:
1672:
1669:
1666:
1663:
1660:
1657:
1654:
1651:
1648:
1645:
1642:
1639:
1635:
1632:
1628:
1625:
1622:
1619:
1615:
1612:
1609:
1606:
1603:
1600:
1596:
1593:
1590:
1587:
1584:
1581:
1578:
1575:
1572:
1569:
1566:
1563:
1559:
1556:
1552:
1549:
1546:
1543:
1539:
1536:
1533:
1530:
1527:
1524:
1520:
1517:
1514:
1511:
1508:
1505:
1502:
1499:
1496:
1493:
1490:
1487:
1483:
1480:
1476:
1473:
1470:
1467:
1464:
1461:
1458:
1454:
1450:
1447:
1443:
1440:
1437:
1433:
1430:
1427:
1424:
1421:
1418:
1414:
1411:
1407:
1403:
1400:
1396:
1393:
1389:
1387:getCurrentTitle
1386:
1383:
1380:
1377:
1374:
1371:
1368:
1364:
1361:
1357:
1354:
1350:
1347:
1344:
1340:
1337:
1333:
1330:
1327:
1323:
1320:
1317:
1314:
1310:
1307:
1304:
1301:
1298:
1295:
1292:
1289:
1286:
1283:
1280:
1277:
1274:
1271:
1268:
1265:
1261:
1258:
1255:
1252:
1248:
1245:
1241:
1238:
1234:
1231:
1228:
1225:
1222:
1219:
1216:
1213:
1209:
1205:
1202:
1198:
1195:
1192:
1188:
1185:
1181:
1178:
1174:
1171:
1168:
1164:
1161:
1158:
1155:
1152:
1149:
1145:
1142:
1139:
1136:
1133:
1130:
1127:
1124:
1121:
1118:
1115:
1111:
1108:
1104:
1101:
1097:
1094:
1091:
1088:
1085:
1082:
1079:
1076:
1073:
1069:
1065:
1062:
1058:
1055:
1052:
1048:
1045:
1041:
1038:
1034:
1031:
1028:
1024:
1021:
1018:
1015:
1012:
1009:
1005:
1002:
999:
996:
993:
989:
986:
983:
980:
977:
974:
971:
968:
965:
962:
959:
955:
952:
948:
945:
941:
938:
935:
932:
929:
926:
923:
920:
917:
913:
909:
906:
903:
900:
897:
893:
889:
886:
883:
880:
877:
874:
871:
868:
865:
861:
858:
855:
852:
848:
845:
842:
839:
835:
832:
829:
826:
823:
820:
817:
814:
810:
806:
803:
800:
797:
794:
791:
788:
784:
781:
778:
775:
772:
769:
766:
762:
759:
756:
753:
750:
747:
744:
740:
737:
734:
731:
728:
725:
722:
719:
716:
713:
709:
705:
702:
698:
695:
691:
688:
684:
681:
677:
674:
670:
667:
663:
660:
656:
653:
649:
646:
642:
639:
635:
632:
628:
625:
621:
618:
614:
611:
607:
604:
601:
600:
590:
578:
563:
558:
547:
532:
520:
508:
496:
486:
473:
464:
455:
446:
437:
428:
419:
412:
407:
398:
391:
386:
379:
375:
370:
361:
352:
336:
262:
257:
254:
245:
239:
224:
174:
148:This module is
142:
115:
113:
99:
93:
74:
68:
66:
49:
30:
22:
21:
20:
12:
11:
5:
3565:
3563:
3555:
3554:
3544:
3543:
3006:'talk'
1964:'talk'
603:
519:
516:
507:
504:
490:
485:
484:Table function
482:
479:
478:
476:
470:
469:
467:
461:
460:
458:
452:
451:
449:
443:
442:
440:
434:
433:
431:
425:
424:
422:
416:
415:
410:
404:
403:
401:
395:
394:
389:
383:
382:
373:
367:
366:
364:
358:
357:
355:
349:
348:
345:
335:
332:
331:
330:
324:
314:
308:
298:
275:
269:
261:
258:
255:
253:
250:
226:
225:
223:
222:
212:
202:
192:
181:
178:
166:
165:
146:
134:
133:
126:module sandbox
103:
65:
64:
60:
59:
38:module sandbox
34:
23:
15:
14:
13:
10:
9:
6:
4:
3:
2:
3564:
3553:
3550:
3549:
3547:
3531:
3527:
3520:
3510:
3494:
3469:
3462:
3455:
3448:
3417:
3410:
3379:
3360:
3344:
3316:
3291:
3272:
3238:
3204:
3199:aliasesHeader
3182:
3160:
3144:
3128:
3121:
3117:
3089:
3082:
3075:
3062:
3043:
3036:
3014:
2989:
2955:
2939:
2932:
2928:
2896:aliasesHeader
2891:
2854:
2847:
2840:
2830:
2823:
2813:
2785:
2757:
2750:
2746:
2712:
2681:
2650:
2628:
2600:
2578:
2571:
2567:
2560:
2553:
2546:
2539:
2532:
2507:
2503:
2496:
2480:
2449:
2403:
2381:
2356:
2352:
2345:
2335:
2328:
2294:
2275:
2268:
2261:
2254:
2247:
2240:
2233:
2226:
2195:
2173:
2139:
2132:
2107:
2103:
2096:
2077:
2043:
2036:
2029:
2016:
2009:
2002:
1983:
1976:
1969:
1956:
1949:
1912:
1890:
1883:
1876:
1857:
1844:
1830:getPageObject
1813:
1806:
1799:
1786:
1779:
1748:
1708:
1701:
1688:
1678:
1641:
1634:
1621:
1602:
1565:
1558:
1545:
1526:
1489:
1482:
1460:
1456:
1449:
1439:
1420:
1413:
1409:
1402:
1395:
1370:
1363:
1356:
1346:
1339:
1329:
1316:
1267:
1254:
1247:
1240:
1226:getPageObject
1215:
1211:
1204:
1194:
1187:
1180:
1170:
1151:
1117:
1110:
1103:
1075:
1071:
1064:
1054:
1047:
1040:
1030:
1011:
995:
961:
954:
947:
919:
915:
899:
895:
867:
854:
841:
816:
812:
790:
768:
746:
715:
711:
704:
697:
690:
683:
676:
669:
662:
655:
648:
641:
634:
627:
620:
613:
606:
598:
594:
586:
582:
577:
571:
567:
562:
555:
551:
545:
541:
537:
536:documentation
531:
529:
525:
517:
515:
513:
505:
503:
495:}}
494:
489:
483:
477:
472:
471:
468:
463:
462:
459:
454:
453:
450:
445:
444:
441:
436:
435:
432:
427:
426:
423:
418:
417:
411:
406:
405:
402:
397:
396:
390:
385:
384:
374:
369:
368:
365:
360:
359:
356:
351:
350:
346:
343:
342:
339:
333:
328:
325:
318:
315:
312:
309:
302:
299:
296:
292:
288:
284:
280:
276:
273:
270:
267:
264:
263:
259:
251:
249:
244:
237:
233:
220:
216:
213:
210:
206:
203:
200:
196:
193:
190:
186:
183:
182:
179:
172:
171:
164:from editing.
163:
159:
155:
151:
147:
140:
139:
131:
127:
123:
119:
111:
107:
104:
97:
96:
90:
86:
82:
78:
57:
53:
47:
43:
39:
35:
28:
27:
19:
2435:removeBlanks
2150:getNamespace
2082:ustringLower
1731:ustringLower
1468:getNamespace
872:ustringLower
560:
521:
509:
497:
492:
487:
337:
326:
316:
310:
300:
286:
282:
278:
271:
265:
246:}}
240:{{
229:
195:Module:Yesno
117:
105:
36:This is the
3097:mTableTools
2580:mTableTools
2069:' '
2063:'_'
859:mTableTools
540:transcluded
528:mw.loadData
158:substituted
87:] [
83:] [
79:] [
3025:namespaces
2902:checkValue
2865:checkValue
2765:checkValue
2623:namespaces
2605:namespaces
2491:''
2414:mArguments
2383:mArguments
2302:fetchValue
2206:fetchValue
1991:pageObject
1932:namespaces
1868:isTalkPage
1862:pageObject
1849:pageObject
1818:pageObject
1768:namespaces
1652:fetchValue
1613:''
1576:fetchValue
1537:''
1500:fetchValue
1334:pageObject
1278:pageObject
1162:arrayValue
1128:arrayValue
927:fetchValue
846:mArguments
534:The above
344:Namespace
260:Parameters
152:. It is a
122:/testcases
52:test cases
2144:namespace
1901:subjectns
1794:demospace
1737:demospace
1693:demospace
1670:subjectns
1646:subjectns
1623:demospace
1607:demospace
1594:demospace
1570:demospace
595:subpage.
576:testcases
465:timedtext
399:mediawiki
371:wikipedia
327:demospace
311:subjectns
279:wikipedia
232:namespace
162:protected
130:talk page
108:, and on
40:page for
3546:Category
3177:nsHeader
2978:mappings
2859:nsHeader
2762:function
2509:function
2358:function
2184:mappings
2109:function
1518:demopage
1465:function
1444:mappings
1422:function
1217:function
1080:function
924:function
807:mappings
795:mappings
732:loadData
429:category
408:template
347:Aliases
317:demopage
118:/sandbox
3505:|}'
3489:|-'
3355:| '
3311:|-'
3193:! '
3171:! '
3155:|-'
2994:useTalk
2835:default
2777:default
2655:useTalk
2586:require
2420:getArgs
2389:require
2314:argKeys
1938:subject
1719:argKeys
1664:argKeys
1588:argKeys
1512:argKeys
1321:success
1272:success
884:ustring
827:require
763:argKeys
751:argKeys
583:|
568:|
561:sandbox
554:history
552:|
376:project
219:sandbox
209:sandbox
199:sandbox
189:sandbox
85:history
3533:return
3512:return
3362:elseif
3261:params
3255:ipairs
3221:ipairs
3215:params
3070:params
3000:nsname
2966:params
2960:nsname
2832:return
2815:return
2482:return
2337:return
2218:params
2178:params
2079:return
2018:return
1997:nsText
1441:return
1372:return
1348:return
1331:return
1196:return
1172:return
1134:ipairs
1056:return
1032:return
978:ipairs
589:pages.
474:module
438:portal
3499:'
3483:'
3437:param
3399:param
3349:'
3333:param
3321:'
3305:'
3249:param
3187:'
3165:'
3149:'
3130:local
3016:local
2972:pairs
2941:local
2893:local
2856:local
2818:value
2796:value
2771:value
2759:local
2723:frame
2717:yesno
2692:frame
2667:frame
2652:local
2630:local
2602:local
2524:frame
2518:table
2466:_main
2451:local
2441:false
2426:frame
2405:local
2373:frame
2320:other
2197:local
2175:local
2141:local
2118:_main
1895:yesno
1815:local
1680:local
1643:local
1567:local
1491:local
1462:local
1381:title
1296:title
1284:pcall
1269:local
1199:false
1156:value
1095:value
1077:local
1035:value
1016:value
1000:value
997:local
921:local
901:local
890:lower
869:local
856:local
843:local
821:yesno
818:local
792:local
770:local
748:local
717:local
542:from
447:draft
392:image
301:other
252:Usage
91:]
89:purge
75:[
16:<
3412:else
3374:then
3286:then
3051:nsid
3045:nsid
3019:nsid
3009:then
2825:else
2808:then
2790:type
2735:talk
2729:args
2698:args
2686:type
2661:type
2639:data
2617:site
2562:--]]
2534:--[[
2472:args
2408:args
2367:main
2308:args
2289:then
2270:--]]
2228:--[[
2212:args
2156:args
2124:args
2057:gsub
2011:else
1978:else
1951:else
1944:name
1926:site
1907:then
1871:then
1852:then
1836:page
1808:else
1781:else
1774:name
1762:site
1743:then
1725:main
1696:then
1658:args
1616:then
1582:args
1547:page
1540:then
1531:page
1506:args
1494:page
1474:args
1365:else
1341:else
1324:then
1308:page
1262:then
1259:page
1232:page
1175:true
1165:then
1025:then
801:data
779:data
757:data
720:data
706:--]]
608:--[[
593:/doc
581:edit
574:and
570:diff
566:edit
550:edit
420:help
387:file
362:user
353:main
293:and
287:file
283:user
272:talk
266:main
81:edit
77:view
46:diff
3522:end
3515:ret
3477:ret
3471:ret
3464:end
3457:end
3450:end
3425:ret
3419:ret
3387:ret
3381:ret
3299:ret
3293:ret
3240:for
3206:for
3133:ret
3084:end
3077:end
2957:for
2908:cfg
2871:cfg
2849:end
2842:end
2714:and
2683:and
2645:cfg
2633:cfg
2498:end
2485:ret
2454:ret
2347:end
2340:ret
2330:end
2296:ret
2286:nil
2280:ret
2200:ret
2098:end
2088:ret
2051:ret
2045:ret
2038:end
2031:end
2021:nil
2004:end
1985:ret
1971:end
1958:ret
1914:ret
1801:end
1788:ret
1750:ret
1683:ret
1636:end
1629:nil
1560:end
1553:nil
1451:end
1404:end
1397:end
1358:end
1351:nil
1302:new
1206:end
1189:end
1182:end
1119:for
1066:end
1059:nil
1049:end
1042:end
1022:nil
972:key
963:for
785:cfg
773:cfg
585:run
538:is
493:yes
456:mos
236:Lua
120:or
56:run
3548::
3502:\n
3496:..
3486:\n
3480:..
3440:..
3434:..
3428:..
3402:..
3396:..
3390:..
3368:==
3352:\n
3346:..
3336:..
3330:..
3324:\n
3318:..
3308:\n
3302:..
3280:==
3274:if
3267:do
3252:in
3233:do
3218:in
3196:..
3190:\n
3184:..
3174:..
3168:\n
3162:..
3152:\n
3146:..
3031:id
3003:~=
2997:or
2991:if
2984:do
2969:in
2950:{}
2802:==
2787:if
2704:==
2673:==
2611:mw
2488:or
2444:})
2283:==
2277:if
2190:{}
2187:or
2162:or
1920:mw
1892:if
1859:if
1846:if
1756:mw
1740:))
1710:if
1690:if
1610:==
1604:if
1534:==
1528:if
1434:()
1390:()
1375:mw
1318:if
1290:mw
1256:if
1159:==
1153:if
1146:do
1131:in
1019:~=
1013:if
1006:t1
990:do
984:t2
975:in
939:t2
933:t1
910:{}
878:mw
726:mw
546:.
502:.
413:tm
380:wp
378:,
285:,
281:,
58:).
48:).
3536:p
3474:=
3422:=
3384:=
3371:2
3365:j
3296:=
3283:1
3277:j
3264:)
3258:(
3246:,
3243:j
3230:)
3224:(
3212:,
3209:i
3136:=
3112:)
3106:(
3100:.
3094:=
3067:=
3057:1
3054:+
3048:=
3028:.
3022:=
2981:)
2975:(
2963:,
2947:=
2923:)
2917:,
2911:.
2905:(
2899:=
2886:)
2880:,
2874:.
2868:(
2862:=
2799:)
2793:(
2780:)
2774:,
2768:(
2738:)
2732:.
2726:.
2720:(
2701:)
2695:.
2689:(
2670:)
2664:(
2658:=
2642:.
2636:=
2620:.
2614:.
2608:=
2595:)
2589:(
2583:=
2527:)
2521:(
2515:.
2512:p
2475:)
2469:(
2463:.
2460:p
2457:=
2438:=
2432:{
2429:,
2423:(
2417:.
2411:=
2398:)
2392:(
2386:=
2376:)
2370:(
2364:.
2361:p
2323:)
2317:.
2311:,
2305:(
2299:=
2221:)
2215:,
2209:(
2203:=
2181:=
2159:)
2153:(
2147:=
2127:)
2121:(
2115:.
2112:p
2091:)
2085:(
2072:)
2066:,
2060:(
2054::
2048:=
1994:.
1988:=
1961:=
1941:.
1935:.
1929:.
1923:.
1917:=
1904:)
1898:(
1865:.
1839:)
1833:(
1827:.
1824:p
1821:=
1791:=
1771:.
1765:.
1759:.
1753:=
1734:(
1728:,
1722:.
1716:(
1673:)
1667:.
1661:,
1655:(
1649:=
1626:=
1597:)
1591:.
1585:,
1579:(
1573:=
1550:=
1521:)
1515:.
1509:,
1503:(
1497:=
1477:)
1471:(
1428:.
1425:p
1384:.
1378:.
1311:)
1305:,
1299:.
1293:.
1287:(
1281:=
1275:,
1235:)
1229:(
1223:.
1220:p
1143:)
1140:t
1137:(
1125:,
1122:i
1098:)
1092:,
1089:t
1086:(
1003:=
987:)
981:(
969:,
966:i
942:)
936:,
930:(
907:=
904:p
887:.
881:.
875:=
836:)
830:(
824:=
804:.
798:=
782:.
776:=
760:.
754:=
741:)
735:(
729:.
723:=
599:.
587:)
579:(
572:)
564:(
556:)
548:(
221:)
217:(
211:)
207:(
201:)
197:(
191:)
187:(
112:.
54:(
44:(
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.