21:
90:
52:
800:
96:
107:
very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is
194:
179:
167:
36:
149:
205:
163:
32:
100:
805:
108:
198:
40:
127:. It creates an html message with class "error". Please, see the documentation page there for usage instructions.
104:
189:
68:
174:
64:
153:
141:
76:
157:
28:
136:
121:
72:
794:
687:-- if the message parameter is present but blank, change it to nil so that Lua will
653:-- We're being called from another module or from the debug console, so assume
613:-- We're being called via #invoke. The args are passed through to the module
620:-- from the template page, so use the args that were passed into the template.
59:
15:
63:
and changes may be widely noticed. Test changes in the module's
84:
46:
183:
103:in use by a very large number of pages, or is
8:
325:-- Work out what html tag we should use.
173:Editors can experiment in this module's
75:. Consider discussing changes on the
7:
219:-- This module implements {{error}}.
660:-- the args are passed in directly.
801:Modules subject to page protection
14:
88:
50:
19:
60:approximately 49,000 pages
510:'no message specified'
1:
58:This Lua module is used on
822:
147:
97:subject to page protection
779:
775:
768:
749:
742:
723:
698:
691:
684:
677:
664:
657:
650:
643:
624:
617:
610:
576:
566:
541:
537:
530:
523:
468:
449:
412:
405:
401:
394:
381:
79:before implementing them.
71:subpages, or in your own
329:
322:
318:
269:
247:
243:
227:
223:
216:
213:
206:Subpages of this module
117:This module implements
806:Error-handling modules
694:-- consider it false.
408:-- Generate the html.
101:highly visible module
24:Module documentation
142:Module:If preview
115:
114:
83:
82:
813:
787:
786:
783:
777:
773:
772:
766:
765:
762:
759:
756:
753:
747:
746:
740:
739:
736:
733:
730:
727:
721:
720:
717:
714:
711:
708:
705:
702:
696:
695:
689:
688:
682:
681:
675:
674:
671:
668:
662:
661:
655:
654:
648:
647:
641:
640:
637:
634:
631:
628:
622:
621:
615:
614:
608:
607:
604:
601:
598:
595:
592:
589:
586:
583:
580:
574:
573:
570:
564:
563:
560:
557:
554:
551:
548:
545:
539:
535:
534:
528:
527:
521:
520:
517:
514:
511:
508:
505:
502:
499:
496:
493:
490:
487:
484:
481:
478:
475:
472:
466:
465:
462:
459:
456:
453:
447:
446:
443:
440:
437:
434:
431:
428:
425:
422:
419:
416:
410:
409:
403:
399:
398:
392:
391:
390:'strong'
388:
385:
379:
378:
375:
372:
369:
366:
363:
360:
357:
354:
351:
348:
345:
342:
339:
336:
333:
327:
326:
320:
316:
315:
312:
309:
306:
303:
300:
297:
294:
291:
288:
285:
282:
279:
276:
273:
267:
266:
263:
260:
257:
254:
251:
245:
241:
240:
237:
234:
231:
225:
221:
220:
202:
187:
171:
158:Module:Error/doc
126:
120:
92:
91:
85:
54:
53:
47:
44:
25:
23:
22:
821:
820:
816:
815:
814:
812:
811:
810:
791:
790:
789:
788:
784:
781:
778:
774:
770:
767:
763:
760:
757:
754:
751:
748:
744:
741:
737:
734:
731:
728:
725:
722:
718:
715:
712:
709:
706:
703:
700:
697:
693:
690:
686:
683:
679:
676:
672:
669:
666:
663:
659:
656:
652:
649:
645:
642:
638:
635:
632:
629:
626:
623:
619:
616:
612:
609:
605:
603:'table'
602:
599:
596:
593:
590:
587:
584:
581:
578:
575:
571:
568:
565:
561:
558:
555:
552:
549:
546:
543:
540:
536:
532:
529:
525:
522:
518:
515:
512:
509:
506:
503:
500:
497:
494:
491:
488:
485:
482:
479:
476:
473:
470:
467:
463:
461:'error'
460:
457:
454:
451:
448:
444:
441:
438:
435:
432:
429:
426:
423:
420:
417:
414:
411:
407:
404:
400:
396:
393:
389:
386:
383:
380:
376:
373:
370:
367:
364:
361:
358:
355:
352:
349:
346:
343:
340:
337:
334:
331:
328:
324:
321:
317:
313:
310:
307:
304:
301:
298:
295:
292:
289:
286:
283:
280:
277:
274:
271:
268:
264:
261:
258:
255:
252:
249:
246:
242:
238:
235:
232:
229:
226:
222:
218:
215:
210:
209:
204:
192:
177:
172:
161:
146:
133:
124:
118:
95:This module is
89:
51:
45:
26:
20:
18:
12:
11:
5:
819:
817:
809:
808:
803:
793:
792:
359:'span'
214:
145:
144:
139:
137:Module:Warning
132:
129:
113:
112:
93:
81:
80:
73:module sandbox
55:
17:
16:
13:
10:
9:
6:
4:
3:
2:
818:
807:
804:
802:
799:
798:
796:
780:
776:
769:
750:
743:
724:
699:
692:
685:
678:
665:
658:
651:
644:
625:
618:
611:
577:
567:
542:
538:
531:
524:
469:
450:
413:
406:
402:
395:
382:
371:'div'
330:
323:
319:
270:
248:
244:
228:
224:
217:
212:
207:
200:
196:
191:
185:
181:
176:
169:
165:
159:
155:
151:
150:documentation
143:
140:
138:
135:
134:
130:
128:
123:
111:from editing.
110:
106:
102:
98:
94:
87:
86:
78:
74:
70:
66:
62:
61:
56:
49:
48:
42:
38:
34:
30:
716:""
211:
125:}}
119:{{
116:
57:
347:'p'
154:transcluded
105:substituted
39:] [
35:] [
31:] [
795:Categories
148:The above
99:. It is a
69:/testcases
190:testcases
109:protected
77:talk page
544:function
480:tostring
474:wikitext
455:addClass
418:tostring
299:tostring
253:function
131:See also
65:/sandbox
732:message
710:message
492:message
287:ustring
197:|
182:|
175:sandbox
168:history
166:|
37:history
782:return
755:_error
752:return
436:create
415:return
256:_error
203:pages.
673:frame
633:frame
588:frame
569:local
559:frame
553:error
504:error
293:lower
272:local
250:local
230:local
156:from
122:Error
43:]
41:purge
27:[
761:args
726:args
719:then
704:args
667:args
646:else
639:args
627:args
606:then
594:args
582:type
572:args
498:args
486:args
430:html
377:then
305:args
262:args
195:edit
188:and
184:diff
180:edit
164:edit
33:edit
29:view
771:end
745:end
738:nil
680:end
533:end
519:)))
442:tag
397:end
384:tag
365:tag
353:tag
341:tag
335:not
311:tag
275:tag
199:run
152:is
67:or
797::
713:==
701:if
600:==
579:if
501:or
495:or
424:mw
368:==
362:or
356:==
350:or
344:==
332:if
314:))
281:mw
239:{}
160:.
785:p
764:)
758:(
735:=
729:.
707:.
670:=
636:.
630:=
597:)
591:.
585:(
562:)
556:(
550:.
547:p
526:)
516:2
513:,
507:(
489:.
483:(
477:(
471::
464:)
458:(
452::
445:)
439:(
433:.
427:.
421:(
387:=
374:)
338:(
308:.
302:(
296:(
290:.
284:.
278:=
265:)
259:(
236:=
233:p
208:.
201:)
193:(
186:)
178:(
170:)
162:(
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.