Jump to content

Module:Citation/CS1: Difference between revisions

error trapping of empty citations
m>Dragons flight
(should be unneccesary now)
m>Dragons flight
(error trapping of empty citations)
Line 1,021: Line 1,021:
         args.id = id;
         args.id = id;
     end
     end
   
    if string.length(text) < 2 then
        text = '<span class="error">Citation is empty</span>';
    end
   
     text = z.mw.text.tag({name="span", contents=text, params=args})
     text = z.mw.text.tag({name="span", contents=text, params=args})


Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.