User:Holek/cite-gen

This script is intended to ease the process of creating references. By entering 9783502151555 you can get:

{{Cite book | last1 = Möller | first1 = Steffen | title = Viva Polonia : als deutscher Gastarbeiter in Polen | date = 2008 | publisher = Scherz | location = Frankfurt am Main | isbn = 978-3-502-15155-5 | pages = }}

The script uses [http://toolserver.org/~citegen the Citation templates generator], creating {{Tl|Cite book}}, {{Tl|Cite journal}} or {{Tl|Cite web}}.

And all this happens directly within your editing tab. No need to visit other sites and copy from there.

Install

Script works only with Vector skin and [http://www.mediawiki.org/wiki/Extension:UsabilityInitiative#WikiEditor the new editor]. To install this script visit your Vector.js and add a line below to it:

importScript('User:Holek/cite-gen.js');

Usage

After you reload your cache, a new button will be shown to you in "Advanced" section. Click it to open the reference generator.

File:Cite-gen-tool-js.png

pl:Wikipedysta:Holek/cite-gen