aboutsummaryrefslogtreecommitdiff
path: root/files/fa/conflicting
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-04-29 16:16:42 -0700
committerGitHub <noreply@github.com>2021-04-29 16:16:42 -0700
commit95aca4b4d8fa62815d4bd412fff1a364f842814a (patch)
tree5e57661720fe9058d5c7db637e764800b50f9060 /files/fa/conflicting
parentee3b1c87e3c8e72ca130943eed260ad642246581 (diff)
downloadtranslated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip
remove retired locales (#699)
Diffstat (limited to 'files/fa/conflicting')
-rw-r--r--files/fa/conflicting/learn/html/introduction_to_html/index.html45
-rw-r--r--files/fa/conflicting/web/guide/index.html99
2 files changed, 0 insertions, 144 deletions
diff --git a/files/fa/conflicting/learn/html/introduction_to_html/index.html b/files/fa/conflicting/learn/html/introduction_to_html/index.html
deleted file mode 100644
index 1c9b8a8e61..0000000000
--- a/files/fa/conflicting/learn/html/introduction_to_html/index.html
+++ /dev/null
@@ -1,45 +0,0 @@
----
-title: عادت‌های بدی که باید از آن‌ها دوری کنید
-slug: conflicting/Learn/HTML/Introduction_to_HTML
-translation_of: Learn/HTML/Introduction_to_HTML
-translation_of_original: Web/Guide/HTML/Obsolete_things_to_avoid
-original_slug: Web_development/Historical_artifacts_to_avoid
----
-<h2 dir="rtl" id="مقدمه">مقدمه</h2>
-<p dir="rtl">بسیاری از افراد CSS، HTML و JavaScript را با مشاهده‌ی کد صفحه‌های مختلف و copy/paste کردن آن‌ها آموخته‌اند حال آن‌که سایت اصلی ممکن است به درستی این کدها را به کار نبرده باشد. این یعنی افراد شیوه‌های کدزنی که در گذشته لازم اما امروزه از کار افتاده حساب می‌شوند را برای خود نهادینه کرده‌اند. این صفحه سعی در ارایه‌ی فهرستی از این شیوه‌های کد زنی که به اصطلاح به آن‌ها bad practices گفته می‌شود، دارد.</p>
-<h2 dir="rtl" id="نوع_سند">نوع سند</h2>
-<p dir="rtl">نزدیک به ۱۰، <a href="http://en.wikipedia.org/wiki/Document_Type_Declaration" title="http://en.wikipedia.org/wiki/Document_Type_Declaration">نوع سند HTML یا XHTML</a> وجود دارد که تفاوت‌های بسیار جزیی با یکدیگر دارند که در پاره‌ای از مواقع قابل مقایسه نیستند. توصیه می‌شود که شما از نوع سند HTML5 استفاده کنید:</p>
-<pre class="brush:html" dir="ltr">&lt;!DOCTYPE html&gt;</pre>
-<p dir="rtl">که باعث می‌شود حالت استانداردی در تمامی مرورگرها (حتی اینترنت اکسپلورر ۶) به وجود آید.</p>
-<h2 dir="rtl" id="عنصر_&lt;meta>_و_صفت_charset">عنصر &lt;meta&gt; و صفت <code>charset</code></h2>
-<p dir="rtl">جستجوی کد صفحه با استفاده از قطعه کد زیر یک روش معمول است:</p>
-<pre class="brush:html" dir="ltr">&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;</pre>
-<p dir="rtl">اگرچه تمامی مرورگرها (از جمله اینترنت اکسپلورر ۶) به یک صورت عمل می‌کنند اگر کد بالا را به صورت زیر بنویسیم:</p>
-<pre class="brush:html" dir="ltr">&lt;meta charset="UTF-8" /&gt;
-</pre>
-<p dir="rtl">این دانش با استفاده از <a href="http://blog.whatwg.org/the-road-to-html-5-character-encoding" title="http://blog.whatwg.org/the-road-to-html-5-character-encoding">مهندسی معکوس</a> و <a href="http://lists.w3.org/Archives/Public/public-html/2007Jul/0550.html#replies" title="http://lists.w3.org/Archives/Public/public-html/2007Jul/0550.html#replies">آزمایش‌های عملی</a> به دست آمده است، پس از آن استفاده کنید.</p>
-<h2 dir="rtl" id="توضیحات_HTML_در_اسکریپت‌ها">توضیحات HTML در اسکریپت‌ها</h2>
-<p dir="rtl">زمانی بود که بعضی مرورگرها برچسب {{ HTMLElement("script") }} را تشخیص می‌دادند و بعضی خیر که این امر منجر به تفسیر خطوط اسکریپت به عنوان متن خام می‌شد. ایده‌ی طبیعی این بود که اسکریپت‌ها را به عنوان توضیحات در HTML قرار دهند که این روش باعث می‌شد مرورگرهایی که اسکریپت را اجرا می‌کنند به کار خود ادامه داده و آن‌هایی که برچسب اسکریپت را متوجه نمی‌شوند محتویاتش را در نظر نگیرند.</p>
-<p dir="rtl">در این دوره بود که ما از چیزهایی استفاده می‌کردیم شبیه به:</p>
-<pre class="brush:html" dir="ltr">&lt;script&gt;
-&lt;!--
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "bla.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-//--&gt;
-&lt;/script&gt;
-</pre>
-<p dir="rtl">یا:</p>
-<pre>&lt;script type="text/javascript"&gt;
-&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--
-Blabla.extend(MyFramework.settings, { "basePath": "/" });
-//--&gt;&lt;!]]&gt;
-&lt;/script&gt;
-</pre>
-<p dir="rtl">تمامی این‌ها امروزه به درد نخور هستند - حتی مرورگرهایی که اسکریپت را اجرا نمی‌کنند به سادگی برچسب {{ HTMLElement("script") }} را نادیده می‌گیرند. اسکریپت‌های خود را فقط بین برچسب آغازین و پایانی {{ HTMLElement("script") }} بنویسید. بهتر آن است که اسکریپت خود را به عنوان یک فایل جداگانه با صفت {{ htmlattrxref("src", "script") }} در نظر گرفته؛ همچنین می‌توانید صفت‌های {{ htmlattrxref("async", "script") }} و {{ htmlattrxref("defer", "script") }} موجود در HTML5 را در نظر بگیرید.</p>
-<h2 dir="rtl" id="عنصرهایی_که_از_این_پس_نباید_استفاده_شوند">عنصرهایی که از این پس نباید استفاده شوند</h2>
-<h3 dir="rtl" id="font">font</h3>
-<p dir="rtl">برچسب font دیگر نباید استفاده شود. CSS برای کنترل نحوه‌ی نمایش عنصرها، که با  برچسب ID یا Class مشخص می‌شوند، ترجیح داده می‌شود.</p>
-<h3 dir="rtl" id="b_i_u">b, i, u</h3>
-<p dir="rtl">این‌ها عنصرهای بحث‌برانگیزی هستند بنابراین سعی کنید از {{ HTMLElement("strong") }}، {{ HTMLElement("em") }} یا {{ HTMLElement("span") }} و (<code>text-decoration:underline</code>) در CSS استفاده کنید.</p>
-<p dir="rtl">در مورد کاربرد این عنصرها با احتیاط برخورد کنید. بعضی توصیه می‌کنند که {{ HTMLElement("b") }} را با {{ HTMLElement("strong") }} و {{ HTMLElement("i") }} را با {{ HTMLElement("em") }} به سادگی جایگزین کنید در حالی که <strong>این یک توصیه‌ی بد است</strong>. {{ HTMLElement("strong") }} برای عبارتی که تاکید بسیار لازم دارد مورد نیاز است اما {{ HTMLElement("em") }} برای تاکید کمتر است. برای نمونه، ایده‌ی بدی است که از {{ HTMLElement("em") }} برای ایجاد متن کج استفاده شود؛ متنی که قصد داریم کج نشان دهیم با استفاده از <code>font-style:italic</code> در CSS قابل دسترس است. به همین صورت، عنوان کتاب‌ها یا آثار هنری سابق بر این با استفاده از متن کج به وجود می‌آمدند، اما استفاده از عنصر {{ HTMLElement("cite") }} برای این گونه موارد منجر به تولید کدی معنایی نسبت به {{ HTMLElement("em") }} یا {{ HTMLElement("i") }} می‌شود.</p>
-<p></p>
diff --git a/files/fa/conflicting/web/guide/index.html b/files/fa/conflicting/web/guide/index.html
deleted file mode 100644
index d85901e920..0000000000
--- a/files/fa/conflicting/web/guide/index.html
+++ /dev/null
@@ -1,99 +0,0 @@
----
-title: Web Development
-slug: conflicting/Web/Guide
-tags:
- - NeedsTranslation
- - TopicStub
- - Web Development
-translation_of: Web/Guide
-translation_of_original: Web_Development
-original_slug: Web_Development
----
-<p><strong>Web development</strong> comprises all aspects of developing a web site or web application.</p>
-<p>Learn how to create anything from a simple web site to complex, highly interactive web sites featuring the latest Web technologies by perusing the articles you'll find here.</p>
-<table class="topicpage-table">
- <tbody>
- <tr>
- <td>
- <h2 class="Documentation" id="Documentation_topics">Documentation topics</h2>
- <h3 id="Technologies">Technologies</h3>
- <dl>
- <dt>
- <a class="internal" href="/en-US/docs/Web_Development/Introduction_to_Web_development" title="en-US/docs/Web Development/Introduction to Web development">Introduction to Web development</a></dt>
- <dd>
- A guide to learning how to develop for the Web.</dd>
- <dt>
- <a class="internal" href="/en-US/docs/HTML" rel="internal">HTML</a></dt>
- <dd>
- HyperText Markup Language is the basic language for creating web pages and other documents displayed in a browser.</dd>
- <dt>
- <a class="internal" href="/en-US/docs/CSS" rel="internal">CSS</a></dt>
- <dd>
- Cascading Style Sheets make it possible to do advanced layout and page design on the Web.</dd>
- <dt>
- <a class="internal" href="/en-US/docs/JavaScript" rel="internal">JavaScript</a></dt>
- <dd>
- JavaScript is the most commonly used scripting language for developing web applications; it's also used in the development of Mozilla-based software.</dd>
- <dt>
- <a class="internal" href="/en-US/docs/DOM" rel="internal">DOM</a></dt>
- <dd>
- The Document Object Model is an API for HTML and XML documents, providing a structural representation of the document that you can modify in order to alter its visual presentation.</dd>
- <dt>
- <a class="internal" href="/en-US/docs/AJAX" rel="internal">AJAX</a></dt>
- <dd>
- Asynchronous JavaScript and XML isn't so much a technology as a combination of technologies; using JavaScript and other modern web technologies together to create dynamic web applications.</dd>
- <dt>
- <a class="internal" href="/en-US/docs/XHTML" title="en-US/docs/XHTML">XHTML</a></dt>
- <dd>
- Extensible HyperText Markup Language is an XML-based HTML-like language that offers a stricter syntax than HTML.</dd>
- <dt>
- <a class="internal" href="/en-US/docs/SVG" rel="internal">SVG</a></dt>
- <dd>
- Scalable Vector Graphics is an XML markup language for describing 2D vector graphics.</dd>
- </dl>
- <h3 id="Strategies">Strategies</h3>
- <dl>
- <dt>
- <a class="internal" href="/en-US/docs/Web_Standards" title="en-US/docs/Web Standards">Web standards</a></dt>
- <dd>
- Learn how to make your Web site or application reach the largest number of users through compatibility with the open Web.</dd>
- <dt>
- <a href="/en-US/docs/Web_Development/Responsive_Web_design" title="en-US/docs/Web development/Responsive Web design">Responsive Web design</a></dt>
- <dd>
- Use CSS to present the same content across all hardware platforms, from mobile phones to wide-screen, high-res desktop displays.</dd>
- <dt>
- <a href="/en-US/docs/Web_development/Writing_forward-compatible_websites" title="Writing forward-compatible websites">Writing forward-compatible websites</a></dt>
- <dd>
- Best practices for creating websites that do not break when browsers are updated.</dd>
- <dt>
- <a href="/en-US/docs/Web_Development/Mobile" title="/en-US/docs/Web development/Mobile">Mobile Web development</a></dt>
- <dd>
- Developing sites for be viewed on mobile devices involves some unique approaches that may not be familiar to those accustomed to developing for desktop browsers.</dd>
- <dt>
- <a class="internal" href="/en-US/docs/Mozilla_Web_Developer_FAQ" title="en-US/docs/Mozilla Web Developer FAQ">Mozilla Web developer FAQ</a></dt>
- <dd>
- Frequently asked questions from Web developers. With answers!</dd>
- </dl>
- <p><span class="alllinks"><a href="/en-US/docs/tag/Web_Development" title="en-US/docs/tag/Web_Development">View All...</a></span></p>
- </td>
- <td>
- <h2 class="Community" id="Community">Community</h2>
- <ul>
- <li><a class="external" href="http://hacks.mozilla.org" title="http://hacks.mozilla.org">Mozilla Hacks blog</a></li>
- <li><a class="external" href="http://www.whatwg.org/" rel="external nofollow" title="http://www.whatwg.org/">WHAT Working Group</a></li>
- <li><a class="external" href="http://webdevfeedhouse.com/" rel="external nofollow" title="http://webdevfeedhouse.com/">WebDev FeedHouse</a></li>
- </ul>
- <h2 class="Tools" id="Tools">Tools</h2>
- <ul>
- <li><a href="/en-US/docs/Tools" title="en-US/docs/Tools">Main Tools page</a></li>
- <li><a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/1843" rel="external nofollow" title="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug extension</a></li>
- <li><a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/60" rel="external nofollow" title="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer extension</a></li>
- <li><a href="/en-US/docs/Venkman" rel="internal">Venkman</a>, the JavaScript debugger</li>
- <li><a href="/en-US/docs/DOM_Inspector" rel="internal" title="en-US/docs/DOM Inspector">DOM Inspector</a></li>
- <li><a href="/en-US/docs/Tools/Scratchpad" title="en-US/docs/Tools/Scratchpad">Scratchpad</a></li>
- </ul>
- <p><span class="alllinks"><a href="/en-US/docs/tag/Web_Development:Tools" title="en-US/docs/tag/Web_Development:Tools">View All...</a></span></p>
- </td>
- </tr>
- </tbody>
-</table>