<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="he">
	<id>https://chabadpedia.co.il/index.php?action=history&amp;feed=atom&amp;title=%D7%99%D7%97%D7%99%D7%93%D7%94%3A%D7%93%D7%99%D7%95%D7%95%D7%97_%D7%9E%D7%A6%D7%91</id>
	<title>יחידה:דיווח מצב - היסטוריית גרסאות</title>
	<link rel="self" type="application/atom+xml" href="https://chabadpedia.co.il/index.php?action=history&amp;feed=atom&amp;title=%D7%99%D7%97%D7%99%D7%93%D7%94%3A%D7%93%D7%99%D7%95%D7%95%D7%97_%D7%9E%D7%A6%D7%91"/>
	<link rel="alternate" type="text/html" href="https://chabadpedia.co.il/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%93%D7%99%D7%95%D7%95%D7%97_%D7%9E%D7%A6%D7%91&amp;action=history"/>
	<updated>2026-04-12T05:12:04Z</updated>
	<subtitle>היסטוריית הגרסאות של הדף הזה בוויקי</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://chabadpedia.co.il/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%93%D7%99%D7%95%D7%95%D7%97_%D7%9E%D7%A6%D7%91&amp;diff=811596&amp;oldid=prev</id>
		<title>מ. רובין ב־16:46, 26 בנובמבר 2025</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.co.il/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%93%D7%99%D7%95%D7%95%D7%97_%D7%9E%D7%A6%D7%91&amp;diff=811596&amp;oldid=prev"/>
		<updated>2025-11-26T16:46:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://chabadpedia.co.il/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%93%D7%99%D7%95%D7%95%D7%97_%D7%9E%D7%A6%D7%91&amp;amp;diff=811596&amp;amp;oldid=804615&quot;&gt;הצגת שינויים&lt;/a&gt;</summary>
		<author><name>מ. רובין</name></author>
	</entry>
	<entry>
		<id>https://chabadpedia.co.il/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%93%D7%99%D7%95%D7%95%D7%97_%D7%9E%D7%A6%D7%91&amp;diff=804615&amp;oldid=prev</id>
		<title>מ. רובין: יצירת דף עם התוכן &quot;--[[ To generate the statusOrder list, I:      1. copied the list from under &quot;suggested values&quot; in the         templatedata at the bottom of תבנית:מצב/צבע/קבוצות      2. Moved the &quot;suggestion&quot; category options         to be after the first list item (&quot;new&quot;),         and moved the &quot;under discussion&quot; option         to be after the &quot;suggestion&quot; options      3. Ran the invertTable function (below)         and copied its output back here      4....&quot;</title>
		<link rel="alternate" type="text/html" href="https://chabadpedia.co.il/index.php?title=%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%93%D7%99%D7%95%D7%95%D7%97_%D7%9E%D7%A6%D7%91&amp;diff=804615&amp;oldid=prev"/>
		<updated>2025-10-01T02:30:07Z</updated>

		<summary type="html">&lt;p&gt;יצירת דף עם התוכן &amp;quot;--[[ To generate the statusOrder list, I:      1. copied the list from under &amp;quot;suggested values&amp;quot; in the         templatedata at the bottom of תבנית:מצב/צבע/קבוצות      2. Moved the &amp;quot;suggestion&amp;quot; category options         to be after the first list item (&amp;quot;new&amp;quot;),         and moved the &amp;quot;under discussion&amp;quot; option         to be after the &amp;quot;suggestion&amp;quot; options      3. Ran the invertTable function (below)         and copied its output back here      4....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;דף חדש&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[ To generate the statusOrder list, I:&lt;br /&gt;
     1. copied the list from under &amp;quot;suggested values&amp;quot; in the&lt;br /&gt;
        templatedata at the bottom of תבנית:מצב/צבע/קבוצות&lt;br /&gt;
     2. Moved the &amp;quot;suggestion&amp;quot; category options&lt;br /&gt;
        to be after the first list item (&amp;quot;new&amp;quot;),&lt;br /&gt;
        and moved the &amp;quot;under discussion&amp;quot; option&lt;br /&gt;
        to be after the &amp;quot;suggestion&amp;quot; options&lt;br /&gt;
     3. Ran the invertTable function (below)&lt;br /&gt;
        and copied its output back here&lt;br /&gt;
     4. Added manually statusTextAll and statusTextNone to the top.&lt;br /&gt;
     (It&amp;#039;s possible to directly read and parse the template wikicode,&lt;br /&gt;
      I was just lazy. At some point it&amp;#039;s better to do that,&lt;br /&gt;
      to avoid double code and the need to synchronize)&lt;br /&gt;
&lt;br /&gt;
function invertTable (t)&lt;br /&gt;
	res = &amp;quot;local statusOrder = {&amp;lt;br/&amp;gt;&amp;quot;&lt;br /&gt;
	for i,a in ipairs(t) do&lt;br /&gt;
		res = res .. &amp;#039;    [&amp;quot;&amp;#039; .. a ..&amp;#039;&amp;quot;] = &amp;#039; .. i&lt;br /&gt;
		if i &amp;lt; #t then&lt;br /&gt;
			res = res .. &amp;#039;,&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
		res = res .. &amp;#039;&amp;lt;br/&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	res = res .. &amp;#039;}&amp;#039;&lt;br /&gt;
	return res&lt;br /&gt;
end&lt;br /&gt;
]]&lt;br /&gt;
local newline =&amp;#039;\r\n&amp;#039;&lt;br /&gt;
local statusTextAll = &amp;#039;סה&amp;quot;כ דיונים&amp;#039;&lt;br /&gt;
local statusTextNone = &amp;quot;ללא תבנית מצב&amp;quot;&lt;br /&gt;
local statusOrder = {&lt;br /&gt;
[statusTextAll] = -1,&lt;br /&gt;
[statusTextNone] = 0,&lt;br /&gt;
[&amp;quot;חדש&amp;quot;] = 1,&lt;br /&gt;
[&amp;quot;בעבודה&amp;quot;] = 2,&lt;br /&gt;
[&amp;quot;הצעה&amp;quot;] = 3,&lt;br /&gt;
[&amp;quot;הצעות&amp;quot;] = 4,&lt;br /&gt;
[&amp;quot;הצעה לשיפור&amp;quot;] = 5,&lt;br /&gt;
[&amp;quot;הצעות לשיפור&amp;quot;] = 6,&lt;br /&gt;
[&amp;quot;הצעת שיפור&amp;quot;] = 7,&lt;br /&gt;
[&amp;quot;הצעות שיפור&amp;quot;] = 8,&lt;br /&gt;
[&amp;quot;בדיון&amp;quot;] = 9,&lt;br /&gt;
[&amp;quot;בטיפול&amp;quot;] = 10,&lt;br /&gt;
[&amp;quot;הוכלל בדף השיחה&amp;quot;] = 11,&lt;br /&gt;
[&amp;quot;בדף השיחה&amp;quot;] = 12,&lt;br /&gt;
[&amp;quot;במעקב&amp;quot;] = 13,&lt;br /&gt;
[&amp;quot;דיון פתוח&amp;quot;] = 14,&lt;br /&gt;
[&amp;quot;טופל&amp;quot;] = 15,&lt;br /&gt;
[&amp;quot;תוקן&amp;quot;] = 16,&lt;br /&gt;
[&amp;quot;סונן&amp;quot;] = 17,&lt;br /&gt;
[&amp;quot;נפתר&amp;quot;] = 18,&lt;br /&gt;
[&amp;quot;בוצע&amp;quot;] = 19,&lt;br /&gt;
[&amp;quot;{{בוצע}}&amp;quot;] = 20,&lt;br /&gt;
[&amp;quot;הועבר&amp;quot;] = 21,&lt;br /&gt;
[&amp;quot;נענה&amp;quot;] = 22,&lt;br /&gt;
[&amp;quot;דיווח שגוי&amp;quot;] = 23,&lt;br /&gt;
[&amp;quot;שגוי&amp;quot;] = 24,&lt;br /&gt;
[&amp;quot;לא טעות&amp;quot;] = 25,&lt;br /&gt;
[&amp;quot;לא שגיאה&amp;quot;] = 26,&lt;br /&gt;
[&amp;quot;מופיע בערך&amp;quot;] = 27,&lt;br /&gt;
[&amp;quot;כבר מופיע בערך&amp;quot;] = 28,&lt;br /&gt;
[&amp;quot;לא תקלה&amp;quot;] = 29,&lt;br /&gt;
[&amp;quot;לא בוצע&amp;quot;] = 30,&lt;br /&gt;
[&amp;quot;{{לא בוצע}}&amp;quot;] = 31,&lt;br /&gt;
[&amp;quot;שם שגוי&amp;quot;] = 32,&lt;br /&gt;
[&amp;quot;מגבלה טכנית&amp;quot;] = 33,&lt;br /&gt;
[&amp;quot;לא יבוצע&amp;quot;] = 34,&lt;br /&gt;
[&amp;quot;לא ערך&amp;quot;] = 35,&lt;br /&gt;
[&amp;quot;פרסום&amp;quot;] = 36,&lt;br /&gt;
[&amp;quot;פרסומי&amp;quot;] = 37,&lt;br /&gt;
[&amp;quot;פרסומת&amp;quot;] = 38,&lt;br /&gt;
[&amp;quot;לא יקרה&amp;quot;] = 39,&lt;br /&gt;
[&amp;quot;לא הועבר&amp;quot;] = 40,&lt;br /&gt;
[&amp;quot;נמחק&amp;quot;] = 41,&lt;br /&gt;
[&amp;quot;לא יועבר&amp;quot;] = 42,&lt;br /&gt;
[&amp;quot;כבר דווח&amp;quot;] = 43,&lt;br /&gt;
[&amp;quot;כבר נענה&amp;quot;] = 44,&lt;br /&gt;
[&amp;quot;בקשה חוזרת&amp;quot;] = 45,&lt;br /&gt;
[&amp;quot;כפילות&amp;quot;] = 46,&lt;br /&gt;
[&amp;quot;כפל&amp;quot;] = 47,&lt;br /&gt;
[&amp;quot;ישן&amp;quot;] = 48,&lt;br /&gt;
[&amp;quot;לא נענה&amp;quot;] = 49,&lt;br /&gt;
[&amp;quot;לא טופל&amp;quot;] = 50,&lt;br /&gt;
[&amp;quot;ישן, לא נענה&amp;quot;] = 51,&lt;br /&gt;
[&amp;quot;דיווח חוזר&amp;quot;] = 52,&lt;br /&gt;
[&amp;quot;ישן, לא טופל&amp;quot;] = 53,&lt;br /&gt;
[&amp;quot;לא ניתן לטפל&amp;quot;] = 54,&lt;br /&gt;
[&amp;quot;ללא תוכן&amp;quot;] = 55,&lt;br /&gt;
[&amp;quot;ללא מענה&amp;quot;] = 56,&lt;br /&gt;
[&amp;quot;בלי תוכן&amp;quot;] = 57,&lt;br /&gt;
[&amp;quot;דרוש מקור&amp;quot;] = 58,&lt;br /&gt;
[&amp;quot;{{מקור}}&amp;quot;] = 59,&lt;br /&gt;
[&amp;quot;אין מקור&amp;quot;] = 60,&lt;br /&gt;
[&amp;quot;לא ברור&amp;quot;] = 61,&lt;br /&gt;
[&amp;quot;{{הבהרה}}&amp;quot;] = 62,&lt;br /&gt;
[&amp;quot;לא בשל&amp;quot;] = 63,&lt;br /&gt;
[&amp;quot;לא מוכן&amp;quot;] = 64,&lt;br /&gt;
[&amp;quot;חסר מידע&amp;quot;] = 65,&lt;br /&gt;
[&amp;quot;אחר&amp;quot;] = 66,&lt;br /&gt;
[&amp;quot;דיון סגור&amp;quot;] = 67,&lt;br /&gt;
[&amp;quot;דיון להעברה&amp;quot;] = 68,&lt;br /&gt;
[&amp;quot;להעברה&amp;quot;] = 69&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function tableRow (statusList, func, first)&lt;br /&gt;
	local text&lt;br /&gt;
	local cellFirst&lt;br /&gt;
	local cellSep&lt;br /&gt;
	if first then&lt;br /&gt;
		cellFirst = &amp;#039;|+&amp;#039;&lt;br /&gt;
		cellSep = &amp;#039;!&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		cellFirst = &amp;#039;|-&amp;#039;&lt;br /&gt;
		cellSep = &amp;#039;|&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	text = cellFirst .. newline&lt;br /&gt;
	for i,s in ipairs(statusList) do&lt;br /&gt;
		if i == 1 then&lt;br /&gt;
			text = text .. &amp;#039;!&amp;#039;&lt;br /&gt;
		else&lt;br /&gt;
			text = text .. cellSep&lt;br /&gt;
		end&lt;br /&gt;
		text = text .. func(s, statusList[1][2][1]) .. newline -- sending the total number to all of the rows. it is ignored by most, anď used only for the calculation in row 3&lt;br /&gt;
	end&lt;br /&gt;
	return text&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tableRow1 (s)&lt;br /&gt;
	return s[1]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tableRow2 (s)&lt;br /&gt;
	return s[2][1]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tableRow3 (s, total)&lt;br /&gt;
	return math.floor(0.5 + 100*s[2][1]/total) .. &amp;#039;%&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function tableRow4 (s)&lt;br /&gt;
	if not s[2][2] then&lt;br /&gt;
		return &amp;#039;פירוט&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	text = &amp;#039;style=&amp;quot;vertical-align: top&amp;quot; | &amp;lt;div class = &amp;quot;mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;text-align:right&amp;quot;&amp;gt;&amp;lt;br/&amp;gt;&amp;#039;&lt;br /&gt;
	for i, headerUser in ipairs(s[2][2]) do&lt;br /&gt;
		text = text .. newline .. &amp;quot;*&amp;quot; .. headerUser[1]&lt;br /&gt;
		if headerUser[2] then&lt;br /&gt;
			text = text .. &amp;quot; (&amp;quot; .. headerUser[2] .. &amp;quot;)&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	text = text .. &amp;quot;&amp;lt;/div&amp;gt;&amp;quot;&lt;br /&gt;
	return text&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function formatTable (statusList, showPercent, showLinks)&lt;br /&gt;
	-- table start, title row, first cell&lt;br /&gt;
    local tableWikiText = &amp;#039;{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;\r\n&amp;#039;&lt;br /&gt;
    tableWikiText = tableWikiText .. tableRow (statusList, tableRow1, true)&lt;br /&gt;
    tableWikiText = tableWikiText .. tableRow (statusList, tableRow2, false)&lt;br /&gt;
    if showPercent then&lt;br /&gt;
    	tableWikiText = tableWikiText .. tableRow (statusList, tableRow3, false)&lt;br /&gt;
    end&lt;br /&gt;
    if showLinks then&lt;br /&gt;
        tableWikiText = tableWikiText .. tableRow (statusList, tableRow4, false)&lt;br /&gt;
    end&lt;br /&gt;
    tableWikiText = tableWikiText .. &amp;#039;|}&amp;#039;&lt;br /&gt;
    return tableWikiText&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function processSectionName ( sectionName )&lt;br /&gt;
	local tav    = &amp;#039; *תב *&amp;#039;&lt;br /&gt;
	local tavnit = &amp;#039; *תבנית *&amp;#039;&lt;br /&gt;
	local tm = &amp;#039;&amp;amp;lcub;&amp;amp;lcub;%1&amp;amp;rcub;&amp;amp;rcub;&amp;#039;&lt;br /&gt;
	local sectionName1 = mw.text.trim(sectionName)&lt;br /&gt;
	local sectionName2 = string.gsub( sectionName1, &amp;#039;{{&amp;#039;..tav   ..&amp;#039;|&amp;#039;..tav   ..&amp;#039;: *([^}]*) *}}&amp;#039;,  tm) -- usage of &amp;#039;tav&amp;#039;    template: keep content and surround by double curly braces, drop template prefix&lt;br /&gt;
    local sectionName3 = string.gsub( sectionName2, &amp;#039;{{&amp;#039;..tav   ..&amp;#039;|&amp;#039;..tavnit..&amp;#039;: *([^}]*) *}}&amp;#039;,  tm) -- usage of &amp;#039;tav&amp;#039;    template: keep content and surround by double curly braces, drop template prefix&lt;br /&gt;
    local sectionName4 = string.gsub( sectionName3, &amp;#039;{{&amp;#039;..tav   ..&amp;#039;|&amp;#039;..         &amp;#039; *([^}]*) *}}&amp;#039;,  tm) -- usage of &amp;#039;tav&amp;#039;    template: keep content and surround by double curly braces&lt;br /&gt;
    local sectionName5 = string.gsub( sectionName4, &amp;#039;{{&amp;#039;..tavnit..&amp;#039;|&amp;#039;..tav   ..&amp;#039;: *([^}]*) *}}&amp;#039;,  tm) -- usage of &amp;#039;tavnit&amp;#039; template: keep content and surround by double curly braces, drop template prefix&lt;br /&gt;
    local sectionName6 = string.gsub( sectionName5, &amp;#039;{{&amp;#039;..tavnit..&amp;#039;|&amp;#039;..tavnit..&amp;#039;: *([^}]*) *}}&amp;#039;,  tm) -- usage of &amp;#039;tavnit&amp;#039; template: keep content and surround by double curly braces, drop template prefix&lt;br /&gt;
    local sectionName7 = string.gsub( sectionName6, &amp;#039;{{&amp;#039;..tavnit..&amp;#039;|&amp;#039;..         &amp;#039; *([^}]*) *}}&amp;#039;,  tm) -- usage of &amp;#039;tavnit&amp;#039; template: keep content and surround by double curly braces&lt;br /&gt;
    local sectionName8 = string.gsub( sectionName7, &amp;#039;%[%[[^]|]*|([^]|]*)%]%]&amp;#039;, &amp;#039;%1&amp;#039;) -- wikilinks with display text: keep only the display text&lt;br /&gt;
    local sectionName9 = string.gsub( sectionName8, &amp;#039;%[%[:?([^]]*)%]%]&amp;#039;, &amp;#039;%1&amp;#039;) -- wikilinks with display text: keep the content, dropping the brackets and optionally also a leading colon&lt;br /&gt;
    local sectionName10= &amp;quot;[[#&amp;quot; .. sectionName9 .. &amp;quot;|&amp;quot; .. sectionName9 .. &amp;quot;]]&amp;quot;&lt;br /&gt;
    return sectionName10&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function getSections ( wikiText )&lt;br /&gt;
	local sectionHeaderPattern = &amp;#039;[^=]==([^=][^%c=]*)==&amp;#039;&lt;br /&gt;
	local sectionTable = {}&lt;br /&gt;
	local offset&lt;br /&gt;
	local offsetStart&lt;br /&gt;
	local offsetStartPrev&lt;br /&gt;
	local sectionName&lt;br /&gt;
	offsetStart, offset, sectionName = string.find( wikiText, sectionHeaderPattern )&lt;br /&gt;
	if not sectionName then&lt;br /&gt;
		return nil -- no H2 sections found on page&lt;br /&gt;
	end&lt;br /&gt;
	while sectionName do&lt;br /&gt;
		offsetStartPrev = offsetStart&lt;br /&gt;
		sectionNamePrev = processSectionName(sectionName) -- remove leading and trailing whitespace and interlinks, convert into a link to the header&lt;br /&gt;
		offsetStart, offset, sectionName = string.find( wikiText, sectionHeaderPattern, offset )&lt;br /&gt;
		if sectionName then&lt;br /&gt;
			sectionText = string.sub(wikiText, offsetStartPrev, offsetStart)&lt;br /&gt;
			table.insert(sectionTable, {sectionNamePrev, sectionText})&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	sectionText = string.sub(wikiText, offsetStartPrev)&lt;br /&gt;
	table.insert(sectionTable, {sectionNamePrev, sectionText})&lt;br /&gt;
	return sectionTable&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function statusSort (s1, s2)&lt;br /&gt;
	return statusOrder[s1[1]] &amp;lt; statusOrder[s2[1]]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function sectionTableToStatusTable ( sectionTable, showEditors )&lt;br /&gt;
	local statusType&lt;br /&gt;
	local argsMatcher&lt;br /&gt;
	local argList&lt;br /&gt;
	local matzav = &amp;quot;מצב&amp;quot;&lt;br /&gt;
	local fullPattern = &amp;#039;{{ *&amp;#039;..matzav..&amp;#039; *| *([^}]*})}&amp;#039; -- including thd first curly brace, to delimit the last argument&lt;br /&gt;
	&lt;br /&gt;
	statusTable = {}&lt;br /&gt;
	for i, section in ipairs(sectionTable) do&lt;br /&gt;
		statusTemplateArguments = string.match(section[2], fullPattern)&lt;br /&gt;
		if not statusTemplateArguments then&lt;br /&gt;
			statusType = statusTextNone&lt;br /&gt;
			user = nil&lt;br /&gt;
		else&lt;br /&gt;
		    argsMatcher = string.gmatch(statusTemplateArguments, &amp;quot;([^|}]*) *[|}]&amp;quot;)&lt;br /&gt;
		    argList = {}&lt;br /&gt;
		    for arg in argsMatcher do&lt;br /&gt;
		    	table.insert(argList, mw.text.trim(arg))&lt;br /&gt;
		    end&lt;br /&gt;
		    statusType = argList[1]&lt;br /&gt;
		    if showEditors then&lt;br /&gt;
		        user = argList[2] -- might be nil. also, I&amp;#039;m ignoring the display text (argList[3]) if it exists&lt;br /&gt;
		    else&lt;br /&gt;
		    	user = nil&lt;br /&gt;
		    end&lt;br /&gt;
		end&lt;br /&gt;
		if not statusTable[statusType] then&lt;br /&gt;
			statusTable[statusType] = {1, {{section[1],user}}}&lt;br /&gt;
		else&lt;br /&gt;
			statusTable[statusType][1] = statusTable[statusType][1] + 1&lt;br /&gt;
			table.insert(statusTable[statusType][2], {section[1],user})&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	statusTable[statusTextAll] = {#sectionTable}&lt;br /&gt;
	-- now that the table is built, convert it into a sequence and sort it&lt;br /&gt;
    local statusList = {}&lt;br /&gt;
    for k, v in pairs(statusTable) do&lt;br /&gt;
    	table.insert(statusList, {k, v})&lt;br /&gt;
    end&lt;br /&gt;
    table.sort(statusList, statusSort)&lt;br /&gt;
    return statusList&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function getStatusReport ( title, showPercent, showLinks, showEditors )&lt;br /&gt;
	local wikiText = title:getContent()&lt;br /&gt;
	local sectionTable = getSections(wikiText) -- the page title text is used to convert the section header into a link &lt;br /&gt;
	local statusList = sectionTableToStatusTable(sectionTable, showEditors)&lt;br /&gt;
    return formatTable (statusList, showPercent, showLinks)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function emptyParam (param)&lt;br /&gt;
	return (not param) or (param == &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function statusReport ( frame )&lt;br /&gt;
	local yes = &amp;#039;כן&amp;#039;&lt;br /&gt;
	local no = &amp;#039;לא&amp;#039;&lt;br /&gt;
	local title&lt;br /&gt;
	local showPercent&lt;br /&gt;
	local showLinks&lt;br /&gt;
	local showEditors&lt;br /&gt;
	if emptyParam(frame.args[&amp;#039;title&amp;#039;]) then&lt;br /&gt;
    	title = mw.title.getCurrentTitle()&lt;br /&gt;
    else&lt;br /&gt;
    	title = mw.title.new(frame.args[&amp;#039;title&amp;#039;])&lt;br /&gt;
    end&lt;br /&gt;
	showPercent = emptyParam(frame.args[&amp;#039;percent&amp;#039;]) or (frame.args[&amp;#039;percent&amp;#039;] == yes)&lt;br /&gt;
	showLinks   = emptyParam(frame.args[&amp;#039;links&amp;#039;])   or (frame.args[&amp;#039;link&amp;#039;]    == yes)&lt;br /&gt;
	showEditors = emptyParam(frame.args[&amp;#039;editors&amp;#039;]) or (frame.args[&amp;#039;editors&amp;#039;] == yes)&lt;br /&gt;
	&lt;br /&gt;
	return getStatusReport (title, showPercent, showLinks, showEditors)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	statusReport = statusReport&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>מ. רובין</name></author>
	</entry>
</feed>