<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.hackslashmine.net/hsmwiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.hackslashmine.net/hsmwiki/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="http://www.hackslashmine.net/hsmwiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AError"/>
		<link rel="alternate" type="text/html" href="http://www.hackslashmine.net/hsmwiki/index.php?title=Module:Error&amp;action=history"/>
		<updated>2026-07-04T06:43:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://www.hackslashmine.net/hsmwiki/index.php?title=Module:Error&amp;diff=1198&amp;oldid=prev</id>
		<title>Frizzil: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.hackslashmine.net/hsmwiki/index.php?title=Module:Error&amp;diff=1198&amp;oldid=prev"/>
				<updated>2013-06-14T21:01:24Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:01, 14 June 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Frizzil</name></author>	</entry>

	<entry>
		<id>http://www.hackslashmine.net/hsmwiki/index.php?title=Module:Error&amp;diff=1197&amp;oldid=prev</id>
		<title>Mr. Stradivarius: Protected Module:Error: Highly visible template or Lua module ([Edit=Block all non-admin users] (indefinite) [Move=Block all non-admin users] (indefinite))</title>
		<link rel="alternate" type="text/html" href="http://www.hackslashmine.net/hsmwiki/index.php?title=Module:Error&amp;diff=1197&amp;oldid=prev"/>
				<updated>2013-04-04T13:33:47Z</updated>
		
		<summary type="html">&lt;p&gt;Protected Module:Error: &lt;a href=&quot;/hsmwiki/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (page does not exist)&quot;&gt;Highly visible template or Lua module&lt;/a&gt; ([Edit=Block all non-admin users] (indefinite) [Move=Block all non-admin users] (indefinite))&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 HtmlBuilder = require('Module:HtmlBuilder')&lt;br /&gt;
&lt;br /&gt;
local function _error(args)&lt;br /&gt;
    local message = args.message or args[1] or error('no message specified', 2)&lt;br /&gt;
    message = tostring(message)&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;
    local root = HtmlBuilder.create(tag)&lt;br /&gt;
    root&lt;br /&gt;
        .addClass('error')&lt;br /&gt;
        .wikitext(message)&lt;br /&gt;
&lt;br /&gt;
    return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.error(frame)&lt;br /&gt;
    local args&lt;br /&gt;
    if frame == mw.getCurrentFrame() 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>Mr. Stradivarius</name></author>	</entry>

	</feed>