<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.linked.earth/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AError</id>
		<title>Module:Error - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.linked.earth/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AError"/>
		<link rel="alternate" type="text/html" href="https://wiki.linked.earth/wiki/index.php?title=Module:Error&amp;action=history"/>
		<updated>2026-04-17T11:35:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>https://wiki.linked.earth/wiki/index.php?title=Module:Error&amp;diff=8904&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;-- This module implements {{error}}.  local p = {}  local function _error(args)     local tag = mw.ustring.lower(tostring(args.tag))      -- Work out what html tag we should u...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.linked.earth/wiki/index.php?title=Module:Error&amp;diff=8904&amp;oldid=prev"/>
				<updated>2016-09-20T13:12:09Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- This module implements {{error}}.  local p = {}  local function _error(args)     local tag = mw.ustring.lower(tostring(args.tag))      -- Work out what html tag we should u...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{error}}.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function _error(args)&lt;br /&gt;
    local tag = mw.ustring.lower(tostring(args.tag))&lt;br /&gt;
&lt;br /&gt;
    -- Work out what html tag we should use.&lt;br /&gt;
    if not (tag == 'p' or tag == 'span' or tag == 'div') then&lt;br /&gt;
        tag = 'strong'&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    -- Generate the html.&lt;br /&gt;
    return tostring(mw.html.create(tag)&lt;br /&gt;
        :addClass('error')&lt;br /&gt;
        :wikitext(tostring(args.message or args[1] or error('no message specified', 2)))&lt;br /&gt;
    )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.error(frame)&lt;br /&gt;
    local args&lt;br /&gt;
    if type(frame.args) == 'table' then&lt;br /&gt;
        -- We're being called via #invoke. The args are passed through to the module&lt;br /&gt;
        -- from the template page, so use the args that were passed into the template.&lt;br /&gt;
        args = frame.args&lt;br /&gt;
    else&lt;br /&gt;
        -- We're being called from another module or from the debug console, so assume&lt;br /&gt;
        -- the args are passed in directly.&lt;br /&gt;
        args = frame&lt;br /&gt;
    end&lt;br /&gt;
    -- if the message parameter is present but blank, change it to nil so that Lua will&lt;br /&gt;
    -- consider it false.&lt;br /&gt;
    if args.message == &amp;quot;&amp;quot; then&lt;br /&gt;
        args.message = nil&lt;br /&gt;
    end&lt;br /&gt;
    return _error(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>