<link href="../fonts/font.css" rel="stylesheet" type="text/css">

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fa">
		<id>https://wiki.imaroof.ir/index.php?action=history&amp;feed=atom&amp;title=%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1%3ATechnical_13%2FScripts%2FeditTemplateNoDoc.js</id>
		<title>کاربر:Technical 13/Scripts/editTemplateNoDoc.js - تاریخچهٔ ویرایش‌ها</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.imaroof.ir/index.php?action=history&amp;feed=atom&amp;title=%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1%3ATechnical_13%2FScripts%2FeditTemplateNoDoc.js"/>
		<link rel="alternate" type="text/html" href="https://wiki.imaroof.ir/index.php?title=%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Technical_13/Scripts/editTemplateNoDoc.js&amp;action=history"/>
		<updated>2026-08-02T08:23:38Z</updated>
		<subtitle>تاریخچهٔ ویرایش‌های این صفحه در ویکی</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://wiki.imaroof.ir/index.php?title=%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Technical_13/Scripts/editTemplateNoDoc.js&amp;diff=615&amp;oldid=prev</id>
		<title>Admin در ‏۱۳ اسفند ۱۳۹۴، ساعت ۰۸:۱۵</title>
		<link rel="alternate" type="text/html" href="https://wiki.imaroof.ir/index.php?title=%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Technical_13/Scripts/editTemplateNoDoc.js&amp;diff=615&amp;oldid=prev"/>
				<updated>2016-03-03T08:15:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='fa'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;→ نسخهٔ قدیمی‌تر&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;نسخهٔ ‏۱۳ اسفند ۱۳۹۴، ساعت ۰۸:۱۵&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;سطر ۱:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;سطر ۱:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if( mw.config.get('wgNamespaceNumber') === 10 &amp;amp;&amp;amp; mw.config.get('wgAction') === 'edit' &amp;amp;&amp;amp;&amp;#160; $( '.template-documentation' ).length !== -1){&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if( mw.config.get('wgNamespaceNumber') === 10 &amp;amp;&amp;amp; mw.config.get('wgAction') === 'edit' &amp;amp;&amp;amp;&amp;#160; $( '.template-documentation' ).length !== -1){&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$( '.template-documentation' ).css( 'display', 'none');&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$( '.template-documentation' ).css( 'display', 'none');&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;سطر ۲۹:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;سطر ۲۸:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	/*&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  Do nothing&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  */&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	/*&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  Do nothing&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  */&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://wiki.imaroof.ir/index.php?title=%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Technical_13/Scripts/editTemplateNoDoc.js&amp;diff=614&amp;oldid=prev</id>
		<title>Admin: صفحه‌ای تازه حاوی «&lt;source&gt; if( mw.config.get('wgNamespaceNumber') === 10 &amp;&amp; mw.config.get('wgAction') === 'edit' &amp;&amp;  $( '.template-documentation' ).length !=...» ایجاد کرد</title>
		<link rel="alternate" type="text/html" href="https://wiki.imaroof.ir/index.php?title=%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:Technical_13/Scripts/editTemplateNoDoc.js&amp;diff=614&amp;oldid=prev"/>
				<updated>2016-03-03T08:15:34Z</updated>
		
		<summary type="html">&lt;p&gt;صفحه‌ای تازه حاوی «&amp;lt;source&amp;gt; if( mw.config.get(&amp;#039;wgNamespaceNumber&amp;#039;) === 10 &amp;amp;&amp;amp; mw.config.get(&amp;#039;wgAction&amp;#039;) === &amp;#039;edit&amp;#039; &amp;amp;&amp;amp;  $( &amp;#039;.template-documentation&amp;#039; ).length !=...» ایجاد کرد&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحهٔ تازه&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source&amp;gt;&lt;br /&gt;
if( mw.config.get('wgNamespaceNumber') === 10 &amp;amp;&amp;amp; mw.config.get('wgAction') === 'edit' &amp;amp;&amp;amp;  $( '.template-documentation' ).length !== -1){&lt;br /&gt;
	$( '.template-documentation' ).css( 'display', 'none');&lt;br /&gt;
	var tnd = mw.util.addPortletLink(&lt;br /&gt;
		'p-tb',&lt;br /&gt;
		'#',&lt;br /&gt;
		'View doc',&lt;br /&gt;
		'pt-temp-doc',&lt;br /&gt;
		'View template documentation',&lt;br /&gt;
		null,&lt;br /&gt;
		null&lt;br /&gt;
	);&lt;br /&gt;
	$( tnd ).click( function ( e ) {&lt;br /&gt;
		e.preventDefault();&lt;br /&gt;
		/* Toggle documentation display */&lt;br /&gt;
		$( '.template-documentation' ).css( 'display', function (i, val) {&lt;br /&gt;
			return val === 'none' ? '' : 'none';&lt;br /&gt;
		});&lt;br /&gt;
		/* Toggle the link */&lt;br /&gt;
		$( 'li#pt-temp-doc a' ).html( function (i, val) {&lt;br /&gt;
			return val === 'View doc' ? 'Hide doc' : 'View doc';&lt;br /&gt;
		});&lt;br /&gt;
		/* Toggle the description */&lt;br /&gt;
		$( 'li#pt-temp-doc a' ).attr( 'title', function (i, val) {&lt;br /&gt;
			return val === 'View template documentation' ? 'Hide template documentation' : 'View template documentation';&lt;br /&gt;
		});&lt;br /&gt;
	});&lt;br /&gt;
} else {&lt;br /&gt;
	/*               Do nothing               */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>