Help:Contributing/math

From Wikibase
Revision as of 19:39, 21 August 2026 by SeedBot (talk | contribs) (new guide: adding and embedding mathematical expressions (via create-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Languages: English · français · Esperanto

Mathematical expressions are stored as items whose content is LaTeX source; embeds render them with KaTeX.

Adding an expression

Open Special:AddMath and fill the form:

Field What it is
Label A short description of the expression (e.g. E = mc² or "Newton's second law").
Content The LaTeX source. Enclosing delimiters ($…$, $$…$$, \(…\) or \[…\]) are stripped automatically on save — paste from Markdown or MediaWiki as-is.
Describes Optional: the concept the expression is about — search and pick the entity (several allowed, comma-separated).
Attributed to / Source / Date Provenance, same as quotations.

Click Preview to render the content with KaTeX before saving (the preview strips the delimiters exactly like the save step).

Saving creates the item and redirects to it.

Embedding an expression

From the item page, click Copy embed code and paste the snippet on any page; the expression renders as KaTeX (the raw LaTeX source is shown if JavaScript is unavailable).

See also