Jump to content

Help:Diff/zh: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
Thehelpfulbot (talk | contribs)
→‎Width: Replacing {{H:f}} with {{languages}}
Replaced content with "{{MovedToMediaWiki}}"
Tag: Replaced
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{MovedToMediaWiki}}
{{hh/zh|reader toc}}
'''请参考[[Help:Diff]]进行翻译。'''
----

在维基百科中可以比较一篇文章的两个'''不同修订版本之间的差异'''。 它可以在[[hekp:页面历史|页面历史]]中点击“当前”或“先前”后看到或者在[[help:Recent changes/zh|最近更改]]中使用。此外,在[[帮助:编辑冲突|编辑冲突]]时也会出现。

在页面的两侧会显示两个版本的内容。老版本在左侧以黄色显示,而新版本在右侧以绿色显示。 被删除的内容会在老版本中以红色显示。每行上会显示出两个版本之间的差异。

在两个不同版本的上部会显示修订的时间,以及到该用户页以及用户对话页的链接。而且还有一个到用户贡献页的链接。对于管理员,在新版本一侧会显示一个[[帮助:如何把页面恢复到早期版本|回退]]链接,可以直接恢复到早期的版本。

另外,也会在用户名的下面显示两个版本的[[帮助:编辑摘要|编辑摘要]]。

下面是一个例子:

{| width=100%
|- align="center" bgcolor="#cccccc"
| width=50%|<strong>11:27 2004年7月6日的修订版本</strong><br/>
[[User:Angela|Angela]] ([[User_talk:Angela|Talk]] | [[Special:Contributions/Angela|贡献]])<br/>
[[帮助:编辑摘要]]
|
<strong>当前修订版本</strong><br/>
[[User:Tim Starling|Tim Starling]] ([[User_talk:Tim Starling|Talk]] | [[Special:Contributions/Tim_Starling|贡献]])&nbsp;&nbsp;&nbsp;&nbsp;'''[''''''[[Main Page|rollback]]'''''']'''<br/>
恢复到Angela所作的最后一次编辑
|}

==Width==

After the table of differences, the latest of the two compared versions is shown fully.

In the case of the Classic skin with quickbar, the diff page does not have the quickbar, to provide more space. Therefore the diff page is also useful for viewing the page on full screen width, without changing the preferences.

With the Monobook skin the panels on the left are also on the diff page.

[[Page widening|Page widening]] is more likely on a diff page, because there are two columns, but also because URLs (long ones are often the cause of page widening) are not hidden.
{{languages}}

Latest revision as of 00:11, 20 March 2023