Benutzer:Rjh/wikipedia-reference-creator
The wikipedia-reference-creator is an Firefox AddOn, which allows easy creation of references from websites on right mouse click to the website. It could be installed to Firefox here.
Documentation
This AddOn creates wikipedia references from websites on right mouse click to the website. It includes an automatic detection of Google-Books, Amazon, and each other website (as simple ref or web template reference). The result is automatic copied to the clipboard.
Examples
- This Google Book is translated (by menu point create wikipedia reference) to <ref name="Terence Robert Roberts,David Herd Hutson">{{Literatur | Autor = Terence Robert Roberts,David Herd Hutson | Titel = Metabolic Pathways of Agrochemicals: Herbicides and plant growth regulators | Verlag = Royal Society of Chemistry | ISBN = 0854044949 | Jahr = 1998 | Online = {{Google Buch | BuchID = uC2-Ocob_MMC | Seite = 124 }} | Seiten = 124 }}</ref>
- The Google main page is translated (by create simple wikipedia reference) to <ref name="Source">Source: [http://www.google.de/ Google]</ref> or to (by create wikipedia reference with template) to <ref name="Source">{{Internetquelle | url=http://www.google.de/ | titel=Google | titelerg= | autor= | hrsg= | werk= | seiten= | datum= | zugriff=Sonntag, 29. Juli 2012 | sprache= | kommentar= | zitat= | offline=}}</ref>
Settings
The implementation detects some content und present it via variables. These variables can be added by §variable§ in text prototypes for easy creation of references. To adapt the output to your wishes you can be change the prototypes in the settings page for AddOns (FireFox -> AddOns -> Settings). If you set the prototypes to empty, the preferences is set to a default value at the next start.
For GoogleBook references it provides the status variables GoogleBookId, Page, Title, Author, ISBN and Publisher. Also the current content of the clipboard, the current page title, the current page url and other things can be used.
An example for a simple output can be: <ref name="§WebsiteTitleMainPart§">§WebsiteTitleMainPart§: [§WebsiteUrl§ §WebsiteUrl]</ref>
For example for a correct german reference string you can use the output prototype:
<ref name=“§Author§“>{{Literatur| Autor=§Author§ | Titel=§Title§ | Verlag=§Publisher§ | ISBN=§ISBN§ | Jahr=§PublicationYear§ | Online={{Google Buch | BuchID=§GoogleBookId§ | Seite=§Page§ }} | Seiten=§Page§ }}</ref>
For example for a correct english reference string for web citation you can use the output prototype:
<ref name="">{{cite web |url=§WebsiteUrl§ |title=§WebsiteTitle§ |author=§Selection§ |date= |work= |publisher= |accessdate=§CurrentDate§}}</ref>
<ref name="§WebsiteTitleMainPart§">{{cite web |url=§WebsiteUrl§ |title=§WebsiteTitle§ |author=§Author§§Selection§ |date= |website=§WebsiteUrlMainPart§ |publisher= |accessdate=§CurrentDate§}}</ref>
Overall the following tags can be used:
- GoogleBookId: Google Book Id
- Page: Current Page in Google Book
- Volume: Current volume of book in Google Book
- Clipboard: current content of the clipboard
- WebsiteTitle: Title of the current website
- WebsiteTitleMainPart: (experimental) Identifier Part of the Website (means owner of the Website)
- WebsiteUrl: URL of the current website
- WebsiteUrlMainPart: main part of the URL of the current website (for example wikipedia.org)
- Title: detected Title of the book or page (depending from current website)
- Author: detected Author of the book (depending from current website)
- CurrentDate: the current date in localized format
- CurrentYear: the current year
- CurrentMonth: the current month
- CurrentDay: the current day
- ISBN: detected ISBN book number of the book (depending from current website)
- Publisher: detected Publisher of the book (depending from current website)
- PublicationYear: detected publication year of the book (depending from current website)
- DOI: detected DOI number of an article (depending from current website)
- Selection: currently selected text on the website
DOI Support
The latest release adds support for Digital Object Identifiers (DOI). Select any DOI you found on a website, make a right mouse click and choose the DOI menu item. Now a very helpful (external) website are opened, where a complete reference for this DOI could be copied. Example for DOI 10.1038/35090602.
Version History
- First Release: first version
- Third Release: v590 first useable version
- Third Release: bugfix for Athor
- Third Release: v593: correct /u0026 bug (&)
- Third Release: v603: Add ""PMID-zu-Wikipedia-Reference-Konverter" support with selected DOI
- Third Release: v612: fix bug that restart is necessary after settings changed
- Third Release: v642: smaller Bugfixes (i.e. now setting bug is fixed for all entries) and add WebsiteTitleMainPart (experimental) for better simple references
- Third Release: v661: remove some prefixes from Author, again fix /u0026 bug, Add . to letter of first name of Author, fix some wrong detection of Author
- Third Release: v666: Bugfix for wrong order of menu item with selection, fix author break in some cases, Use simple prefs while click on addon item in AddOn-Bar (useful if pdf is shown inline)
- Third Release: v760: Add volume detection and rework of documentation
Examples for Settings
- Deutsche Literatur Vorlage:
<ref name=“§Author§“>{{Literatur| Autor=§Author§ | Titel=§Title§ | Verlag=§Publisher§ | ISBN=§ISBN§ | Jahr=§PublicationYear§ | Online={{Google Buch | BuchID=§GoogleBookId§ | Seite=§Page§ }} | Seiten=§Page§ }}</ref> - Deutsche Referenz ohne Vorlage:
<ref name=“§Author§“>§Author§: ''§Title§''. , §Publisher§, §PublicationYear§, S. §Page§, ISBN §ISBN§.</ref> - Englische Cite Web Vorlage:
<ref name="">{{cite web |url=§WebsiteUrl§ |title=§WebsiteTitle§ |author=§Selection§ |date= |work= |publisher= |accessdate=§CurrentDate§}}</ref> - Simple output ohne Vorlage:
<ref>[§WebsiteUrl§ §WebsiteTitle]</ref> - Ausgabe mit deutscher Literatur-Web-Vorlage:
<ref name="Source">{{Internetquelle | url=§WebsiteUrl§ | titel=§WebsiteTitle§ | titelerg=§Selection§ | autor= | hrsg= | werk= | seiten= | datum= | zugriff=§CurrentDate§ | sprache= | kommentar= | zitat= | offline=}}</ref>