耳鼻喉属于什么科| 诡辩是什么意思| 胆固醇和血脂有什么区别| 冰糖和白砂糖有什么区别| 骨膜炎是什么症状| 不屑一顾的意思是什么| 肚脐眼叫什么穴位| 手淫是什么| 阴毛有什么作用| 开塞露是什么成分| 自尊心是什么意思| 观音菩萨代表什么生肖| 御姐范是什么意思| 心脏逆钟向转位是什么意思| 脾胃虚弱能吃什么水果| 什么是尿毒症啊| 优越感是什么意思| 灰指甲是什么样的图片| 1963属什么| 肛门疼痛什么原因| 马加其念什么| 腮腺炎反复发作是什么原因| 2021属什么生肖| 脱落细胞学检查是什么| 湿热吃什么食物| tbc是什么意思| 紫苏是什么植物| 为什么会起鸡皮疙瘩| 冬虫夏草有什么功效与作用| 加湿器用什么水比较好| 大腿外侧疼痛是什么原因| 为什么不建议治疗幽门螺杆菌| 飞是什么结构| 腹泻肚子疼吃什么药| 父亲节送什么礼物比较好| 口头禅是什么意思| 什么样的人容易中暑| reading是什么意思| 脱节是什么意思| 南枝是什么意思| 医保卡是什么| 茜字五行属什么| 62岁属什么| 男人高冷是什么意思啊| 肠胃炎吃什么食物好| 脸无缘无故的肿是什么原因| 醒酒是什么意思| romantic什么意思| 浙江大学什么专业最好| 猪朋狗友是什么意思| 梦见下大雪是什么意思| cas号是什么意思| 锋芒毕露什么意思| ala是什么意思| 桃子不能跟什么一起吃| 男性做彩超要检查什么| o2o什么意思| 诸事不宜是什么意思| 百利甜酒兑什么最好喝| 05是什么生肖| 熊猫血是什么血型| 为什么会得卵巢肿瘤| 角鲨烯有什么作用| 吃头孢不能吃什么水果| 置换是什么意思| 托人办事送什么礼物较好| 提是什么生肖| 什么是猥亵| 虬角为什么要染成绿色| 头疼发烧吃什么药| 什么是黄油| 男生一般什么时候停止长高| 肠炎能吃什么| 舌根发黑是什么原因| 别车是什么意思| 父亲生日送什么礼物| 肚子拉稀是什么原因| b长什么样| 灰指甲用什么药治疗| 脚底红润是什么原因| 府尹相当于现在什么官| 艮为什么读yin| 小脑的功能是什么| 慧命是什么意思| 什么是抗氧化| 天龙八部是什么朝代| 一什么永什么成语| 补充免疫力吃什么好| 磕碜是什么意思| 双龙戏珠是什么意思| 什么东西有助于睡眠| 生化妊娠是什么原因导致的| 中筛是检查什么项目| 为什么下雨后会出现彩虹| 咳嗽吃什么水果| 心眼多是什么意思| 天明是什么意思| 反流性食管炎吃什么中成药最好| 细菌性阴道炎用什么药好| 什么惊什么怪| 缺什么补什么| 人体缺钾会有什么症状| 梦见诈尸预示什么| 我是舅舅的什么人| 东华帝君的真身是什么| 74年大溪水命缺什么| 什么花不能浇水| 春砂仁与什么煲汤最佳| 拔牙什么时候拔最好| 胃切除有什么影响| 什么是树脂材料| 肾气不足有什么症状| 大小休是什么意思| 开放式耳机是什么意思| 一毛不拔是什么动物| 牙龈出血是什么病的前兆| 上面一个日下面一个立是什么字| 囊腺瘤是什么| 脚心疼是什么原因| 办独生子女证需要什么材料| 乳腺增生结节吃什么药效果好| 前凸后翘什么意思| 卵巢早衰吃什么可以补回来| 养阴生津是什么意思| 姜红枣红糖一起煮有什么效果| xanax是什么药| 大泽土是什么生肖| 咖喱是什么东西| 灌肠是什么感觉| 日本豆腐是什么材料| 1987年五行属什么| 小腿肌肉痛是什么原因| whan是什么意思| 煎熬是什么意思| 夏威夷披萨都有什么配料| 感冒嗓子疼吃什么消炎药| 阴唇为什么一大一小| 山魈是什么| 长期便秘喝什么茶好| 德国是什么民族| 升白细胞的针剂叫什么| 不堪一击是什么意思| 征求是什么意思| drg什么意思| 面粉是什么做的| 荀彧字什么| 经期吃什么让血量增加| 辛弃疾字什么| 妗子是什么意思| 酒品是什么意思| 白带发黄粘稠是什么原因| 喉咙肿大是什么原因| 木隶念什么| 数据中心是什么| 鸡腿炒什么菜好吃| 晨起口干口苦是什么原因| 心跳太快吃什么药| 1月10号什么星座| 黑豆腐是什么做的| 什么样的孕妇容易翻盘| 什么动物最安静| 38年属什么生肖| 感染性腹泻吃什么药| 肢解是什么意思| 保底和底薪有什么区别| 吃什么降肌酐| 亚甲减是什么意思| 什么四海| 血尿是什么原因引起的男性| 清凉的什么| 孕中期失眠是什么原因| 什么然起什么| 不什么好什么| b12是什么| 基础病是什么意思| 话说多了声音嘶哑是什么原因| 丰盈是什么意思| 人参果吃了有什么好处| 乳头出血是什么原因| 屎发黑是什么原因| 鬼打墙是什么意思| hbalc是什么意思| 真菌是什么原因引起的| 温开水冲服是什么意思| 红红火火是什么生肖| 10月出生的是什么星座| 山楂片泡水喝有什么好处| 房颤用什么药| ssa抗体阳性说明什么| 抑郁症是什么意思| 石斤读什么| 大战三百回合是什么意思| 蟑螂屎长什么样| 首鼠两端什么意思| 什么情况下需要安装心脏起搏器| 洋辣子蛰了用什么药| 吃什么能增强记忆力| 慢性胃炎要吃什么药| 坐月子能吃什么| 带状疱疹可以吃什么水果| 火烧云是什么意思| 不遗余力什么意思| 胃胀吃什么| 晚上夜尿多是什么原因| 什么人容易得脑溢血| 肚子不舒服吃什么药| 同病相怜是什么意思| 翻江倒海是什么生肖| 越南有什么特产| 便秘是什么引起的| 渐冻症是什么病| 止咳平喘什么药最有效| 黄热病是什么病| 喝酒脸红是缺少什么酶| 胰岛素抵抗是什么意思| 荔枝有什么功效| 梦到大牙掉了一颗是什么意思| 心率低40多吃什么药| 网拍是什么意思| 薄情是什么意思| 脱敏处理是什么意思| 新生儿眼屎多是什么原因| 牙膏什么牌子好| fy是什么意思| 减肥期间可以喝什么饮料| lck是什么意思| 人工流产后可以吃什么| 7月15日什么星座| 蓝风铃香水什么味道| 样本是什么意思| 血燥吃什么好| 玉皇大帝叫什么名字| 脸上白了一小块是什么原因| 男属鼠的和什么属相最配| 桃花有什么颜色| 滥竽充数的充是什么意思| 头孢不能和什么一起吃| 白芷有什么作用与功效| 紫苏泡水喝有什么好处| 日加西念什么| 6月13号是什么星座| 临床路径是什么意思| 仲字五行属什么| 未时右眼跳是什么预兆| c3是什么| pc是什么单位| 吃什么提神醒脑抗疲劳| 女人吃什么能活血化瘀| 什么火灾不能用水扑灭| 脸黄是什么原因造成的| 痔核是什么| 什么叫留守儿童| 盐酸氯米帕明片有什么作用| 为什么一来月经就拉肚子| 结肠多发憩室是什么意思| 五彩的什么| 史记是什么体史书| 阳痿有什么症状| 茱萸是什么意思| 甯是什么意思| 快乐大本营为什么停播| 一月十八是什么星座| 卯宴席是什么意思| 乘风破浪是什么意思| 百度Jump to content

【图】鲍春来身高成标准 明星纷纷与他作比较

From Meta, a Wikimedia project coordination wiki

Reference Previews

[edit]
百度 正如美国商界人士近日指出的那样,对中国输美商品加征关税会伤害那些向中国出售零部件的美国企业。

The Reference Previews feature displays a preview of a reference within text when hovering over a footnote.

Background: Clicking on a footnote discards the reader's previous position on a wiki page, making it difficult to continue reading after consulting the footnote. A proposed solution to this problem is to offer previews for footnotes. Read more about the history of the project.

Scope: This project is scoped to desktop only; the problem is already solved on mobile.

Coordination and implementation of this wish was performed by the Technical Wishes team at Wikimedia Deutschland, in cooperation with the WMF's Reading Web team.

Status and next steps

[edit]
  • Green tickYMay 6, 2021: Deployed as a default feature on some wikis:
    • on German, Marathi, Romanian, Estonian and Basque Wikipedia – wikis without a default gadget for previewing references
    • on Gujarati, Hebrew, Arabic Wikipedia – wikis with a default gadget for previewing references
    • on Finnish Wikipedia – wikis using citation classes which can be used to display reference types in the pop-ups
  • Green tickY August 19, 2021: Deployed as a default feature on German Wikivoyage
  • Green tickY November 21, 2023: Deployed as a default feature on all remaining wikis using the Popups extension (i.e. all other Wikipedias plus en, he and zh Wikivoyage)
  • Green tickYFebruary, 2024: In February 2024, Reference Previews became the default for previewing references on some Wikipedias where Reference Tooltips was a default gadget[1]:
    • Some wikis removed the default flag for Reference Tooltips themselves, following announcements to village pumps on all 70 affected Wikipedias.
    • On 21 wikis, global sysops removed the default flag (T355312). Those are wikis that have three or less interface-admins and are also global sysop wikis: af, as, az, ba, be, ce, ckb, hi, hy, ilo, kk, kn, ks, lez, mai, myv, ne, ny, pa, tg, udm. This change was announced on January 23 (ny on Feb 16), with the option to opt out until February 12. Onlyla Wikipedia opted out.
    • To 34 Wikipedias, we suggested they remove the default flag themselves. Those are wikis that have four or more interface-admins, and/or opted out of being a global sysop wiki. Those are: bs, ca, cs, da, en, es, fa, gl, hu, id, it, ja, ka, ko, lv, ml, ms, nl, pl, pt, ru, sh, simple, sk, sr, sv, ta, th, tr, uk, ur, uz, vi, zh-yue. Those wikis can ask the Technical Wishes team for support.

Look and functionality

[edit]

Overview

[edit]

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 (more info).

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. The feature is part of the MediaWiki extension Cite, responsible for handling references[2].

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

[edit]

Reference Previews are activated by default for everyone (logged-in users, anonymous contributors, 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 contributors/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.

Relation to Page Previews

[edit]
  • Both Reference Previews and Page Previews are using the Popups extension.
  • You can enable Reference Previews even if Page Previews are disabled, and vice versa.

Exposed reference types

[edit]

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

We expose the specific reference types because citations and external links play a fundamental role in whether readers trust an article, and readers trust a cited source more when it is perceived as authoritative and accessible (allowing them to verify it independently). Initial tests have supported our assumption that exposed reference types

  • help readers decide more quickly if they want to have a closer look at the article's trustworthiness. For example, a journal publication is deemed more trustworthy than a blog post. This improves the information's reliability and transparency.
  • serve as an indicator for the accessibility of the referenced material. For example, if the source material is on the web it will likely be easy to access; if it's a book, less so.
  • raises awareness among readers of the fact that articles are supported by various types of reference material.

How to assign a reference type to your reference

[edit]

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 (more info). 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>.

Relation to gadgets

[edit]
Reference Tooltips gadget on en.wikipedia.org
Gadget on nl.wikipedia.org

Differences from Reference Tooltips

[edit]

The Reference Tooltips gadget written by Yair rand is very similar to Reference Previews. Currently, around 100 wikis are using a (modified) copy of this gadget as the default feature for previewing references (December 2023). Two important and notable differences between this gadget and the Reference Previews feature are:

  • Reference Previews exposes the reference type(s), which helps readers more quickly evaluate the trustworthiness of an article (see above).
  • Reference Previews' design is consistent with that of Page Previews to create a consistent user experience; both previews are toggled on and off together.

Why we built a new feature

[edit]

Reference Previews offer an easy way to show reference previews to readers of wikis that aren't using Reference Tooltips (or a variation). They are not intended to replace the Reference Tooltips gadget. Wikis using Reference Tooltips as a default gadget retain it as a default gadget unless they decide otherwise. Individual users who prefer Reference Tooltips can simply enable that gadget, whereupon Reference Previews won't be shown.

The Reference Tooltips gadget is installed on many wikis and is enabled by default on several, allowing readers to use it as well. But most wikis don't have such a gadget as a default. In the 2017 Technical Wishes survey on German Wikipedia, the dewiki community requested a reference preview feature owing to several issues with the gadget on dewiki, some of which follow:

  • the fork used on dewiki was practically unmaintained
  • the font size was too small
  • symbols (such as the PDF icon) were not displayed in previews

At the time at which the team evaluated the wish for implementation, a preview feature – Page Previews – had already been developed as an integrated functionality of MediaWiki, but this feature did not include previews of references. Therefore the team decided that it made sense that this additional feature would also be developed and maintained by WMF/WMDE, and provided to the wiki communities. Reference Previews is therefore not a new feature, per se, but complements the existing Page Previews feature, thus creating a consistent reading experience and a more holistic approach to previews.

Project history

[edit]

This wish was the top-ranked request from the summer 2017 wishlist survey of the German-speaking community, but it had been under discussion since 2014 on Phabricator (T67114), and the functionality has been implemented as a gadget used on many wikis (read more).

Research

[edit]

We gathered insights and feedback on the topic both online and in conversations with Wikipedians at Wikimania and German WikiCon 2017. Main outcome:

  • This wish was not considered controversial. It would be good to have pop-ups as a feature for everyone; several wikis already had gadgets with that functionality.
  • The enwiki and nlwiki gadgets (Reference Tooltips) were cited several times as good examples.
  • The look and behavior of the initial designs were received well in tests with readers.

Beta phase

[edit]

Where and when Reference Previews were deployed to wikis as a beta feature:

  • test.wikipedia.org: 2025-08-05
  • German Wikipedia: 2025-08-05
  • Arabic Wikipedia: 2025-08-05
  • All other Wikipedias: 2025-08-05
  • English, Chinese and Hebrew Wikivoyages: 2025-08-05

What was changed after the beta release?

After the first release of Reference Previews as a beta feature, we were able to gather a significant amount of feedback. Based on this feedback, parts of the feature were changed, such as:

  • Increased maximum height to reduce scrolling (T246029)
  • Add a cog wheel inside the popup for settings (T234205)
  • Fixed issues with scrollbar (T249530)
  • Removed fixed heading in preview window (T249548)
  • Removed "jump to reference" link (T265482)
  • Click behavior:
    • On click the page jumps down to the References section (T265482)
    • Links to the same page open in same tab (T215419)
    • Internal, sister-wiki and interwiki links open in same tab (T239230)

Frequently Asked Questions

[edit]
  • Height and scrolling: We received a lot of feedback on the size of the popups. While some people asked for smaller popups to make the features less intrusive, in fact most wanted the popups to be bigger to avoid having to scroll. In response to this feedback, we increased the popups' maximum height, minimizing the appearance of scrollbars – the popups now adjust automatically to the length of the reference, only adding a scrollbar if the reference text exceeds the maximum length.
  • White space: Previewing a reference is very similar to the experience of previewing a linked page. That's why Reference Previews were designed to be consistent with Page Previews. Both employ more white space and padding than some are accustomed to, but all in all it makes for an easier reading experience.
  • Reference type shown at the top: read more about it here.

Can I choose to have previews by click rather than by hover?

[edit]

No, and here's why. When the beta feature was first released, pop-ups appeared when clicking and when hovering over the footnote marker. After usability testing we changed that behavior: When you hover over the footnote marker, a pop-up appears; when you click on the marker, you jump down to the References section. Testing showed this is the behavior most people expect. We implemented the behavior that works best for most people instead of adding another setting, due to the fact that more settings add undue complexity to the features and code.

Similarly, the team who built Page Previews carefully considered the length of the delay before showing a preview. Their goal was to minimize the accidental or unintended previews popping up on the screen. Reference Previews use this same delay.

Do Reference Previews support nested content?

[edit]

They do, but you won't see pop-ups within pop-ups. Instead, you can jump to the linked content by clicking. This decision was made to avoid confusion which links within the preview create additional previews and which links do not.

Are Reference Previews opt-in or opt-out for me?

[edit]
  • Reference Previews are opt-out for everyone. You can disable them in your preferences.
  • If you have the gadget Reference Tooltips or Navigation Popups enabled, you won't see Reference Previews.
  • Read more about this in this section.

Not all footnotes are references. Why is the feature called Reference Previews?

[edit]

We discussed whether it should be called be Footnote Previews, since the feature previews not only formal references but all kinds of footnotes. Nonetheless, we chose "references" for the following reasons:

  • Footnotes are based on references: to create a footnote with wikitext, you use the <ref> (references) tag.
  • When you insert a citation with Visual Editor, the word "footnote" doesn't appear. Instead, the interface mentions citations and references.
  • The gadget in use across many wikis is also called Reference Tooltips.

What do I do when the footnote in the popup isn't a reference but a note?

[edit]

In that case, you can assign the class "Note" to your reference, which will change the heading. Read more about how to assign a reference type to your reference.

Are Reference Previews compatible with screen readers?

[edit]

Yes. Right now, when using Reference Previews, your screen reader handles references just as if there were no pop-up; it simply reads the link aloud, and when you click, it takes you to the corresponding reference in the References section.

[edit]
A little video explaining the problem and the solution
[edit]
  • Page Previews are activated on all Wikipedias and some Wikivoyages. Several wikis have gadgets for page previews.
  • Footnote highlighting, implemented by the Technical Wishes team, makes it easier to find your way back up from a footnote.

Feedback

[edit]

As always, we welcome your feedback on the talk page!

Footnotes

[edit]
  1. In February 2024, Reference Previews was available on the majority of Wikipedias, and some Wikivoyages, but it wasn't a default feature everywhere. There were many wikis (all of them Wikipedias) that could use Reference Previews because they have the Popups extension installed, but most users didn't see them, because those wikis have a gadget for previewing references set as the default. Using the same feature across wikis will make the user experience more consistent and the software easier to maintain overall. That's why we suggested that those 70 Wikipedias remove that default flag from their gadget to show Reference Previews as the new default for reference popups. However, contributors who want to keep using the gadget, can still enable it in their personal settings.
  2. Up until April 25, it was part of the Popups extension, which is also used for Page Previews popups.
秋天有什么 林黛玉是什么病 运营商是什么意思 三尖瓣关闭不全是什么意思 妇乐颗粒的功效能治什么病
香叶是什么树叶 1996年出生属什么 甲低有什么症状表现 牙膏属于什么类商品 皮试是什么
胃胀是什么感觉 香蕉皮擦脸有什么作用与功效 全血是什么 两栖动物是什么意思 碘伏遇到什么会变白
绿原酸是什么 apm是什么牌子 泡菜生花用什么方法可以去掉 根管治疗后要注意什么 眉州东坡是什么菜系
36年属什么生肖hcv9jop4ns6r.cn 副镇长是什么级别hlguo.com 处女座和什么星座最配chuanglingweilai.com 甲硝唑的副作用是什么bjhyzcsm.com 网络拒绝接入什么意思imcecn.com
嗔恨心是什么意思hcv8jop1ns9r.cn 肌酐偏低是什么原因hcv9jop4ns8r.cn 今年66岁属什么生肖的hcv8jop1ns9r.cn 脚脱皮用什么药bysq.com 让姨妈推迟吃什么药hcv8jop0ns9r.cn
卧蚕是什么意思jiuxinfghf.com 脾胃湿热喝什么茶hkuteam.com 孕妇吃什么好hcv7jop5ns1r.cn 5D电影是什么效果hcv8jop9ns1r.cn 彩虹像什么xianpinbao.com
支气管炎吃什么药好得快hcv9jop5ns7r.cn 荷花像什么hcv8jop6ns3r.cn 追光是什么意思hcv9jop6ns7r.cn 玉米糁是什么huizhijixie.com 遗精是什么意思hcv9jop1ns6r.cn
百度