Jump to content

Wikipedia:RefToolbar

From Wikipedia, the free encyclopedia
(Redirected from User:Mr.Z-man/refToolbar)
This detailed screencast walks through how to use RefToolbar (5 mins.)

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 in April 2014.[1][2] It comes in two versions, depending on the settings in user preferences.

Versions

[edit]

VisualEditor

[edit]

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

VisualEditor toolbar
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 introduction.

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

Wikitext editor

[edit]
Cite menu opened by the button on the right

The default for all users, logged in or not, is WikiEditor or Wikitext Editor, that includes refToolbar 2.0. Clicking on 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.

Presence of the toolbar is controlled by two checkboxes:

The older version RefToolbar 1.0 can be accessed from the legacy toolbar.

[edit]

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

Call graph

[edit]
Reftoolbar dependency graphMediaWiki: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

[edit]

Notes

[edit]