Jump to content

Help:Contributing/citations

From Wikibase
Revision as of 11:25, 8 November 2026 by SeedBot (talk | contribs) (Document the full author list and the per-style display rules (via update-page on MediaWiki MCP Server))

Languages: English · français · Esperanto

RonzzWikiBase has a custom citation mechanism. It is different from those on vanilla wikibase instances, such as Wikipedia.

Why a custom citation mechanism?

On a vanilla wikibase, citation is cubersome: You need to write citation text manually or generate it via a 3rd-party app, then paste it between <ref></ref> tags to create a citation item. Therefore, if you cite the same source on multiple pages, the way to go is to copy and paste the citation text multiple times.

The most scary part comes when you later updates the citation (e.g., because you made a typo). You will need to manually update each one, unless you have a bot account setup and know MediaWiki APIs well enough to do some batch text-op scripting.

To eliminate all the complexity, we purpose-built our custom entity-based citation mechanism.

A citation starts with a citable entity

To create a citation on ronzz-wikibase, you first need a citable entity, which can be a book, a newspaper article, or whatever source you would like to cite.

First search via Special:ItemDisambiguation page by title if the source you would like to cite exists already as an entity on ronzz-wikibase. If so, note its entity number (the number starting with "Q"). If it does not yet exist, you can create it. The entity number will be shown at the end of the guided creation process. Note it. This magic number represents the citable entity across ronzz-wikibase

A citation is declared with <ref>{{#cite:Qxx}}</ref>

You type You get
Ada was first.<ref>{{#cite:Q96}}</ref>
Ada was first.[1]

That's it. The ronzz-wikibase render engine takes care of everything.

If you ever need to cite multiple sources in one place, simply repeat the entire syntax multiple times. Each source needs its own <ref></ref> wrapping.

The same source cited several times renders ONE footnote. Repeat <ref>{{#cite:Qxx}}</ref> as often as you need — the render engine recognises duplicate sources and merges the footnotes into a single entry with one ↑ backlink per usage (identical to what a named <ref name="..."> would give you). No manual de-duplication needed.

Create bibliography with <references/>

This part is exactly the same as on vanilla wikibase instances such as wikipedia. You simply type at the end of your article:

<references/>

and everything you have cited in the article will be automatically included:

  1. ↑ Lovelace, A. (1843). The Analytical Engine has no pretensions whatever to originate anything. In Notes by the Translator. R. & J. E. Taylor. https://doi.org/10.1000/notes

Each footnote links to its source's page. When the cited source has a human-facing page (a Source: page, e.g. Source:Ada Lovelace (Book)), the footnote text is rendered as a hyperlink to that page, so a reader can jump from the citation straight to the source. A source without a page (an API-created item, or a book excerpt, which is part of a book and never gets its own page) renders as plain text.

Copy a formatted citation from the item page

Every item page (/wiki/Item:Q1) carries a small toolbar under the title. The Copy citation button opens a small popup:

  • a format dropdown — APA is preselected;
  • a live preview of the formatted citation for the chosen format;
  • a Copy button that copies the preview text.

The four formats:

  • APA (the default) — author–date style, e.g. Lovelace, A. (1843). Notes by the Translator.
  • Vancouver — numbered style.
  • BibTeX — a @book{...} entry for LaTeX bibliographies.
  • RIS — a tagged record for reference managers (Zotero, EndNote, …).

All authors recorded on the item are used; the style decides how many are displayed (APA 7 keeps the first 19 + "…" + the last for 21 or more authors, Vancouver keeps the first 6 + "et al.", and BibTeX/RIS list them all). The citation text is generated from the item's statements at copy time, so the same source can be copied in any of the four formats. For a webpage or website source the citation follows the webpage guideline — its URL appears in the citation text, and the year is the year of its last edition (the most recent date recorded on the source item). The toolbar also carries Copy embed code (for quotable content items) and, when the item can be edited with a form, Update basic information — see Help:Contributing/import#Re-editing an imported item.

Copy the citation of a classic page

The toolbar under the title of a classic content page — a Main-namespace article, a Help: page, a cheatsheet … — carries a Copy citation button too. Unlike the item-page button, it cites the page itself: its title, its canonical URL and the date of its last revision (the page's "last edition"), with no author. The same popup (format dropdown / preview / Copy) applies.

This is the button to use when you want to cite a wiki article (e.g. Orthonormality); to cite a source (a book, an article, a webpage), use the item page or the source's page instead.

Copy an internal mention of a page

The same toolbar carries a Copy internal mention button. It copies a plain internal link to the page, e.g. [[Main Page]] (in the Main namespace the first letter is lower-cased unless the title is a proper name, so e.g. [[classical mechanics]]), ready to paste anywhere on the wiki.

On the classic per-kind pages (Source:, Person:, Collective:, FOSS:, Software:) the button copies a piped link to the entity's page with its display name, e.g. [[Source:Beloved (Book)|Beloved]] (italic on Source: pages).

Copy the internal citation from a Source: page

The human-facing page of a source — the Source: page (e.g. Source:Ada Lovelace (Book)) — carries a Copy internal citation button under its title. Clicking it copies the wikitext snippet

<ref>{{#cite:Q42}}</ref>

with the right Q-number for that source, ready to paste into the article you are writing — exactly the hand-typed syntax described above. The button appears on every Source: page that is linked to its item, and also on the Item page of any source item (/wiki/Item:Q1 — the same toolbar row as Copy citation / Copy embed code). Items of source type therefore offer the internal-citation snippet from both surfaces; this matters most for sources without a Source: page at all (a book excerpt is part of a book and never gets its own page — its Item page is where you copy its internal citation from).

The Item-page toolbar's Copy embed code button (for quotable content items — quotations, code snippets, mathematical expressions) offers a choice when clicked: Internal (on-wiki) copies the {{#content:Q42}} parser-function wikitext to show the content inline on any wiki page, External (iframe) copies the <iframe> of Special:Embed for third-party sites. Pick a flavour and it is copied to the clipboard.

See also

Author-year mentions

Write a Source link with the literal label name-author:

[[Source:Q123|name-author]]

The page renders the source's current authors and year as an italic caption, e.g. Lovelace (1843). Multiple authors are joined with hyphens (Family1-Family2 (Year)). The caption is derived from the Source item's attributed to authors and date at render time, so correcting the item updates every mention without editing the pages. If the item has no author or date, the marker stays as written.

This is the internal-mention form; it is not a citation and does not create a footnote. Use <ref>{{#cite:Q123}}</ref> for a reference, and the internal citation copy when a Source-page citation is wanted.