帮助:参考文献预览

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Help:Reference Previews and the translation is 40% complete.
PD 注意:當您編輯本頁面時,即同意以CC0協議授權您的貢獻。您可以在公有領域说明页面找到更多信息。
PD
Example of a Reference Preview.png

当您将鼠标悬停在脚注标记上时,参考文献预览功能将显示该脚注的预览。此功能是MediaWiki扩展Popups 的一部分,该扩展用于页面预览 。 目前它是一些wiki上的默认功能,而在许多其他wiki上是Beta功能。

背景

参考预览功能旨在实现一个愿望,从德语社区的技术愿望清单,是由wmde的技术团队,与wmf的阅读网络团队的支持。WMF正在开发此功能的设计。 您可以在元维基上的项目主页面获取更多信息。

概述

参考预览显示脚注出现在页面底部时的预览。在预览内,可以显示任何和所有脚注内容(文本,图像,表格,…)。在弹出窗口的顶部,将显示引用类型。 参考预览是为了创造一种体验符合页面预览,以便所有弹出窗口都具有相同的设计,而不管您是悬停在页面链接上还是脚注标记上。

引用预览和页面预览相邻。

交流

  • 将鼠标悬停在脚注标记上以打开弹出窗口。
  • 单击脚注标记以跳转到引用部分(如果没有任何弹出窗口,您也会这样做)。
  • 对于较短的引用,弹出窗口调整为较小的大小。
  • 如果引用大小超过最大弹出式,您可以在预览窗口内滚动。
  • 引用内部的外部链接在新选项卡中打开。

预览功能依赖于JavaScript。如果没有激活JavaScript,就没有悬停效果,脚注标记仍然是简单的跳转标记。

选择退出功能

Reference Previews will be activated by default for everyone (logged-in users, logged-out/anonymous users, readers of a wiki).

  • You can toggle them off under the Appearance tab in your preferences.
  • You can also open this preference tab directly by clicking on the cog wheel in the pop-up.
  • Anonymous users/logged-out users/readers can turn the previews off by clicking the cog wheel and toggling the setting. This saves the preference via a cookie. They can be turned back on using the “Edit preview settings” link in the website footer.

Please note:

  • If you use the Reference Tooltips or Navigation Popups gadget – either because it’s a default gadget on your wiki or because you enabled it individually – you won’t see Reference Previews.
  • For wikis where Reference Previews are still a beta feature, you need to activate it in your beta settings.

Exposed reference types

At the top of each pop-up, Reference Previews prominently indicate what kind of source is being referenced. We currently define six reference types:

  • Reference (generic)
  • Web reference
  • Journal reference
  • Book reference
  • News reference
  • Note

How to assign a reference type to your reference

Each reference is defined by CSS classes, e.g., <cite class="journal"> for journal references. These classes are set in the ‎<cite> element in a reference's content. References without cite tags and classes (e.g., plain ‎<ref> tags) are displayed as "Reference".

To assign a reference type:

  • The easiest way is to use a citation template that includes the cite class. The English cite templates, for example this one, specify the cite class already, and derivations of these templates are used in many wikis. Other templates can also be updated to do so.
  • If you're not using templates to add references, another option is to add a cite class directly into a ref tag, like so: <ref><cite class="book">reference content</cite></ref>.

部署路线图

  • Yes test.wikipedia.org (testwiki): 2019-02-28
  • beta feature on:
    • Yes German Wikipedia: 2019-04-04
    • Yes Arabic Wikipedia: 2019-04-04
    • all wikis that use the Popups extension (all Wikipedias & en, he and zh Wikivoyages): 2019-10-24
  • default feature:
    • Yes German, Romanian, Estonian, Basque, Arabic, Hebrew, Gujarati, and Finnish Wikipedia: 2021-05-06
    • Yes Marathi Wikipedia: 2021-05-10

链接

Reference Previews

Page Previews

帮助翻译

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