Wikipedia:Cite4Wiki

Cite4Wiki
Developer(s)
Stable release
1.6
Preview release
1.5 / December 28, 2012
Written inJavaScript, XUL, RDF
Operating systemCross-platform
Available inEnglish
TypeWikipedia editing tool
LicenseGNU LGPLv3
Websitehttps://addons.palemoon.org/addon/cite4wiki/

Cite4Wiki is a XUL add-on, and is free and open-source software. It is a contextual menu ("right-click") citation-generating tool for Wikipedia. The add-on is compatible with stable versions of Gecko-based browsers that support add-ons.

The user can right-click to get a bare-bones {{Cite web}} source citation for the page currently loaded in the browser, such as a news report or a journal article. The information will be wrapped in a <ref> inline footnote citation. The code is then put on the clipboard for pasting into a Wikipedia article being edited.

The default output is in this format (see below for US-style dates):

<ref>{{cite web |first= |last={{err|{{AUTHOR MISSING}}}} |title=<var>Page title</var> |year=<var>Last updated year</var> |work=<var>site.name</var> |url=<var>Complete URL</var> |access-date=<var>Today's date in D[D] Month YYYY form</var>}}</ref>

You can even use it on multiple pages! Each one will get its own little popup window with citation details and you can just leave them there until needed, and re-use them multiple times.

The add-on is clever enough to strip "www." from domain names before using them for the |work= parameter.

There is also a second context menu entry for generating a "Month D[D], YYYY" American-style date, for use in articles written in American English, per WP:ENGVAR.