Help:参考資料プレビュー

This page is a translated version of the page Help:Reference Previews and the translation is 38% complete.
PD 注意: このページを編集すると、編集内容が CC0 のもとで公開されることに同意したと見なされます。詳細はパブリック・ドメインのヘルプ ページを参照してください。
PD
Example of a Reference Preview.png

参照プレビューは、脚注マーカーの上にカーソルを置くと脚注の内容を小窓に表示する機能です。この機能は MediaWiki 拡張機能である Popups の一部であり、ページ プレビュー に使用されます。 現時点ではベータ版の機能です。 It's currently a default feature on some wikis and a beta feature on many other wikis.

背景

参考資料プレビュー機能はドイツ語話者コミュニティの技術要望リストに対応する目的で、開発はWMDEの技術チームが担当しウィキメディア財団 (WMF) Reading Web チームが支援しました。設計部分は WMFが開発しています。 詳細はMetaにあるプロジェクトのメインページをご参照ください。

Overview

Reference Previews display a preview of the footnote as it appears at the bottom of the page. Within the preview, any and all footnote content (text, images, tables, …) can be displayed. At the top of the pop-up, the reference type is displayed. Reference Previews were designed to create an experience consistent with Page Previews, so that all pop-ups have the same design, regardless of whether you are hovering over a page link or a footnote marker.

 
Reference Previews and Page Previews next to each other.

Interactions

  • Hover over a footnote marker to open the pop-up.
  • Click on a footnote marker to jump to the References section (as you would do if there weren't any pop-ups).
  • For shorter references, the pop-up window adjusts to a smaller size.
  • If the reference size exceeds the maximum pop-up, you can scroll within the preview window.
  • External links inside a reference open in a new tab.

The preview functionality relies on JavaScript. If you don't have JavaScript activated, there is no hover effect, and footnote markers remain simple jump marks.

Opt-out feature

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>.

展開ロードマップ

  •   test.wikipedia.org (testwiki): 2019-02-28
  • ベータ機能の展開:
    •   ドイツ語版ウィキペディア: 2019年4月4日
    •   アラビア語版ウィキペディア: 2019年4月4日
    • ポップアップ拡張子を使用するすべての Wiki(全てのウィキペディアと英語版、ヘブライ語版、中国語版ウィキボヤージュ):2019-10-24
  • default feature:
    •   German, Romanian, Estonian, Basque, Arabic, Hebrew, Gujarati, and Finnish Wikipedia: 2021-05-06
    •   Marathi Wikipedia: 2021-05-10

リンク

出典プレビュー

ページ プレビュー

翻訳をお手伝いください

この機能のソフトウェアメッセージはtranslate wikiで翻訳の対象になっています。できる範囲でお手伝いをお願いします!