VOOZH about

URL: https://meta.wikimedia.org/wiki/Cite_Forge

⇱ Cite Forge - Meta-Wiki


Jump to content
From Meta, a Wikimedia project coordination wiki
Cite Forge
👁 Screenshot of the English Wikipedia article "Terraria" with Cite Forge Inspector panel opened.
Cite Forge Inspector on the English Wikipedia article "Terraria"
DescriptionUser script that lets you inspect, rename, reorganize, and validate all citations on a page.
MaintainersSuperGrey, SuperHamster, DeepChirp
UpdatedMarch 2026
Script locationgithub.com/QZGao/CiteForge/blob/main/src/main.ts
Minized build: User:SuperGrey/gadgets/CiteForge.js
Version control👁 GitHub icon
QZGao/CiteForge
Skin supportAny

Cite Forge is a Wikipedia user script that adds a floating citation workbench to articles, letting you browse, search, and rename references in place.

Installing

[edit]

To enable Cite Forge on all language versions of Wikipedia:

If you want to enable Cite Forge on only a specific language version of Wikipedia:

  • Visit your common.js page: Special:MyPage/common.js on your wiki of choice.

On that JS page, copy in the code, then click "Publish changes":

mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:SuperGrey/gadgets/CiteForge.js&action=raw&ctype=text/javascript");// Backlink: [[meta:Cite Forge]]

Usage

[edit]

Navigation, copying, and export

[edit]

Floating bottom-left "inspector" panel with a portlet toggle; remembers visibility and size. Browse citations with an alphabetical index, search filter, and refresh. Highlight the uses of a citation in the article and can scroll to them. Copy ref names (raw, {{r|name}}, or <refname="..."/>) or raw citation content.

Hover popup offers quick copy on superscripts and references, and jumping between named citations and their inspector entries.

Editing, transforms, and mass rename

[edit]
👁 Screenshot of the Cite Forge mass rename dialog running on the English Wikipedia article "Terraria".
Mass rename dialog

Inline ref renaming (including nameless refs) with conflict detection and batch-queued saves.

Optional wikitext transforms: rename, dedupe, normalize ref markup, prefer {{r}} or <ref>, move refs inline↔LDR (all-inline, all-LDR, or threshold), sort reflist entries, keep copies vs dedupe, and rename nameless refs. Template support covers <ref>, self-closing <ref/>, {{r}} (including chains), and reflist refs= blocks.

Pick multiple naming parts (author/title/work/domain/year/full date/etc.), choose collision suffix styles, and control punctuation/diacritic handling. Generated renames feed back into the inspector’s pending changes for diff preview. Inspired by RefRenamer.

Excessive use of this feature may be considered WP:COSMETICBOT.

Citation insertion dropdown

[edit]

Adds an Insert citation dropdown to WikiEditor's cites toolbar group for {{cite web}}, {{cite news}}, {{cite book}}, {{cite journal}}, {{cite AV media}}, and {{cite video game}}.

Each entry opens a compact dialog with editable parameter rows, add-more controls for names and parameters, optional <ref name="...">, and Citoid-powered auto-fill from supported source fields. The generated result is inserted directly into the active editor as a single-line <ref>{{cite ...}}</ref>.

Source checks

[edit]
👁 Screenshot of "reviewsourcecheck" with Cite Forge source checks enabled.
Source checks, running on en:User:Lingzhi2/reviewsourcecheck

Marks CS1/CS2 style and surfaces Harv link/target issues, page-range anomalies, COinS metadata gaps, and sorting/duplicate problems (adapted from reviewsourcecheck/HarvErrors).

Internationalization

[edit]

To help with translating the interface to more languages, or fixing a bunch of existing translations, visit Cite Forge on TranslateWiki.

See also

[edit]
  • Cite Unseen - user script that marks reliability and types of citations.

Credits

[edit]
License
  • This project is licensed under the MIT license.
Icons and assets
Inspired by
Used the following APIs