User:Boghog/Gadget-DuplicateReferences.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | Documentation for this user script can be added at User:Boghog/Gadget-DuplicateReferences. This user script seems to have an accompanying .js page at User:Boghog/Gadget-DuplicateReferences.js. |
/**
* Adds a link to copy references and add them to other statements on the same item.
*
* Icons taken from Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome (CC BY-SA 3.0)
*
* @see [[MediaWiki:Gadget-DuplicateReferences.js]]
* @author Bene*
*/
/* show reference heading which is otherwise only visible in edit mode */
.wikibase-referenceview div.wikibase-referenceview-heading {
display: block;
}
.wikibase-toolbar-button-copy .wb-icon {
/* SVG support using a transparent gradient to guarantee cross-browser
* compatibility (browsers able to understand gradient syntax support also SVG).
* http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Copy_font_awesome.svg/24px-Copy_font_awesome.svg.png);
/* @embed */
background-image: -webkit-linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/0/04/Copy_font_awesome.svg);
/* @embed */
background-image: linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/0/04/Copy_font_awesome.svg);
background-size: 15px 15px;
background-repeat: no-repeat;
}
.wikibase-toolbar-button-insert .wb-icon {
/* SVG support using a transparent gradient to guarantee cross-browser
* compatibility (browsers able to understand gradient syntax support also SVG).
* http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Paste_font_awesome.svg/24px-Paste_font_awesome.svg.png);
/* @embed */
background-image: -webkit-linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/4/46/Paste_font_awesome.svg);
/* @embed */
background-image: linear-gradient(transparent, transparent), url(https://upload.wikimedia.org/wikipedia/commons/4/46/Paste_font_awesome.svg);
background-size: 15px 15px;
background-repeat: no-repeat;
}