甲状腺低回声什么意思| 分泌物呈褐色是什么原因| 吃海带有什么好处和坏处| 什么叫高血脂| 抛砖引玉什么意思| 味蕾是什么意思| 为什么女人阴唇会变黑| 宝宝手心热是什么原因| 南京是什么省| 七月六号是什么日子| 一什么老虎| 颈椎应该挂什么科| 阳虚和阴虚有什么区别| 船舷是什么意思| 什么农药最毒| 匮乏是什么意思| 扁桃体肥大是什么原因造成的| 急性尿道炎吃什么药| 肾病什么症状| 刘亦菲为什么不结婚| 筋头巴脑是什么东西| 经常泡脚有什么好处| 送女生什么礼物好| 财不外露什么意思| 七点半是什么时辰| vin是什么| hl是胎儿的什么| 逸搏心律什么意思| 迷离的眼神什么意思| px是什么单位| 什么品牌的母婴用品好| 纬字五行属什么| 白毫银针属于什么茶| 气血不足吃什么补得快| 小孩感冒发烧吃什么药| 手机电池为什么会鼓包| 虚劳病是什么病| 八字刘海适合什么脸型| 头孢和什么药不能一起吃| 考生号是什么| 开字五行属什么| 画肖指什么生肖| 白头翁是什么动物| 双子女和什么星座最配| 生目念什么| 二倍体是什么意思| 为什么会连续两天遗精| 子宫内膜异位是什么原因造成的| 丝瓜和什么相克| 益生菌什么牌子的好| 清创是什么意思| 关联词是什么意思| 处事不惊是什么意思| 中医湿气重是什么意思| 搬家有什么讲究和忌讳| 男人后背有痣代表什么| 眼痒痒是什么原因引起| 华山在什么地方| 肿瘤手术后吃什么好| 6.27什么星座| 什么是造影手术| 规格是什么| 氯雷他定片主治什么| 腊月初八是什么日子| 暴发火眼吃什么药| 痞是什么意思| 见风使舵是什么生肖| 456是什么意思| 戴银镯子变黑是什么原因| 1月20是什么星座| 三个马念什么| 河南为什么叫中原| 怀孕前3个月需要注意什么| 女人什么时候最容易怀孕| 羡慕不来是什么意思| 昔字五行属什么| 什么是便血| 阴道口长什么样| 明眸皓齿是什么意思| 养胃早餐吃什么好| m和s是什么意思| 关口是什么意思| 1月25号是什么星座| 脉搏弱是什么原因| 天津有什么好吃的| 红豆吃多了有什么坏处| 什么药可以消肿| 木薯粉可以做什么美食| 淋巴细胞是什么| 梅毒什么样| 支原体感染吃什么药| 99属什么生肖| 狮子座女和什么座最配| 官杀旺是什么意思| 什么牌子的冰箱最好| 独守空房是什么意思| 灰指甲有什么特效药可以治好| 今年男宝宝取什么名字好| pr医学上是什么意思| 什么是roi| 一月十五号是什么星座| 二婚是什么意思| 罗刹是什么意思| 诚不我欺什么意思| 生气会得什么病| 大三阳是什么| 6是什么意思| 翘嘴鱼吃什么食物| 办电话卡需要什么| 手足口病有什么危害| 抽血化验能查出什么| 阴虱卵长什么样图片| 驾临是什么意思| 什么树最值钱| 测心率手表什么牌子好| 检查痛风挂什么科| 亲夫是什么意思| 北上广是什么意思| 女性白带有血丝是什么原因| 跳爵士舞穿什么衣服| 看脑血管挂什么科| 阳痿吃什么| 甲低是什么原因造成的| flair是什么意思| 奶粉中的opo是什么| 树叶像什么比喻句| 眼底出血有什么症状| 脾虚湿盛吃什么药| 什么方法不掉头发| 便溏是什么意思| 1900年属什么生肖| 小月子同房有什么危害| 脚心凉是什么原因| 贝壳像什么| 沉默不是代表我的错是什么歌| 肾脏彩超能检查出什么| 盐洗脸有什么好处| 望而生畏是什么意思| 盐卤是什么| 喝雄黄酒是什么节日| 去新加坡买什么| 贫血吃什么补血效果最好| 乳房疼痛什么原因| 什么叫高血脂| 什么是阴阳| 榴莲有什么作用| 伤口感染化脓用什么药| 一什么蜘蛛| 孕妇吃火龙果有什么好处| 微信备注是什么意思| 狐仙一般找什么人上身| 什么运动可以长高| 玉兰花什么季节开| 布病挂什么科| 集体户口和个人户口有什么区别| 择期手术是什么意思| 口腔上火吃什么药| lalabobo是什么牌子| 高血压挂什么科| 什么是躯体化症状表现| 什么看果园越看越少| 七手八脚是什么意思| 万里长城是什么生肖| 梦见好多蛇是什么意思| 为什么月经一次比一次提前| 扁桃体看什么科室| visa卡是什么意思| 深渊是什么意思| 卯木代表什么| 黄芪煲汤和什么搭配| 发烧看什么科| 胃反流是什么原因| 吃什么提高免疫力和增强体质| 桑叶长什么样子图片| 腰间盘突出睡觉什么姿势好| 寻常疣用什么药膏除根| 什么属相不能挂山水画| 婴儿血小板低是什么原因| 心口痛是什么原因引起的| 尿路感染吃什么药最好| 哥们是什么意思| 更年期是什么时候| 小腿细是什么原因| 长痘痘是什么原因| 康桑密达是什么意思| 想念是什么意思| 4岁小孩流鼻血是什么原因| 熊是什么意思| 内膜厚是什么原因| 小狗的尾巴有什么作用| 颢读什么| 脚旁边骨头突出叫什么| 80年属什么| r一谷氨酰转移酶高说明什么| 蛇属于什么动物| 曹操是什么样的人| 手发抖是什么原因| ab血型和o型生的孩子是什么血型| 支气管发炎用什么药| 补骨脂是什么东西| 膝关节置换后最怕什么| 3月27日什么星座| 23年属什么| 心脏痛挂什么科| 428是什么意思| rf是什么意思| 执着什么意思| 血小板计数偏高是什么原因| 看脊椎挂什么科| 楞头青是什么意思| 相夫教子是什么意思| 黄连治什么病最好| 筋膜炎吃什么药最有效| 贫血缺什么| 为什么会岔气| 领证需要准备什么| 可孚属于什么档次| 孕妇放屁多是什么原因| 吩可以组什么词| 口干口苦口臭是什么原因引起的| 日本豆腐是用什么做的| 天麻有什么作用| 梦见背死人是什么意思| 复查肺结节挂什么科| 张衡发明了什么东西| 经常耳鸣是什么原因| 经期可以喝什么茶| 飞检是什么意思| 种草是什么意思| joola是什么牌子| 大米粉做什么好吃| 刀郎和那英是什么关系| 什么是有机磷农药| 脊髓灰质炎是什么病| 晚上喝蜂蜜水有什么好处和坏处| 梦见家里死人了代表什么预兆| 无创和羊水穿刺有什么区别| 小腹疼痛挂什么科| 一什么尾巴| 牛肉炒什么菜好吃| 遂成大学的遂是什么意思| 全身疼是什么病| 头皮挂什么科| 小指麻木是什么原因| 颈动脉斑块吃什么药效果最好| 尿路感染是什么引起的| 儿童热感冒吃什么药| 80年属什么生肖| 界定是什么意思| 什么是对称轴| 下午5点半是什么时辰| 什么减肥最快不反弹| 为什么的拼音| 田加比念什么| 西游记是一部什么小说| 阴虚什么意思| 夏天什么颜色最防晒| 小满是什么季节| 女人切除子宫有什么影响| 喝什么茶养肝护肝最好| 闰月给父母买什么| 桃园三结义是什么意思| mido手表什么牌子| 痰湿是什么意思| 百度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-07
  • German Wikipedia: 2025-08-07
  • Arabic Wikipedia: 2025-08-07
  • All other Wikipedias: 2025-08-07
  • English, Chinese and Hebrew Wikivoyages: 2025-08-07

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.
舌苔厚白应该吃什么 拉肚子喝什么水 台湾为什么叫4v 最近老是犯困想睡觉是什么原因 珅是什么意思
脑血管堵塞是什么症状 401什么意思 一天当中什么时候血压最高 筋膜炎吃什么药最有效 什么是备皮
三顾茅庐是什么意思 抖腿是什么原因 下嘴唇起泡是什么原因 喝酒喝多了有什么危害 dbm是什么意思
长期口腔溃疡挂什么科 醋酸视黄酯是什么 庙是什么意思 忽必烈和成吉思汗是什么关系 肠易激综合症什么症状
920是什么意思hcv8jop9ns4r.cn 心肌酶高是什么意思hcv7jop6ns3r.cn 红豆为什么代表相思tiangongnft.com ab什么意思96micro.com 精血是什么hcv8jop8ns8r.cn
茄子是什么形状hcv7jop9ns3r.cn 心疼是什么原因hcv8jop0ns8r.cn 女人做爱什么感觉hcv8jop3ns3r.cn 梦见跟妈妈吵架是什么意思hanqikai.com 传教士是什么意思hcv8jop5ns1r.cn
葵瓜子吃多了有什么危害hcv9jop1ns2r.cn 全血是什么意思huizhijixie.com 脑病科是看什么病的hcv9jop1ns1r.cn 曱亢有什么症状tiangongnft.com visa卡是什么hcv9jop4ns5r.cn
0.8是什么意思hcv7jop9ns6r.cn 梦见自己丢钱了什么征兆hcv9jop1ns5r.cn 精炼植物油是什么油hcv9jop0ns3r.cn 小米叫什么hcv8jop4ns5r.cn 梦见死猪是什么意思hcv8jop9ns1r.cn
百度