<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mineinabyss.com/w/Module:Text/history?feed=atom</id>
	<title>Module:Text - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mineinabyss.com/w/Module:Text/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/w/Module:Text/history"/>
	<updated>2026-04-08T23:37:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.mineinabyss.com/index.php?title=Module:Text&amp;diff=631&amp;oldid=prev</id>
		<title>Scyu: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/index.php?title=Module:Text&amp;diff=631&amp;oldid=prev"/>
		<updated>2024-10-11T14:43:53Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:43, 11 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Scyu</name></author>
	</entry>
	<entry>
		<id>https://wiki.mineinabyss.com/index.php?title=Module:Text&amp;diff=630&amp;oldid=prev</id>
		<title>minecraft&gt;Unavailablehoax: update p.trim (https://phabricator.wikimedia.org/rELUAb3f55c05e963d9f36f092bba6d0a9deb9e468265), update source link</title>
		<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/index.php?title=Module:Text&amp;diff=630&amp;oldid=prev"/>
		<updated>2023-11-21T22:46:54Z</updated>

		<summary type="html">&lt;p&gt;update p.trim (https://phabricator.wikimedia.org/rELUAb3f55c05e963d9f36f092bba6d0a9deb9e468265), update source link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Source: https://phabricator.wikimedia.org/diffusion/ELUA/browse/master/includes/Engines/LuaCommon/lualib/mw.text.lua&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.gsplit( text, pattern, plain )&lt;br /&gt;
  local s, l = 1, text:len()&lt;br /&gt;
  return function ()&lt;br /&gt;
    if s then&lt;br /&gt;
      local e, n = text:find( pattern, s, plain )&lt;br /&gt;
      local ret&lt;br /&gt;
      if not e then&lt;br /&gt;
        ret = text:sub( s )&lt;br /&gt;
        s = nil&lt;br /&gt;
      elseif n &amp;lt; e then&lt;br /&gt;
        -- Empty separator!&lt;br /&gt;
        ret = text:sub( s, e )&lt;br /&gt;
        if e &amp;lt; l then&lt;br /&gt;
          s = e + 1&lt;br /&gt;
        else&lt;br /&gt;
          s = nil&lt;br /&gt;
        end&lt;br /&gt;
      else&lt;br /&gt;
        ret = e &amp;gt; s and text:sub( s, e - 1 ) or &amp;#039;&amp;#039;&lt;br /&gt;
        s = n + 1&lt;br /&gt;
      end&lt;br /&gt;
      return ret&lt;br /&gt;
    end&lt;br /&gt;
  end, nil, nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.split( text, pattern, plain )&lt;br /&gt;
  local ret = {}&lt;br /&gt;
  for m in p.gsplit( text, pattern, plain ) do&lt;br /&gt;
    ret[#ret+1] = m&lt;br /&gt;
  end&lt;br /&gt;
  return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.trim( s, charset )&lt;br /&gt;
  if not charset then&lt;br /&gt;
    return string.match( s, &amp;#039;^()%s*$&amp;#039; ) and &amp;#039;&amp;#039; or string.match( s, &amp;#039;^%s*(.*%S)&amp;#039; )&lt;br /&gt;
  else&lt;br /&gt;
    return ( string.gsub( s, &amp;#039;^[&amp;#039; .. charset .. &amp;#039;]*(.-)[&amp;#039; .. charset .. &amp;#039;]*$&amp;#039;, &amp;#039;%1&amp;#039; ) )&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>minecraft&gt;Unavailablehoax</name></author>
	</entry>
</feed>