reftoolbar

RefToolbar refers to a series of JavaScript/jQuery scripts that help editors add citation templates to articles.

This detailed screencast walks through how to use RefToolbar (5 mins.)

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 Wiki Gadget, Reftoolbar was moved to a site-wide script on February 25, 2011, and to an opt-out gadget in April 2014. It comes in two versions, depending on the settings at Preferences → Editing → Editor.

Versions

VisualEditor

Note that RefToolbar is not used in VisualEditor. If you are logged in and your toolbar looks like this:

reftoolbar 
Selecting visual editing (VisualEditor) or source editing (WikiEditor)

then you are using the rich-text VisualEditor.

VisualEditor also has a similar Cite button, but this is NOT RefToolbar. It instead uses an autofilling citoid service. If you want to learn how to use that Cite menu, please refer to the VisualEditor user guide.

You can switch between visual editing and source editing (where RefToolbar is used) using the pencil icon.

Default

The default for all users, logged in or not, is WikiEditor or Wikitext Editor, that includes refToolbar 2.0.

Click on the version number for more information about each refToolbar implementation (Cite item on right in all them):

Enable enhanced... RefToolbar
version
RefToolbar style Script
Off RefToolbar 1.0 reftoolbar 
Cite icon on right
MediaWiki:RefToolbarLegacy.js
On RefToolbar 2.0 reftoolbar 
Cite menu item on right
MediaWiki:RefToolbar.js

In 2.0, clicking in the Cite menu, you can choose: the template ( {{cite web}}, {{cite news}}, {{cite book}} or {{cite journal}}, they are not automatically filled, so you must fill them ), named references and error check.

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

  • Enable enhanced... will say Enable the editing toolbar.

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

Before 2017, there were three versions of Refoolbar: 1.0, 2.0a and 2.0b. Version 2.0a was removed on June 14, 2017, since it was no longer needed.

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

Call graph

reftoolbar MediaWiki:Gadgets-definitionMediaWiki:Gadget-refToolbar.jsMediaWiki:Gadget-refToolbarBase.jsMediaWiki:RefToolbar.jsMediaWiki:RefToolbarNoDialogs.jsMediaWiki:RefToolbarLegacy.jsMediaWiki:RefToolbarMessages-en.jsMediaWiki:RefToolbarMessages-de.jsMediaWiki:RefToolbarConfig.jstoollabs:reftoolbar/lookup.phptoollabs:reftoolbar/crossref.php
Reftoolbar dependency graph

This image file is found at commons:File:Wikipedia reftoolbar dependency graph.svg.

See also

Notes

Tags:

reftoolbar Versionsreftoolbar Related scriptsreftoolbar Call graphreftoolbarJQueryJavaScriptMediaWikiMediaWiki extensionSpecial:PrefixIndex/MediaWiki:Gadget-refToolbarSpecial:PrefixIndex/MediaWiki:RefToolbarSpecial:PrefixIndex/WP:RefToolbarWikipedia:RefToolbar/2.0mw:Extension:WikiEditor

🔥 Trending searches on Wiki English:

RihannaJeremy Allen WhitePaul RuddPrithviraj SukumaranChesapeake Bay BridgeTwitterTurkeyThe Beatles2024 Formula One World ChampionshipNicola CoughlanIndiaSam Taylor-Johnson2026 FIFA World Cup qualification (AFC)Jay-ZBen AffleckAndrew HubermanNullJoey KingThe Iron Claw (film)CatEdward VIIWeWorkAlanis MorissetteLady GagaBlackRockHarrison FordSacha Baron CohenJoseph StalinShōgun (2024 miniseries)Traumatic inseminationJulia RobertsBiggest ball of twineBrad PittJenna OrtegaHaitiHazbin HotelRobert Whittaker (fighter)Godzilla vs. KongIsaiah HartensteinTwitch (service)Patapsco RiverGeorges St-PierreFIFA Men's World RankingHTTP 404Emma StoneElizabeth IIGeneral Dynamics F-16 Fighting FalconTokugawa IeyasuMark WahlbergJake GyllenhaalFreddie BartholomewMV DaliAustin ButlerXXX (film series)Winston ChurchillTartanKim Ji-won (actress)Pirates of the Caribbean (film series)Late Night with the Devil2024 Indian general election in MaharashtraGodzilla (2014 film)Lamine YamalElvis PresleyMonsterVerseSingaporeSisqóMonkey Man (film)List of dates for EasterAditi Rao HydariWikipediaDaniela MelchiorAkira ToriyamaShogunMalaysiaNorovirusNapoleonSiddharth (actor)🡆 More