Help:Reference Previews/zh

当您将鼠标悬停在脚注标记上时，参考文献预览功能将显示该脚注的预览. 此功能是MediaWiki扩展Popups的一部分，该扩展用于页面预览. 它目前还处于测试阶段.

背景
The Reference Previews feature aims to fulfill a wish from the German-speaking community's Technical Wishlist and is developed by WMDE's Tech team, with support from the WMF’s Reading Web team. The design for this feature is being developed by the WMF.

您可以在元维基上的项目主页面获取更多信息.

激活功能
Reference Previews will first be available as a beta feature. In order to use it, you have to
 * be logged in and tick the checkbox for "Reference Previews" in your beta feature settings,
 * disable Navigation Popups (otherwise, Reference Previews won't show),
 * disable the Reference Tooltips gadget (recommended, because otherwise two pop-ups will appear).

Look and behavior
Scope of the very first version of this feature:
 * The pop-up opens when you hover over or when you click on a footnote marker.
 * It gives a preview of the footnote as it is shown at the bottom of the page. Inside the preview, all kinds of footnote content (text, images, tables, …) can be displayed.
 * Reference Previews look like Page Previews. This way, all pop-ups have the same design, no matter if you hover over a page link or a footnote marker.
 * At the top of the pop-up, the reference type is shown (more info below).
 * For short footnotes, the pop-up window adjusts to a smaller size. If the footnote size exceeds the maximum pop-up size, you can scroll to read the whole footnote.
 * Clicking on the link "Jump to reference" brings you to the actual footnote in the footnote section.
 * Links that are part of a footnote open in a new tab.
 * After the beta phase, a settings cog will take you to your user settings for this feature.

显示引用类型
First tests have shown that displaying the type of a reference can help readers evaluate its trustworthiness more quickly; e.g. a journal publication is more trustworthy than a blog post.

This is how the categorization works:


 * Currently there are four types of references defined: Web Reference, Journal Reference, Book Reference and News Reference. Apart from that there is always a generic "default" type, which is simply named Reference.
 * Technically speaking, the type of a reference is defined by CSS-classes, e.g.  for journal references. These classes are set in the   element in a reference's content (more info).
 * On most wikis, you can assign a class to a reference by using templates. For example, the English  templates specify their respective class already. Classes can be added to other templates as well.
 * Alternatively, you can add a cite class directly into a ref tag, e.g..
 * References without cite tags and classes (e.g. plain tags) are shown as "Reference".

JavaScript
The preview uses JavaScript. If you don't have JavaScript activated, you'll get the current view: Footnote markers are jump marks and there's no preview.

部署路线图

 * ✅ test.wikipedia.org : 2019-02-28
 * beta feature on :
 * ✅ German Wikipedia: 2019-04-04
 * ✅ Arabic Wikipedia: 2019-04-04
 * all wikis that use the Popups extension (all Wikipedias & en, he and zh Wikivoyages): 2019-10-24

链接

 * extension manual on MediaWiki.org

Reference Previews
 * project board on Phabricator
 * main project page on Meta
 * central feedback page on MediaWiki.org

Page Previews
 * main project page on MediaWiki.org
 * central feedback page on MediaWiki.org

帮助翻译
此功能的软件消息可在翻译wiki上翻译. 我们欢迎您任何形式的帮助！