<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="yi">
	<id>https://yi.hamichlol.org.il/w/index.php?action=history&amp;feed=atom&amp;title=%D7%99%D7%97%D7%99%D7%93%D7%94%3AISBN</id>
	<title>יחידה:ISBN - ווערסיע היסטאריע</title>
	<link rel="self" type="application/atom+xml" href="https://yi.hamichlol.org.il/w/index.php?action=history&amp;feed=atom&amp;title=%D7%99%D7%97%D7%99%D7%93%D7%94%3AISBN"/>
	<link rel="alternate" type="text/html" href="https://yi.hamichlol.org.il/w/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:ISBN&amp;action=history"/>
	<updated>2026-05-06T04:58:11Z</updated>
	<subtitle>ווערסיע היסטאריע פאר דעם בלאט אויפן וויקי</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://yi.hamichlol.org.il/w/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:ISBN&amp;diff=82278&amp;oldid=prev</id>
		<title>שרגא: 1 רעוויזיע אימפארטירט: אימפארטירט פון די יידישע וויקיפעדיע, זע ביישטייערער ליסטע</title>
		<link rel="alternate" type="text/html" href="https://yi.hamichlol.org.il/w/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:ISBN&amp;diff=82278&amp;oldid=prev"/>
		<updated>2022-11-24T13:54:38Z</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;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;yi&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;→ עלטערע  ווערסיע&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;רעוויזיע פון 13:54, 24 נאוועמבער 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key hamichlol_main_yi-mw_:diff::1.12:old-82277:rev-82278 --&gt;
&lt;/table&gt;</summary>
		<author><name>שרגא</name></author>
	</entry>
	<entry>
		<id>https://yi.hamichlol.org.il/w/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:ISBN&amp;diff=82277&amp;oldid=prev</id>
		<title>yi&gt;Hasley: rv</title>
		<link rel="alternate" type="text/html" href="https://yi.hamichlol.org.il/w/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:ISBN&amp;diff=82277&amp;oldid=prev"/>
		<updated>2022-04-13T12:21:53Z</updated>

		<summary type="html">&lt;p&gt;rv&lt;/p&gt;
&lt;p&gt;&lt;b&gt;נייער בלאַט&lt;/b&gt;&lt;/p&gt;&lt;div&gt;function checkisbn( frame )&lt;br /&gt;
	local isbn_str = frame.args[1]&lt;br /&gt;
	if nil ~= isbn_str:match(&amp;quot;[^%s-0-9X]&amp;quot;) then&lt;br /&gt;
		return false&lt;br /&gt;
	end		-- fail if isbn_str contains anything but digits, hyphens, or the uppercase X&lt;br /&gt;
	isbn_str = isbn_str:gsub( &amp;quot;-&amp;quot;, &amp;quot;&amp;quot; ):gsub( &amp;quot; &amp;quot;, &amp;quot;&amp;quot; );	-- remove hyphens and spaces&lt;br /&gt;
	local len = isbn_str:len();&lt;br /&gt;
 &lt;br /&gt;
	if len ~= 10 and len ~= 13 then&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if len == 10 then&lt;br /&gt;
		if isbn_str:match( &amp;quot;^%d*X?$&amp;quot; ) == nil then&lt;br /&gt;
			return false&lt;br /&gt;
		end&lt;br /&gt;
		return is_valid_isbn(isbn_str, 10)&lt;br /&gt;
	else&lt;br /&gt;
		local temp = 0&lt;br /&gt;
		if isbn_str:match( &amp;quot;^97[89]%d*$&amp;quot; ) == nil&lt;br /&gt;
			then return false&lt;br /&gt;
		end	-- isbn13 begins with 978 or 979&lt;br /&gt;
		isbn_str = { isbn_str:byte(1, len) }&lt;br /&gt;
		for i, v in ipairs( isbn_str ) do&lt;br /&gt;
			temp = temp + (3 - 2*(i % 2)) * tonumber( string.char(v) )&lt;br /&gt;
		end&lt;br /&gt;
		return temp % 10 == 0&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function is_valid_isbn (isxn_str, len)&lt;br /&gt;
	local temp = 0&lt;br /&gt;
	isxn_str = { isxn_str:byte(1, len) }	-- make a table of bytes&lt;br /&gt;
	len = len + 1;							-- adjust to be a loop counter&lt;br /&gt;
	for i, v in ipairs( isxn_str ) do		-- loop through all of the bytes and calculate the checksum&lt;br /&gt;
		if v == string.byte( &amp;quot;X&amp;quot; ) then		-- if checkdigit is X&lt;br /&gt;
			temp = temp + 10*( len - i )	-- it represents 10 decimal&lt;br /&gt;
		else&lt;br /&gt;
			temp = temp + tonumber( string.char(v) ) * (len - i)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return temp % 11 == 0					-- returns true if calculation result is zero&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function pmid(frame)&lt;br /&gt;
	return check(frame.args[1], 30000000)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function rfc(frame)&lt;br /&gt;
	return check(frame.args[1], 10000)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function check(id, test_limit)&lt;br /&gt;
	if id:match(&amp;quot;[^%d]&amp;quot;) then							-- if id has anything but digits&lt;br /&gt;
		return false&lt;br /&gt;
	else&lt;br /&gt;
		local id_num = tonumber(id)						-- convert id to a number for range testing&lt;br /&gt;
		if 1 &amp;gt; id_num or test_limit &amp;lt; id_num then		-- if id is outside test limit boundaries&lt;br /&gt;
			return false&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return true&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- The code taken from Module:Citation/CS1 and changed&lt;br /&gt;
&lt;br /&gt;
return {isbn = checkisbn, pmid = pmid, rfc = rfc}&lt;/div&gt;</summary>
		<author><name>yi&gt;Hasley</name></author>
	</entry>
</feed>