<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://kaze.wiki/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3APlain_text</id>
	<title>モジュール:Plain text - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://kaze.wiki/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3APlain_text"/>
	<link rel="alternate" type="text/html" href="https://kaze.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Plain_text&amp;action=history"/>
	<updated>2026-04-03T18:26:18Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://kaze.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Plain_text&amp;diff=15617&amp;oldid=prev</id>
		<title>K: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://kaze.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Plain_text&amp;diff=15617&amp;oldid=prev"/>
		<updated>2022-08-27T17:39:47Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&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;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2022年8月28日 (日) 02:39時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>K</name></author>
	</entry>
	<entry>
		<id>https://kaze.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Plain_text&amp;diff=15616&amp;oldid=prev</id>
		<title>ja&gt;ネイ: :en:Module:Plain text oldid=879444461 より</title>
		<link rel="alternate" type="text/html" href="https://kaze.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Plain_text&amp;diff=15616&amp;oldid=prev"/>
		<updated>2019-03-25T06:31:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=En:Module:Plain_text&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;En:Module:Plain text (存在しないページ)&quot;&gt;en:Module:Plain text&lt;/a&gt; oldid=879444461 より&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--converts text with wikilinks to plain text, e.g &amp;quot;[[foo|gah]] is [[bar]]&amp;quot; to &amp;quot;gah is bar&amp;quot;&lt;br /&gt;
--removes anything enclosed in tags that isn&amp;#039;t nested, mediawiki strip markers (references etc), files, italic and bold markup&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local text = frame.args[1]&lt;br /&gt;
	return p._main(text)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(text)&lt;br /&gt;
	if not text then return end&lt;br /&gt;
	text = mw.text.killMarkers(text)&lt;br /&gt;
		:gsub(&amp;#039;&amp;amp;nbsp;&amp;#039;, &amp;#039; &amp;#039;) --replace nbsp spaces with regular spaces&lt;br /&gt;
		:gsub(&amp;#039;&amp;lt;br ?/?&amp;gt;&amp;#039;, &amp;#039;、&amp;#039;) --replace br with commas - 日本語版独自：コンマ(,)ではなく読点（、）とする&lt;br /&gt;
		:gsub(&amp;#039;&amp;lt;span.-&amp;gt;(.-)&amp;lt;/span&amp;gt;&amp;#039;, &amp;#039;%1&amp;#039;) --remove spans while keeping text inside&lt;br /&gt;
		:gsub(&amp;#039;&amp;lt;i.-&amp;gt;(.-)&amp;lt;/i&amp;gt;&amp;#039;, &amp;#039;%1&amp;#039;) --remove italics while keeping text inside&lt;br /&gt;
		:gsub(&amp;#039;&amp;lt;.-&amp;gt;.-&amp;lt;.-&amp;gt;&amp;#039;, &amp;#039;&amp;#039;) --strip out remaining tags and the text inside&lt;br /&gt;
		:gsub(&amp;#039;&amp;lt;.-&amp;gt;&amp;#039;, &amp;#039;&amp;#039;) --remove any other tag markup&lt;br /&gt;
		:gsub(&amp;#039;%[%[%s*[Ff]ile%s*:.-%]%]&amp;#039;, &amp;#039;&amp;#039;) --strip out files&lt;br /&gt;
		:gsub(&amp;#039;%[%[%s*[Ii]mage%s*:.-%]%]&amp;#039;, &amp;#039;&amp;#039;) --strip out use of image:&lt;br /&gt;
		:gsub(&amp;#039;%[%[%s*[Cc]ategory%s*:.-%]%]&amp;#039;, &amp;#039;&amp;#039;) --strip out categories&lt;br /&gt;
		:gsub(&amp;#039;%[%[[^%]]-|&amp;#039;, &amp;#039;&amp;#039;) --strip out piped link text&lt;br /&gt;
		:gsub(&amp;#039;[%[%]]&amp;#039;, &amp;#039;&amp;#039;) --then strip out remaining [ and ]&lt;br /&gt;
		:gsub(&amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;quot;, &amp;quot;&amp;quot;) --strip out bold italic markup&lt;br /&gt;
		:gsub(&amp;quot;&amp;#039;&amp;#039;&amp;#039;?&amp;quot;, &amp;quot;&amp;quot;) --not stripping out &amp;#039;&amp;#039;&amp;#039;&amp;#039; gives correct output for bolded text in quotes&lt;br /&gt;
		:gsub(&amp;#039;----&amp;#039;, &amp;#039;&amp;#039;) --remove ---- lines&lt;br /&gt;
		:gsub(&amp;quot;^%s+&amp;quot;, &amp;quot;&amp;quot;) --strip leading&lt;br /&gt;
		:gsub(&amp;quot;%s+$&amp;quot;, &amp;quot;&amp;quot;) --and trailing spaces&lt;br /&gt;
		:gsub(&amp;quot;%s+&amp;quot;, &amp;quot; &amp;quot;) --strip redundant spaces&lt;br /&gt;
	return text&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>ja&gt;ネイ</name></author>
	</entry>
</feed>