From Wikipedia, the free encyclopedia
Jump to: navigation, search

RefToolbar refers to a series of JavaScript/jQuery scripts that help editors add citation templates to articles. It works in conjunction with the MediaWiki extension WikiEditor. The Reftoolbar implementation is scattered across several scripts (see, for example, this, this or this prefix search). The newest version, RefToolbar 2.0 is turned on by default for new users.

Originally an opt-in Wikipedia Gadget, Reftoolbar was moved to a site-wide script on February 25, 2011, and to an opt-out gadget on April 2014.[1][2] It comes in three versions, depending on the settings at Preferences → Editing → Editor.


The default for all users, logged in or not, is refToolbar 2.0b.

Each version has its advantages. What differs is the activating widget, the number and type of cite templates offered, whether or not the edit box is deactivated, and the quality of the dialog. Click on the version number for more information about each refToolbar implementation.

Enable enhanced... Enable wizards... RefToolbar
RefToolbar style Script
Off Off
RefToolbar 1.0 RefToolbar 1.0.png
Cite icon on right
On Off RefToolbar 2.0a RefToolbar 2.0a.png
{{}} icon in middle
On RefToolbar 2.0b RefToolbar 2.0b.png
Cite button on right

Table headings are abbreviations of the names seen at Preferences → Editing:

  • Enable enhanced... will say Enable enhanced editing toolbar.
  • Enable wizards... says Enable wizards for inserting links, tables as well as the search and replace function.

The RefToolbar style column indicates the widget that activates the cite mechanism.

Related scripts[edit]

You can also do a "subpages with prefix searches" to find other related pages, in particular MediaWiki and Wikipedia namespace searches are useful.

Dependency graph[edit]

MediaWiki:Gadgets-definition MediaWiki:Gadget-refToolbar.js MediaWiki:Gadget-refToolbarBase.js MediaWiki:RefToolbar.js MediaWiki:RefToolbarNoDialogs.js MediaWiki:RefToolbarLegacy.js MediaWiki:RefToolbarMessages-en.js MediaWiki:RefToolbarMessages-de.js MediaWiki:RefToolbarConfig.js tools:~alexz/ref/lookup.php tools:~alexz/ref/crossref.phpReftoolbar dependency graph

See also[edit]


  1. ^ See the "Proposal - Turn on RefTools gadget by default" discussion at Village pump (proposals) Archive 68.
  2. ^ Implementation details for the default gadget