diff options
Diffstat (limited to 'files/zh-cn/archive/meta_docs')
-rw-r--r-- | files/zh-cn/archive/meta_docs/custom_classes/index.html | 239 | ||||
-rw-r--r-- | files/zh-cn/archive/meta_docs/devedge/index.html | 61 | ||||
-rw-r--r-- | files/zh-cn/archive/meta_docs/external_redirects/index.html | 74 | ||||
-rw-r--r-- | files/zh-cn/archive/meta_docs/index.html | 10 |
4 files changed, 0 insertions, 384 deletions
diff --git a/files/zh-cn/archive/meta_docs/custom_classes/index.html b/files/zh-cn/archive/meta_docs/custom_classes/index.html deleted file mode 100644 index 77a4ca21c9..0000000000 --- a/files/zh-cn/archive/meta_docs/custom_classes/index.html +++ /dev/null @@ -1,239 +0,0 @@ ---- -title: 'Project:自定义_CSS_类' -slug: Archive/Meta_docs/Custom_classes -tags: - - 所有分类 -translation_of: Archive/Meta_docs/Custom_classes ---- -<p></p><div class="standardSidebar"> - <div><a href="/Help:cn/%E7%9B%AE%E5%BD%95" style="font-size: large;">帮助目录</a></div> - - <dl> - <dt>指导</dt> - <dd> - <ul style="padding: 0;"> - <li><a href="/zh-CN/docs/Project:%E7%8E%B0%E5%9C%A8%E5%B0%B1%E5%BC%80%E5%A7%8B">现在就开始</a></li> - <li><a href="/zh-CN/docs/Project:%E7%BC%96%E8%80%85%E5%90%91%E5%AF%BC">编者向导</a></li> - <li><a href="/zh-CN/docs/Project:%E9%A1%B5%E9%9D%A2%E5%91%BD%E5%90%8D%E6%8C%87%E5%8D%97">页面命名指南</a></li> - <li><a href="/zh-CN/docs/Project:%E6%B6%88%E6%AD%A7%E4%B9%89">消歧义页</a></li> - <li><a href="/zh-CN/docs/Project:%E6%9C%AC%E5%9C%B0%E5%8C%96%E9%A1%B9%E7%9B%AE">开始一项新的mdc本地化项目</a></li> - <li><a href="/zh-CN/docs/Project:%E7%89%88%E6%9D%83">版权和许可</a></li> - </ul> - </dd> - - <dt>参考</dt> - <dd> - <ul style="padding: 0;"> - <li><a href="/zh-CN/docs/Project:Wiki%E6%A0%87%E8%AE%B0%E8%AF%AD%E6%B3%95%E5%8F%82%E8%80%83">维基语法参考</a></li> - <li><a href="/zh-CN/docs/Project:%E8%87%AA%E5%AE%9A%E4%B9%89_CSS_%E7%B1%BB">自定义 CSS 类</a></li> - <li><a href="/zh-CN/docs/Project:%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A8%A1%E6%9D%BF">自定义模板</a></li> - <li><a href="/zh-CN/docs/Project:MediaWiki_%E6%89%A9%E5%B1%95">MediaWiki 扩展</a></li> - <li><a href="/zh-CN/docs/Project:%E5%A4%96%E9%83%A8%E9%87%8D%E5%AE%9A%E5%90%91">外部重定向</a></li> - <li><a href="/zh-CN/docs/Project:%E9%9C%80%E8%A6%81%E9%87%8D%E5%AE%9A%E5%90%91">需要重定向</a></li> - </ul> - </dd> - - <dt>列表</dt> - <dd> - <ul style="padding: 0;"> - <li><a href="/zh-CN/docs/Project:%E6%96%87%E6%A1%A3%E8%AF%B7%E6%B1%82%E5%88%97%E8%A1%A8">文档请求列表</a></li> - <li><a href="/zh-CN/docs/Project:To_Do_List">Editing/review to do list</a></li> - <li><a href="/zh-CN/docs/Project:%E5%B7%B2%E6%9C%89%E5%86%85%E5%AE%B9">合并列表</a></li> - </ul> - </dd> - </dl> - -</div><p></p> - -<p>下面的内容,将介绍如何在 Devmo wiki 中自定义 CSS 类。无论任何原因,如果您需要为本 wiki 创建自定义 CSS 类,请随时联系 <a>Dria</a>.</p> - -<h3 id=".E5.AE.9A.E4.B9.89_CSS_.E7.B1.BB" name=".E5.AE.9A.E4.B9.89_CSS_.E7.B1.BB">定义 CSS 类</h3> - -<table class="fullwidth-table"> - <tbody> - <tr> - <td class="header">类</td> - <td class="header">结果</td> - </tr> - <tr> - <td><code>div.tip</code></td> - <td>显示 tip 文本,范围不超出一个页的 body 部分。</td> - </tr> - <tr> - <td><code>div.bug</code></td> - <td>显示 bug 文本,范围不超出一个页的 body 部分。</td> - </tr> - <tr> - <td><code>.float-left</code></td> - <td>创建一个左向流 left-float 元素(通常是图形)</td> - </tr> - <tr> - <td><code>.float-right</code></td> - <td>创建一个右向流 right-float 元素(通常是图形)</td> - </tr> - <tr> - <td><code>.figure</code></td> - <td>定义一个未使用内容,不包含任何当前风格</td> - </tr> - <tr> - <td><code>.standard-table</code></td> - <td>基础标准表(table)风格。</td> - </tr> - <tr> - <td><code>.standard-table td.header</code></td> - <td>标准表(table)的表头风格。</td> - </tr> - <tr> - <td><code>.fullwidth-table</code></td> - <td>宽度设置为 100% 的表。(就像现在你正在看的这个表)</td> - </tr> - <tr> - <td><code>.fullwidth-table td.header</code></td> - <td>宽度设为 100% 的表的表头风格。</td> - </tr> - <tr> - <td><code>div.breadcrumbs</code></td> - <td>breadcrumbs 用户导航风格</td> - </tr> - <tr> - <td><code>div.breadcrumbs a.breadcrumbs</code></td> - <td>breadcrumbs 字符串用户导航风格。</td> - </tr> - <tr> - <td><code>div.breadcrumbs span.breadcrumbs</code></td> - <td>breadcrumbs 字符串导航中的本页内部标题风格。</td> - </tr> - <tr> - <td><code>div.side-note-left div.side-note-right</code></td> - <td>用来创建一个靠单方向的文本框。它将在父级文本(通常是文档本身)中,占据一个50%宽度的文本框。建议在使用的时候,左右方向交替使用,以便提高文档的可读性。</td> - </tr> - <tr> - <td><code>div.highlight</code></td> - <td>在左侧为段落创建一个三像素宽的蓝条。</td> - </tr> - <tr> - <td><code>.highlightred</code></td> - <td>文本颜色变为红色</td> - </tr> - <tr> - <td><code>.highlightblue</code></td> - <td>文本颜色变为蓝色</td> - </tr> - <tr> - <td><code>.highlightgreen</code></td> - <td>文本颜色变为绿色</td> - </tr> - </tbody> -</table> - -<h3 id=".E4.BE.8B.E5.AD.90" name=".E4.BE.8B.E5.AD.90">例子</h3> - -<h4 id=".E9.AB.98.E4.BA.AE.E7.9A.84.E4.BB.A3.E7.A0.81" name=".E9.AB.98.E4.BA.AE.E7.9A.84.E4.BB.A3.E7.A0.81">高亮的代码</h4> - -<p>我们经常会希望提请读者注意某段代码。这是可能通过使用spans,还用mediawiki内建的代码格式"indent-at-least-one-space" (“缩进至少一个空格”)。请注意,在<span class="nowiki"><pre></span>块内使用spans是没有用的,因为mediawiki分析器忽略了spans,而直接把他们作为代码的一部分输出。</p> - -<pre><span class="highlightred">这样不会有效</span> -</pre> - -<p>取代它的方法是,缩进你想要放在高亮部分的代码,并且在内部使用spans。注意,在代码中,空行也是需要缩进的。如果在空行前面没有空格,那么前一个段落将被解释器关闭,并另起一个新段落。</p> - -<pre class="eval">here is an example of - a <span class="highlightred">codeblock</span> with a blank line -</pre> - -<pre class="eval"> that is not <span class="highlightblue">indented</span>. -</pre> - -<p>很显然,上面是一个反面例子,正确的做法应该像下面这样的:</p> - -<pre class="eval">here is an example of - a <span class="highlightred">codeblock</span> with a blank line - - that is <span class="highlightblue">indented</span>. -</pre> - -<h4 id="Breadcrumbs" name="Breadcrumbs">Breadcrumbs</h4> - -<p> </p> - -<ul> - <li>例子请参见 <a href="cn/Core_JavaScript_1.5_Reference/About">Core JavaScript 1.5 Reference:About</a> 。</li> -</ul> - -<h4 id="table.standard-table" name="table.standard-table">table.standard-table</h4> - -<table class="standard-table"> - <tbody> - <tr> - <th>表标题 1</th> - <th>表标题 2</th> - </tr> - <tr> - <td>这里是一个例子:</td> - <td><code>table.standard-table</code></td> - </tr> - </tbody> -</table> - -<h4 id="table.fullwidth-table" name="table.fullwidth-table">table.fullwidth-table</h4> - -<table class="fullwidth-table"> - <tbody> - <tr> - <th>表标题 1</th> - <th>表标题 2</th> - </tr> - <tr> - <td>这是一个例子:</td> - <td><code>table.fullwidth-table</code></td> - </tr> - </tbody> -</table> - -<h4 id="Divs" name="Divs">Divs</h4> - -<h5 id="Tips" name="Tips">Tips</h5> - -<p>使用 <code>div class="note"</code> 格式化 tip:</p> - -<div class="note">这是一个 tip</div> - -<h5 id="Bugs" name="Bugs">Bugs</h5> - -<p>使用 <code>div class="bug"</code> 引用已知的 bug,可以创建指向bugzilla的bug连接:</p> - -<div class="bug"><a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=176320">Bug 176320: Minimal innerWidth/innerHeight values for popup windows</a></div> - -<h5 id="Warnings" name="Warnings">Warnings</h5> - -<p>使用 <code>div class="warning"</code> 将一段文档做成警告高亮。最后,我们回做一些很酷的事情,并且加一些图标啊什么的。</p> - -<div class="warning">这是一个 warning.</div> - -<h5 id="Notes" name="Notes">Notes</h5> - -<p><code>div class="note"</code> (via <a>Template:Note</a>) 用来将一段文档标记为一段笔记。不要直接使用 div 类,最好用模板<a>template</a>.</p> - -<div class="side-note-left">这是个左边的 note。</div> - -<p>分别演示side-note-levt和side-note-right</p> - -<div class="side-note-right">这是个右边的 note。</div> - -<p> </p> - -<h5 id=".E9.AB.98.E4.BA.AE.E6.AE.B5.E8.90.BD" name=".E9.AB.98.E4.BA.AE.E6.AE.B5.E8.90.BD">高亮段落</h5> - -<p><code>div class="highlight"</code> 的例子:</p> - -<div class="highlight"> -<p>这是一个段落 CSS 高亮的例子。通过这个方法可以让你的代码引起注意。最初,这个功能是在 <a href="cn/XUL_Tutorial">XUL Tutorial</a> 中添加进来的。</p> - -<pre>这段例子 - 演示了使用 - div - 高亮的情况 -</pre> -</div> - -<p></p> diff --git a/files/zh-cn/archive/meta_docs/devedge/index.html b/files/zh-cn/archive/meta_docs/devedge/index.html deleted file mode 100644 index 45372ce911..0000000000 --- a/files/zh-cn/archive/meta_docs/devedge/index.html +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: DevEdge -slug: Archive/Meta_docs/DevEdge -tags: - - 所有分类 -translation_of: Archive/Meta_docs/DevEdge ---- -<p>This is a temporary Index of the content that has been migrated from DevEdge to this wiki. The original list and mirror are linked below.</p> -<p><b>Migrated documents and migrator</b>:</p> -<ul> - <li><a href="cn/Accessing_Web_Services_in_Mozilla_Using_WSDL_Proxying">Accessing Web Services in Mozilla Using WSDL Proxying</a> (<a>Doron Rosenberg</a>)</li> - <li><a href="cn/An_Interview_With_Douglas_Bowman_of_Wired_News">An Interview With Douglas Bowman of Wired News</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Background-position_Keyword_Order"><code>background-position</code> Keyword Order</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Bookmark_Keywords">Bookmark Keywords</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Browser_Detection_and_Cross_Browser_Support">Browser Detection and Cross Browser Support</a> (<a href="cn/Zameer">Zameer Manji</a>)</li> - <li><a href="cn/Bypassing_Security_Restrictions_and_Signing_Code">Bypassing Security Restrictions and Signing Code</a> (<a>Joel Stanley</a>)</li> - <li><a href="cn/Case_Sensitivity_in_class_and_id_Names">Case Sensitivity in <code>class</code> and <code>id</code> Names</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Choosing_Standards_Compliance_Over_Proprietary_Practices">Choosing Standards Compliance Over Proprietary Practices</a> (<a>Marek Stepien</a>)</li> - <li><a href="cn/Consistent_List_Indentation">Consistent List Indentation</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Core_JavaScript_1.5_Guide">Core JavaScript 1.5 Guide</a> (<a>Joost de Valk</a>)</li> - <li><a href="cn/Core_JavaScript_1.5_Reference">Core JavaScript 1.5 Reference</a> (<a>Deb Richardson</a>)</li> - <li><a href="cn/Correctly_Using_Titles_With_External_Stylesheets">Correctly Using Titles With External Stylesheets</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Defining_Cross-Browser_Tooltips">Defining Cross-Browser Tooltips</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/DHTML_Demonstrations_Using_DOM%2f%2fStyle">DHTML Demonstrations Using DOM/Style</a> (<a>Joost de Valk</a>)</li> - <li><a href="cn/DOM_Client_Object_Cross-Reference">DOM Client Object Cross-Reference</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Fixing_Incorrectly_Sized_List_Item_Markers">Fixing Incorrectly Sized List Item Markers</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Fixing_Table_Inheritance_in_Quirks_Mode">Fixing Table Inheritance in Quirks Mode</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Gecko's_%22Almost_Standards%22_Mode">Gecko's "Almost Standards" Mode</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Gecko's_Almost_Standards_Mode">Gecko's Almost Standards Mode</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Gecko_User_Agent_Strings">Gecko User Agent Strings</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Giving_'cursor'_a_Hand">Giving '<code>cursor</code>' a Hand</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/How_to_Turn_Off_Form_Autocompletion">How to Turn Off Form Autocompletion</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/HTML_Element_Cross_Reference">HTML Element Cross Reference</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/The_Importance_of_Correct_Commenting">The Importance of Correct Commenting</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Images%2c_Tables%2c_and_Mysterious_Gaps">Images, Tables, and Mysterious Gaps</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Incorrect_MIME_Type_for_CSS_Files">Incorrect MIME Type for CSS Files</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Internationalized_Domain_Names_(IDN)_Support_in_Mozilla_Browsers">Internationalized Domain Names (IDN) Support in Mozilla Browsers</a> (<a>Marek Stepien</a>)</li> - <li><a href="cn/Issues_Arising_From_Arbitrary-Element_hover">Issues Arising From Arbitrary-Element <code>hover</code></a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Liberty!_Equality!_Validity!">Liberty! Equality! Validity!</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Mozilla_Web_Developer_Community">Mozilla Web Developer Community</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Notes_on_TLS_-_SSL_3.0_Intolerant_Servers">Notes on TLS - SSL 3.0 Intolerant Servers</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Properly_Configuring_Server_MIME_Types">Properly Configuring Server MIME Types</a> (<a>Deb Richardson</a>)</li> - <li><a href="cn/Properly_Using_CSS_and_JavaScript_in_XHTML_Documents">Properly Using CSS and JavaScript in XHTML Documents</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Standards-Compliant_Authoring_Tools">Standards-Compliant Authoring Tools</a> (<a>Mathieu Deaudelin</a>)</li> - <li><a href="cn/Styling_Abbreviations_and_Acronyms">Styling Abbreviations and Acronyms</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/The_Business_Benefits_of_Web_Standards">The Business Benefits of Web Standards</a> (<a>Tristan Nitot</a>)</li> - <li><a href="cn/The_XSLT%2f%2fJavaScript_Interface_in_Gecko">The XSLT/JavaScript Interface in Gecko</a> (<a>Joost de Valk</a>)</li> - <li><a href="cn/Tips_for_Authoring_Fast-loading_HTML_Pages">Tips for Authoring Fast-loading HTML Pages</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Underscores_in_class_and_ID_Names">Underscores in <code>class</code> and <code>ID</code> Names</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Understanding_Underlines">Understanding Underlines</a> (<a>Serge K. Keller</a>)</li> - <li><a href="cn/Using_Breakpoints_in_Venkman">Using Breakpoints in Venkman</a> (<a>Nickolay Ponomarev</a>)</li> - <li><a href="cn/Using_the_Right_Markup_to_Invoke_Plugins">Using the Right Markup to Invoke Plugins</a> (<a>Joost de Valk</a>)</li> - <li><a href="cn/Using_XPInstall_to_Install_Plugins">Using XPInstall to Install Plugins</a> (<a>Tuqui</a>)</li> - <li><a href="cn/Venkman_Introduction">Venkman Introduction</a> (<a>Nickolay Ponomarev</a>)</li> - <li><a href="cn/Windows_Media_in_Netscape">Windows Media in Netscape</a> (<a>Joel Stanley</a>)</li> - <li><a href="cn/XPInstall_API_Reference">XPInstall API Reference</a> (<a>Rod Whiteley</a>)</li> - <li><a href="cn/XSLT_in_Gecko">XSLT in Gecko</a> (<a>Joost de Valk</a>)</li> -</ul> -<p>DevEdge Content Progress list: <a href="cn/DevEdge/Priority_Content">DevEdge:Priority Content</a><br> - DevEdge Mirror site: <a class="external" href="http://devedge-temp.mozilla.org/" rel="freelink">http://devedge-temp.mozilla.org/</a></p> -<p></p> diff --git a/files/zh-cn/archive/meta_docs/external_redirects/index.html b/files/zh-cn/archive/meta_docs/external_redirects/index.html deleted file mode 100644 index a8e1988c62..0000000000 --- a/files/zh-cn/archive/meta_docs/external_redirects/index.html +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: 'Project:外部重定向' -slug: Archive/Meta_docs/External_redirects -tags: - - 所有分类 -translation_of: Archive/Meta_docs/External_redirects ---- -<p></p><div class="standardSidebar"> - <div><a href="/Help:cn/%E7%9B%AE%E5%BD%95" style="font-size: large;">帮助目录</a></div> - - <dl> - <dt>指导</dt> - <dd> - <ul style="padding: 0;"> - <li><a href="/zh-CN/docs/Project:%E7%8E%B0%E5%9C%A8%E5%B0%B1%E5%BC%80%E5%A7%8B">现在就开始</a></li> - <li><a href="/zh-CN/docs/Project:%E7%BC%96%E8%80%85%E5%90%91%E5%AF%BC">编者向导</a></li> - <li><a href="/zh-CN/docs/Project:%E9%A1%B5%E9%9D%A2%E5%91%BD%E5%90%8D%E6%8C%87%E5%8D%97">页面命名指南</a></li> - <li><a href="/zh-CN/docs/Project:%E6%B6%88%E6%AD%A7%E4%B9%89">消歧义页</a></li> - <li><a href="/zh-CN/docs/Project:%E6%9C%AC%E5%9C%B0%E5%8C%96%E9%A1%B9%E7%9B%AE">开始一项新的mdc本地化项目</a></li> - <li><a href="/zh-CN/docs/Project:%E7%89%88%E6%9D%83">版权和许可</a></li> - </ul> - </dd> - - <dt>参考</dt> - <dd> - <ul style="padding: 0;"> - <li><a href="/zh-CN/docs/Project:Wiki%E6%A0%87%E8%AE%B0%E8%AF%AD%E6%B3%95%E5%8F%82%E8%80%83">维基语法参考</a></li> - <li><a href="/zh-CN/docs/Project:%E8%87%AA%E5%AE%9A%E4%B9%89_CSS_%E7%B1%BB">自定义 CSS 类</a></li> - <li><a href="/zh-CN/docs/Project:%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A8%A1%E6%9D%BF">自定义模板</a></li> - <li><a href="/zh-CN/docs/Project:MediaWiki_%E6%89%A9%E5%B1%95">MediaWiki 扩展</a></li> - <li><a href="/zh-CN/docs/Project:%E5%A4%96%E9%83%A8%E9%87%8D%E5%AE%9A%E5%90%91">外部重定向</a></li> - <li><a href="/zh-CN/docs/Project:%E9%9C%80%E8%A6%81%E9%87%8D%E5%AE%9A%E5%90%91">需要重定向</a></li> - </ul> - </dd> - - <dt>列表</dt> - <dd> - <ul style="padding: 0;"> - <li><a href="/zh-CN/docs/Project:%E6%96%87%E6%A1%A3%E8%AF%B7%E6%B1%82%E5%88%97%E8%A1%A8">文档请求列表</a></li> - <li><a href="/zh-CN/docs/Project:To_Do_List">Editing/review to do list</a></li> - <li><a href="/zh-CN/docs/Project:%E5%B7%B2%E6%9C%89%E5%86%85%E5%AE%B9">合并列表</a></li> - </ul> - </dd> - </dl> - -</div><p></p> -<p>MDC 维基可以重定向到外部网站。在<a>category</a>的页面里,我们使用类这样的链接。这些链接可以让我们连接到不包含在本维基内的外部页面去。</p> -<h3 id=".E5.88.9B.E5.BB.BA.E4.B8.80.E4.B8.AA.E5.A4.96.E9.83.A8.E9.87.8D.E5.AE.9A.E5.90.91" name=".E5.88.9B.E5.BB.BA.E4.B8.80.E4.B8.AA.E5.A4.96.E9.83.A8.E9.87.8D.E5.AE.9A.E5.90.91">创建一个外部重定向</h3> -<p>请按如下做法创建一个外部重定向链接:</p> -<p>首先,创建一个作为外部重定向的页面,用“(external)”作为后缀。例如:<a href="cn/Mozilla_Project_Wiki_(external)">Mozilla Project Wiki (external)</a>。这样的带有“(external)”后缀的页面将被用来作为指针,这个指针的作用在于,当用户点击指向这个页面的链接时,它将把用户带到一个维基以外的页面。这个功能主要用在目录列表里,而对于手工的连接则没什么必要。关于手工外部重定向链接的做法,请查看后面的信息。</p> -<p>Next, edit that page and add the redirect command, followed by the desired target URL enclosed in double square brackets. For example:</p> -<pre> #REDIRECT [[http://wiki.mozilla.org]] -</pre> -<p>Finally, add a category to the redirect page. Note that the category must be - <i> - on the same line</i> - as the REDIRECT command, or the parser will ignore it. For example:</p> -<pre> #REDIRECT [[http://wiki.mozilla.org]] [[Category:Mozilla Project:Other Resources]] -</pre> -<p>When this is finished, simply save the page as normal.</p> -<h3 id=".E6.89.8B.E5.8A.A8.E8.BF.9E.E6.8E.A5.E5.88.B0.E5.A4.96.E9.83.A8.E9.87.8D.E5.AE.9A.E5.90.91" name=".E6.89.8B.E5.8A.A8.E8.BF.9E.E6.8E.A5.E5.88.B0.E5.A4.96.E9.83.A8.E9.87.8D.E5.AE.9A.E5.90.91">手动连接到外部重定向</h3> -<p>You should not create links to external redirects. Instead, just create regular external links to the site. The reason for this is because linking to an external redirect obscures the URL and users won't know where they will end up. This can be pretty annoying, and annoying users is a bad thing.</p> -<h3 id=".E7.BC.96.E8.BE.91.E5.A4.96.E9.83.A8.E9.87.8D.E5.AE.9A.E5.90.91" name=".E7.BC.96.E8.BE.91.E5.A4.96.E9.83.A8.E9.87.8D.E5.AE.9A.E5.90.91">编辑外部重定向</h3> -<p>Since an external redirect page immediately bounces you to the external site, editing the external redirect can be a challenge. To do so, simply add "<code>?action=edit</code>" to the end of the URL for the external redirect page. This is somewhat inconvenient, but it works. For example:</p> -<p><a class="external" href="http://developer.mozilla.org/en/docs/Mozilla_Project_Wiki_%28external%29?action=edit">Example</a></p> -<h3 id=".E9.80.9A.E8.BF.87.E5.A4.96.E9.83.A8.E9.87.8D.E5.AE.9A.E5.90.91.E8.BF.81.E7.A7.BB.E5.88.B0.E5.BC.95.E7.94.A8.E9.A1.B5.E9.9D.A2" name=".E9.80.9A.E8.BF.87.E5.A4.96.E9.83.A8.E9.87.8D.E5.AE.9A.E5.90.91.E8.BF.81.E7.A7.BB.E5.88.B0.E5.BC.95.E7.94.A8.E9.A1.B5.E9.9D.A2">通过外部重定向迁移到引用页面</h3> -<p>If you migrate an article into the MDC check the category page to see if there's an external redirect pointing at it as well.</p> -<p>If there is, check the "what links here" (link in right column, in - <i> - Toolbox</i> - ) to see if any other pages link to that external redirect. If any links exist, change them so they point at the newly migrated article.</p> -<p>When no pages link to the external redirect page, redirect it to the newly migrated article and put it in the "Junk" category (using <span class="nowiki">[[Category:Junk]]</span>) so it can be deleted.</p> -<p>If you have any questions about using External Redirects, feel free to email Deb Richardson at <a class="link-mailto" href="mailto:deb@dria.org">. </a></p> -<p><a class="link-mailto" href="mailto:deb@dria.org"></a></p> diff --git a/files/zh-cn/archive/meta_docs/index.html b/files/zh-cn/archive/meta_docs/index.html deleted file mode 100644 index eb6457acf7..0000000000 --- a/files/zh-cn/archive/meta_docs/index.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: MDN "meta-documentation" archive -slug: Archive/Meta_docs -translation_of: Archive/Meta_docs ---- -<p>Here you'll find archived "meta-documentation"; that is, documentation about how to write documentation on MDN. The articles here are obsolete and should no longer be referenced; we are retaining them here for reference while we migrate some content to new places, but very little of this is useful.</p> -<p></p><div class="row topicpage-table"> - <div class="section"><dl><dl><dt class="landingPageList"><a href="/zh-CN/docs/DevEdge">DevEdge</a></dt><dd class="landingPageList">This is a temporary Index of the content that has been migrated from DevEdge to this wiki. The original list and mirror are linked below.</dd><dt class="landingPageList"><a href="/zh-CN/docs/Project:%E5%A4%96%E9%83%A8%E9%87%8D%E5%AE%9A%E5%90%91">Project:外部重定向</a></dt><dd class="landingPageList">MDC 维基可以重定向到外部网站。在<a>category</a>的页面里,我们使用类这样的链接。这些链接可以让我们连接到不包含在本维基内的外部页面去。</dd></dl></dl></div> - <div class="section"><dl><dt class="landingPageList"><a href="/zh-CN/docs/Archive/Meta_docs/Custom_classes">Project:自定义_CSS_类</a></dt><dd class="landingPageList">下面的内容,将介绍如何在 Devmo wiki 中自定义 CSS 类。无论任何原因,如果您需要为本 wiki 创建自定义 CSS 类,请随时联系 <a>Dria</a>.</dd></dl></div> - </div><p></p> |