Jump to content

WMDE Technical Wishes/Sub-referencing/hr

From Meta, a Wikimedia project coordination wiki
This page is a translated version of the page WMDE Technical Wishes/Sub-referencing and the translation is 49% complete.
Outdated translations are marked like this.
Podreferencije
StatusU tijeku
OriginAnkete o tehničkim željama: 2013., 2015., 2022. i ostale
Focus areaOlakšajte ponovnu upotrebu referencija
Phabricatorproject board
ResponsibleTechnical Wishes Team

Javite nam što mislite

Pozivamo vas da testirate naš prototip, koji kontinuirano ažuriramo. Pratite ovu stranicu ili se prijavite na ovu listu za masovne poruke kako biste saznali više o novim značajkama koje možete testirati
Pročitajte više o testiranju i povratnim informacijama

Do sada nije bilo moguće jednostavno ponovo upotrijebiti istu referencu s različitim detaljima u članku. Urednici su više puta tražili rješenje koje radi bez predložaka i temelji se na postojećem načinu rada s referencijama, i za wikitekst i za VisualEditor. » Saznajte više.

Kao dio područja "Make re-using references easier", tim Technical Wishes na Wikimedia Deutschland uvodi Podreferenciranje – značajku koja omogućuje jednostavno dodavanje različitih detalja postojećoj referenci bez potrebe za dupliciranjem.

Podreferenciranje je prvo uvedeno na češku, francusku, njemačku, talijansku, poljsku i švedsku Wikipediju, a od lipnja 2026. i mnoge manje wikije. Naš je plan uvesti podreferenciranje na druge wikije Zaklade tijekom 2026.

Subreferenciranje ukratko

Za citiranje izvora više puta s različitim detaljima, trebate glavnu referenciju i podreferenciju.

  • Glavna referencija sadrži sve važne bibliografske podatke. Na snimci zaslona u nastavku, "1. E. Miller …" u odjeljku References predstavlja glavnu referenciju.
  • Podreferencija sadrži dodatne detalje, kao što su brojevi stranica, poglavlja, stihovi, citati ili vremenske oznake videa. Na snimci zaslona, ​​"1.1" i "1.2" nakon kojih slijedi broj stranice predstavljaju dvije različite podreferencije.
podreferencija – primjer
  • U odjeljku s izvorima (popisu bibliograskih podataka), čitatelji vide sve podreferencije grupirane ispod njihove zajedničke glavne reference. To olakšava razumijevanje koliko je često jedan izvor citiran u članku.
  • U wikikodu koristite novi atribut za definiranje detalja podreference. Zove se details. Niže ćete naći više informacija i primjera.
  • U VisualEditoru proširujemo postojeći dijalog za citiranje kako bi podržavao podreferencije.

Glavne prednosti

  • Podreferenciranje se uglavnom temelji na postojećem načinu rada referencija.
  • Osmišljen je da radi i za VisualEditor i za wikikôd.
  • Rješenje će biti integrirano u proširenje Cite, tako da je dostupno na svim wikijima Zaklade i iskoristivo bez rješenja zasnovanih na predlošcima.
  • Podreferencije će biti prikazane u pregledima izvora i oblačićima za referencije na mobilnim uređajima.
  • Njihova upotreba bit će izbor svakog suradnika. I dalje možete koristiti druge metode za referenciranje, ali ćete možda naići na podreferenciranje u člancima koje su drugi napisali.

Javite nam što mislite. Važno je da ova nova značajka ne unazađuje tijek rada, da je intuitivna i da dobro funkcionira pri uređivanju wikikoda i u vizualnom uređivaču, bez obzira na iskustvo ili znanje o wikikodu i predlošcima. Kako bismo to osigurali, potrebne su nam vaše povratne informacije:

Kako sve to radi

U wikikodu

Upotreba u wikikodu može se testirati na beta klasteru. Prednosti specifične za kôd:

  • Rješenje koristi postojeći i poznati koncept imenovanih referencija.
  • Ne zahtijeva poznavanje predložaka.
  • Duplicirane reference koje se tek malo razlikuju mogu se ukloniti iz wikiteksta, čineći ga čišćim i lakšim za čitanje.

 


 

Definiranje glavne referencije

Prije stvaranja podreferencija, potrebna je glavna referenca koja sadrži sve bibliografske podatke. Toj referenciji mora biti dodijeljeno ime:

<ref name="Miller">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref>

Glavna referencija može biti definirana u tekstu članka ili u odjeljku s referencijama (izvorima).

Stvaranje podreferencije za referencije navedene u tekstu

Ako je glavna referencija navedena u tekstu, podreferenciju možete stvoriti na dva načina pomoću atributa details:

Mogućnost 1: Izmijenite glavnu referenciju kako biste naveli dodatne detalje (npr. broj stranice)

<!-- Dodajte atribut »details« izravno u oznaku <ref> -->
<ref name="Miller" details="p. 23.">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref>

<!-- U sljedećem koraku možete dodati još jednu podreferenciju pomoću sljedećeg koda: -->
<ref name="Miller" details="p. 48." />

Primjer:

Wikikôd Ishod
Prema znanstvenicima, Sunce je poprilično veliko. Zapravo, ogromno je.<ref name="Miller" details="p. 23">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref> Vjerujmo im na riječ.<ref name="Miller" details="p. 48"/>

== Izvori ==
<references /> <!-- ili {{reflist}} -->
Prema znanstvenicima, Sunce je poprilično veliko. Zapravo, ogromno je.[1.1] Vjerujmo im na riječ.[1.2]


Izvori
  1. Miller, Emil. 2005. The Sun. Academic Press. New York
    1. p. 23
    2. p. 48

Mogućnost 2: Umetnite jednu ili više zasebnih podreferencija izravno unutar nove oznake ref u tekstu, a pritom ostavite glavni navod netaknutim.

<!-- Nepromijenjena glavna referencija (u tekstu): -->
<ref name="Miller">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref>
<!-- Nova podreferencija: -->
<ref name="Miller" details="p. 23." />
<ref name="Miller" details="p. 48." />

Primjer:

Wikikôd Ishod
Prema znanstvenicima, Sunce je poprilično veliko.<ref name="Miller">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref> Zapravo, ogromno je.<ref name="Miller" details="p. 23" /> Vjerujmo im na riječ.<ref name="Miller" details="p. 48"/>

== Izvori ==
<references /> <!-- ili {{reflist}} -->
Prema znanstvenicima, Sunce je poprilično veliko.[1] Zapravo, ogromno je.[1.1] Vjerujmo im na riječ.[1.2]


Izvori
  1. Miller, Emil. 2005. The Sun. Academic Press. New York
    1. p. 23
    2. p. 48

Stvaranje podreferencija za navode izvora dane u popisu izvora

Ako je glavna referencija unesena u oznaci <references>, ne morate je ponovno definirati u tekstu. Umjesto toga, jednostavno upotrijebite sljedeću sintaksu u tekstu:

<!-- Dodajte ovo izravno na odabrano mjesto u tekstu članka -->
<ref name="Miller" details="p. 23." />

<!-- Referencija definirana u popisu ostaje nepromijenjena: -->
<references>
<ref name="Miller">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref>
</references>

Primjer:

Wikikôd Ishod
Prema znanstvenicima, Sunce je poprilično veliko. Zapravo, ogromno je.<ref name="Miller" details="p. 23" /> Vjerujmo im na riječ.<ref name="Miller" details="p. 48"/>

== Izvori ==
<references>
<ref name="Miller">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref>
</references>
According to scientists, the Sun is pretty big. In fact, it is very big.[1.1] Vjerujmo im na riječ.[1.2]


Izvori
  1. Miller, Emil. 2005. The Sun. Academic Press. New York
    1. p. 23
    2. p. 48

Imajte na umu da preporučujemo da ne koristite {{reflist|refs=...}} (predložak »Izvori«) za izvore definirane popisom jer to uzrokuje probleme u VisualEditoru.

Ponovna upotreba podreferencije

Nakon što je podreferencija definirana, možete je ponovno koristiti na više mjesta bez redefinicije glavne reference. Jednostavno ponovite istu sintaksu u tekstu:

<ref name="Miller" details="Page 23." />
  • Imajte na umu da ovo nije uobičajena ponovna upotreba na kakvu ste navikli s drugim referencijama. Iako stvara neke duplikate u wikitekstu, identične podreference će se automatski spojiti u prikazu kako bi se spriječilo nepotrebno dupliciranje.
  • Ista mogućnost ponovne upotrebe već vrijedi za uobičajene referencije.
  • Savjet: Kopiranje postojeće podreferencije ostaje jednostavan i preporučen pristup.

Primjer – ponovna upotreba umetnutih podreferencija:

Wikikôd Ishod
Prema znanstvenicima, Sunce je poprilično veliko.<ref name="Miller" details="p. 23">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref> Zapravo, ogromno je. Vjerujmo im na riječ.<ref name="Miller" details="p. 48"/> Ne gledajte izravno u Sunce!<ref name="Miller" details="p. 23" />

== Izvori ==
<references /> <!-- ili {{reflist}} -->
Prema znanstvenicima, Sunce je poprilično veliko.[1.1] Zapravo, ogromno je. Vjerujmo im na riječ.[1.2] Ne gledajte izravno u Sunce![1.1]


Izvori
  1. Miller, Emil. 2005. The Sun. Academic Press. New York
    1. a b p. 23
    2. p. 48

Primjer – ponovna upotreba podreferencija definiranih u popisu:

Wikikôd Ishod
Prema znanstvenicima, Sunce je poprilično veliko.<ref name="Miller" details="p. 23" /> Zapravo, ogromno je. Vjerujmo im na riječ.<ref name="Miller" details="p. 48"/> Ne gledajte izravno u Sunce!<ref name="Miller" details="p. 23" />

== Izvori ==
<references>
<ref name="Miller">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref>
</references>
Prema znanstvenicima, Sunce je poprilično veliko. Zapravo, ogromno je.[1.1] Vjerujmo im na riječ.[1.2] Ne gledajte izravno u Sunce![1.1]


Izvori
  1. Miller, Emil. 2005. The Sun. Academic Press. New York
    1. a b p. 23
    2. p. 48

Pretvaranje postojećih referencija u podreferencije

Uredite referenciju koja bi trebala postati nova glavna referencija premještanjem detalja poput brojeva stranica u novi atribut details="…". Zamijenite slične referencije podreferencijama.

Primjer: Wikikôd bez podreferencija:

Wikikôd Ishod
Prema znanstvenicima,<ref name="Miller">Miller, Emil. 2005. ''The Sun''. Academic Press. New York. Str. 23.</ref> Sunce je poprilično veliko.<ref>Miller, Emil. 2005. ''The Sun''. Academic Press. New York. Str. 30.</ref> Zapravo, ogromno je.<ref>Miller, Emil. 2005. ''The Sun''. Academic Press. New York. Str. 35.</ref> Vjerujmo im na riječ.<ref>Miller, Emil. 2005. ''The Sun''. Academic Press. New York. Str. 48.</ref> Ne gledajte izravno u Sunce!<ref name="Miller" />

== Izvori ==
<references /> <!-- ili {{reflist}} -->
Prema znanstvenicima,[1] Sunce je poprilično veliko.[2] Zapravo, ogromno je.[3] Vjerujmo im na riječ.[4] Ne gledajte izravno u Sunce![1]


Izvori
  1. a b Miller, Emil. 2005. The Sun. Academic Press. New York. Str. 23.
  2. Miller, Emil. 2005. The Sun. Academic Press. New York. Str. 30.
  3. Miller, Emil. 2005. The Sun. Academic Press. New York. Str. 35.
  4. Miller, Emil. 2005. The Sun. Academic Press. New York. Str. 48.

Primjer: Wikikôd nakon što se referencije pretvore u podreferencije

Primijetite da je prva referencija pretvorena u glavnu referenciju (uključujući detalje), a ostale su pretvorene u podreferencije.

Wikikôd Ishod
Prema znanstvenicima,<ref name="Miller" details="p. 23">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref> Sunce je poprilično veliko.<ref name="Miller" details="p. 30" /> Zapravo, ogromno je.<ref name="Miller" details="p. 35" /> Vjerujmo im na riječ.<ref name="Miller" details="p. 48"/> Ne gledajte izravno u Sunce!<ref name="Miller" details="p. 23" />

== Izvori ==
<references /> <!-- ili {{reflist}} -->
Prema znanstvenicima,[1.1] Sunce je poprilično veliko.[1.2] Zapravo, ogromno je.[1.3] Vjerujmo im na riječ.[1.4] Ne gledajte izravno u Sunce![1.1]


Izvori
  1. Miller, Emil. 2005. The Sun. Academic Press. New York
    1. a b p. 23
    2. p. 30
    3. p. 35
    4. p. 48

Ugniježđene podreferencije

It is possible to use nested footnotes with sub-referencing. Multi-level nesting will probably work as well, although it's not actively supported.

Primjer: Ugniježdene podreferencije uz upotrebu {{refn}}

Wikikôd Ishod
Prema znanstvenicima, Sunce je poprilično veliko.<ref name="Miller" details="p. 23">Miller, Emil. 2005. ''The Sun''. Academic Press. New York</ref> Zapravo, ogromno je.{{refn|group="notes"|Neki se znanstvenici ne slažu.<ref details="p. 30." name="Miller" />}} Vjerujmo im na riječ.<ref name="Miller" details="p. 48"/>

== Bilješke ==
<references group="notes" /> <!-- ili {{reflist|group=notes}} -->

== Izvori ==
<references /> <!-- ili {{reflist}} -->
Prema znanstvenicima, Sunce je poprilično veliko.[1.1] Zapravo, ogromno je.[notes 1] Vjerujmo im na riječ.[1.3]


Bilješke
  1. Neki se znanstvenici ne slažu.[1.2]
Izvori
  1. Miller, Emil. 2005. The Sun. Academic Press. New York
    1. p. 23
    2. p. 30.
    3. p. 48

Predlošci i podreferencija

Predlošci se mogu koristiti unutar glavnih i podreferencija, baš kao i kod običnih navoda izvora.

Primjer: Podreferencije upotrebom predloška {{Subref}}

Wikikôd Ishod
Prema znanstvenicima, Sunce je poprilično veliko.<ref name="Miller" details="{{Subref|page=23|quote=It's soo big}}">{{Cite book |last=Miller |first=E. |title=The Sun |publisher=Academic Press |location=New York |date=2005}}</ref> Zapravo, ogromno je. Vjerujmo im na riječ.<ref name="Miller" details="{{Subref|page=48}}" /> Ne gledajte izravno u Sunce!<ref name="Miller" details="{{Subref|page=50|quote=Don't do it}}" />

== Izvori ==
<references /> <!-- ili {{reflist}} -->
Prema znanstvenicima, Sunce je poprilično veliko.[1.1] Zapravo, ogromno je. Vjerujmo im na riječ.[1.2] Ne gledajte izravno u Sunce![1.3]


Izvori
  1. Miller, E. (2005). The Sun. New York: Academic Press. 
    1. p. 23 "It's soo big"
    2. p. 48
    3. p. 50 "Don't do it"

Imajte na umu


  • Ne zaboravite uvijek navesti naziv referencije prilikom upotrebe atributa »details«. Upotreba naziva referencije omogućuje drugima laku ponovnu upotrebu iste referencije s različitim detaljima, bez potrebe da oni sami prethodno definiraju naziv.
  • Podreferenciranje ne služi samo za brojeve stranica. Možete ga koristiti i za druge slučajeve. Neki bi ga željeli koristiti za vremenske oznake podcasta, URL-ove, stihove poezije, citate i druge detalje.
  • Ako želite koristiti navodnike " unutar details="…" (npr. prilikom umetanja citata), obavezno upotrijebite &quot; ili razgraničite detalje jednostrukim navodnicima. Korisnici VisualEditora moći će upisati " prilikom popunjavanja detalja podreference i to će se automatski pretvoriti u wikitekst. Ostali posebni znakovi s kojima će se možda trebati slično postupati kada se koriste s details="…" jesu < i >.
  • Neki dodatci i skripte povezani s referencijama također bi mogli zahtijevati ažuriranje kako bi ispravno funkcionirali s novim rješenjem za podreferenciranje.
  • When using sub-references, please avoid templates that produce <ref> tags, as these cause issues in VisualEditor which we cannot solve at this point in time.


In VisualEditor

The VisualEditor implementation for sub-references can be tested on the beta cluster. Some details still need to be fixed, other features will evolve after the global deployment. Benefits specific to VisualEditor:

  • To cite the same source with different details, you no longer have to create a new reference from scratch.
  • Sub-references are designed to be fully compatible with VisualEditor (as opposed to template-based workarounds).

 


 

Defining a main reference

  • Use the existing citation dialog to create a main reference that contains the full bibliographic information except for the details (e.g. page numbers) you want to use in sub-references.

Creating a sub-reference

  • Select a re-used reference or create a re-use (either by copy and pasting a reference or by using the re-use citation dialog).
  • Click on the "add details" button which appears in the reference popup if the reference is re-used.
  • Enter the details of that sub-reference and click apply changes.

Editing a sub-reference

  • Click on the footnote marker in the article text and select the second edit button (the pen icon) to change a sub-reference.
  • You can now edit the details of the sub-reference.
  • You cannot edit a sub-reference by clicking on it in the reference list – editing the main reference this way works as usual.

Re-using a sub-reference

  • You can re-use a sub-reference using the "re-use" tab in the citation dialog.
  • Alternatively, you can – as with regular references – select the footnote of a sub-reference and copy it to the desired location in the article using copy & paste, which also creates a re-use.

Converting existing references to sub-references

  • Select a re-used reference (or create a re-use).
  • Click edit, copy the details you want to use for sub-referencing (e.g. the page number) and delete the details to turn the reference into a main reference.

  • Click on the "add details" button.
  • Paste (or enter) the details you just removed and click "apply changes".
  • Replace other similar references with re-uses of the main reference and add details for each of those.

Templates and sub-references

Templates can be used within sub- and main references just as with regular references.

  • Click on the "add details" button.
  • Use the "insert" button to choose a template.
  • Use the template dialog to search for the desired template.
  • Fill out the template parameters and insert the template.
  • The sub-reference is now displayed with the template.

Please note


 Test the feature

We need your feedback to make sure we build the right things. Feedback or questions are always welcome on this project’s talk page or by directly booking a call with our User Researcher. The feature is available on beta wiki and most Wikimedia wikis.

Test on beta wiki Leave feedback Book a call

Please note that beta wikis are a bit different from your regular wiki:
  • They might look different (e.g. not use your preferred skin).
  • They might offer some new features that are still being tested.
  • They only contain some test pages and templates, not your entire wiki’s content, and not all the templates, modules, gadgets etc. you are used to.
  • Your regular Wikimedia login doesn’t work on beta wikis. You can either register an account – make sure to use a different password than your regular Wikimedia account – or test the feature without an account, which will lead to the creation of a temporary account.

In Progress

Sub-referencing is now ready in Wikitext and VisualEditor and deployed to most Wikimedia wikis. Some of our next steps:

The problem we are solving

In Wikipedia articles, it's common to reference a source multiple times. But while you can re-use a reference exactly as it is, you currently cannot re-use the same reference with different details (e.g. different page numbers). Your only option is to create a whole new reference or to use workarounds.

Status quo: Re-using references in wikitext and VisualEditor

If you want to re-use a reference in wikitext, you can turn it into a named reference and refer to that name at another point in the article. The named reference can be placed in the article text or in the references section. In VisualEditor you can use the option "re-use" in the citation dialog. In the references section, references with the same name are grouped together.

Status quo: Re-using references with different details in wikitext

If you want to re-use an existing reference with different details in wikitext, you currently need to copy and paste the existing reference and change the details of the duplicate or create a new (almost identical) reference from scratch. Some projects use workarounds like short citations or template-based solutions like shortened footnotes. In the references section, the original reference and the new one you created are not grouped together.

Status quo: Re-using references with different details in VisualEditor

If you want to re-use an existing reference with different details in VisualEditor, neither the option "re-use" in the citation dialog nor the copy-and-paste method will work, because both lead to identical re-uses, and changing details of the re-used/copied reference changes both instances of that reference. Instead you’ll need to create a new (almost identical) reference from scratch. In the references section, the original reference and the new one you created are not grouped together.

References created by template-based workarounds like {{sfn}} cannot be edited from within the references section and don’t appear in the citation re-use tab; but it is possible to edit them manually when locating them in the article text.

workaround with {{sfn}}:

Problems for readers

Template-based workarounds are not properly displayed in Reference Previews, Reference Tooltips and mobile reference pop-ups.

{{sfn}} workaround with previews for references:

Main problems with the status quo

  • The experience of VisualEditor and wikitext users is very different.
  • Most workarounds for reusing references with different details don’t work properly in VisualEditor.
  • Creating lots of almost identical references with different details makes the wikitext longer and potentially harder to read.
  • Template-based workarounds are not equally accepted by all communities and thus not globally available.
  • Some users try to avoid this issue by putting sources in the bibliography section without using them as references at all, which makes it harder to verify sections of the article.

Recent changes and next steps

Our team has worked on this problem on and off for some time now. Here is an overview of this project’s history, including our research.

Thank you to everyone who participated in tests and interviews and who showed interest, as well as everyone who took the time to comment on our talk pages over the years. It is deeply appreciated. If you have further feedback, please share it on the talk page.

Updates

  • Green tickY We have deployed sub-referencing in September 2025 to German Wikipedia as our first pilot wiki.
  • Green tickY Read more about our learnings and observations from three months of sub-referencing on German Wikipedia.
  • Green tickY We have deployed sub-referencing to nine additional pilot wikis in February 2026, including Polish and Swedish Wikipedia. (phab:T418209)
  • Green tickY We have deployed sub-referencing to Czech and Italian Wikipedia in April 2026. (phab:T420938)
  • Green tickY We have deployed sub-referencing to French Wikipedia and most non-Wikipedia wikis in June 2026. (phab:T425662)
  • Green tickY We have deployed sub-referencing to Azerbaijani, Catalan, Dutch, Portuguese and Spanish Wikipedia and many smaller Wikipedia language versions in June 2026. (phab:T428902)
  • Green tickY We have deployed sub-referencing to Finnish, Greek, Hungarian, Thai and Turkish Wikipedia in July 2026. (phab:T430941)
  • Green tickY We have deployed sub-referencing to Chinese, Indonesian, Japanese, Korean, Russian, Simple, Ukranian and Vietnamese Wikipedia in August 2026. (phab:T432731)
  • We are continuously improving the feature and implementing community feedback.

Next Steps

The Technical Wishes team’s focus remains on completing the sub-referencing feature.

  • We’ll update you continuously as the feature evolves on the betawiki and we need you to test it.
  • We are planning to deploy the sub-referencing feature to English Wikipedia as well as right-to-left language wikis and Wikisource wikis in the next months.
  • Check our report and phab:T414094 for our deployment plan and our roadmap for upcoming improvements to sub-referencing.
  • We will continue to collect feedback to improve the feature after the global deployment.

Archived updates from 2025

  • Green tickY In 2024 we worked on a prototype for discovery and testing purposes based on the extends syntax and engaged with the community through multiple on-wiki communications, user testing sessions, and workshops in different venues, including Wikimania 2024.
  • Green tickY In October/November 2024, we explored possible changes to our wikitext approach, based on the community feedback we've received. We reached out to communities and presented a new solution to get their feedback on its usability. We found that the feedback was mixed but nothing spoke against the feature bringing its intended value to the community.
  • Green tickY In 2025, we started the development of the new syntax. The engineers and designer of the Technical Wishes team are working on building out sub-referencing.
  • Green tickY We have deployed sub-referencing in September 2025 to German Wikipedia as our first pilot wiki.
  • Green tickY We are improving sub-referencing and will reach out to other potential pilot wikis in the upcoming months.

Archived updates from 2024

  • Green tickY A prototype is available on beta wiki. It covers the wikitext solution and some of the basic features of the VisualEditor solution. You can continuously test the prototype and give feedback.
  • Green tickY We've sent out announcements across all wikis to let communities know about this upcoming feature, and have invited them to test and give feedback.
  • Green tickY Our team presented sub-referencing at Wikimania 2024 and discussed with participants. (YouTube)
  • Green tickY Moderated users tests took place across different projects in 2024.
  • As of October/November 2024, we are currently exploring possible changes to our wikitext approach, based on the community feedback we've received. We'll reach out to communities soon to get more feedback on possible changes to the sub-referencing feature.
  • Pilot wiki deployment is stalled, pending discussions and potential changes to our feature.
  • We are planning to deploy the sub-referencing feature to other Wikimedia wikis in 2025.
  • We will continue to collect feedback to improve the solution after deployment.


Frequently Asked Questions

How can I find articles that use sub-referencing?

A tracking category called Category:Pages that use sub-references is added to any page where sub-referencing is used, allowing you to explore or fix pages using the new feature. The name of this category might change.

Also, the team has created a number of examples on the English betawiki.

Can I insert a template into the details attribute?

Yes, you can insert templates in both the main- and the sub-reference, see our examples for wikitext and VisualEditor. We've initially received feedback suggesting that using templates in an attribute may cause more issues than benefits. Other users explicitly wished for template support, especially in visual editor. Please share your thoughts on sub-references and templates on the talk page.

How can I prepare for the deployment of sub-referencing?

How will the new feature affect existing gadgets and scripts?

Some gadgets and scripts related to references might need an update in order to properly work with the new sub-referencing solution. Because gadgets and scripts are in the hands of the wiki communities, we are unable to adapt them.

Wikis that host a copy of the Reference Tooltips gadget are asked to update their version – typically located at MediaWiki:Gadget-ReferenceTooltips.js – as shown here. See phab:T416304 for more information.

Please let us know, on the talk page, if you discover any problems or need some help updating citation templates to make them work with the new feature.

Why did you choose this wikitext syntax?

This post provides a rationale for choosing the details syntax. We believe that the best and quickest path to delivering a usable feature is through the chosen syntax, even though it does come with some limitations.

Historically, no syntax has been perfect, and each solution has its shortcomings. After long discussions and consultations with multiple teams at the Wikimedia Foundation, we've concluded that this solution meets our technical requirements and is sustainable for long-term maintenance.

It's also fully compatible with wikis that continue to rely on or prefer using {{reflist}}. This syntax allows the main reference to be used in-line without needing to be placed in the References section, which would otherwise cause limitations in the VisualEditor.

Furthermore, we’re confident that this approach will work consistently across VisualEditor workflows as well.

Can I use sub-references for details other than page numbers?

Yes you can, the feature is intentionally designed to allow other types of details, e.g. chapters, quotes or audio timestamps. We've selected a variety of different examples from German Wikipedia in our pilot wiki report.

Why did it take so long to find a solution?

The Technical Wishes team has worked on this feature on and off for many years. If you want to know more, here’s an overview of the history and complexity of this problem.