Wikipedia:Citation expander: Difference between revisions
+cote web |
ce |
||
(28 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{|style="float:right; width: |
{|class="wikitable" style="float:right; width:350px; margin:1em 1em 1em 1em;" |
||
|- |
|- |
||
![[File:Citation expander button.png|325px|frameless|right]] |
|||
|- |
|- |
||
|This adds a button (the exact appearance may differ) to trigger [[User:Citation bot|Citation bot]] from the edit window! |
|This adds a button (the exact appearance may differ) to trigger [[User:Citation bot|Citation bot]] from the edit window! This button will work even if the bot is blocked. |
||
|- |
|- |
||
![[File:Citations-alt.png|175px|frameless|center]] |
|||
|- |
|- |
||
| It also adds an "Expand citations" link in your toolbar! |
| It also adds an "Expand citations" link in your toolbar!<p>These are only two of the [[User:Citation bot/use#How to activate Citation bot|many ways to activate the bot]]. |
||
|- |
|- |
||
| This is only one of the [[#How to activate Citation bot|many ways to activate the bot]]. |
|||
|} |
|} |
||
You can enable |
You can enable the '''Citation expander''' gadget in [[Special:Preferences#mw-prefsection-gadgets|the gadgets tab of your preferences panel]] in two easy steps |
||
#Go to the "Editing" section of that tab |
|||
#Check the box labelled ''"Citation expander: automatically expand and format citations using Citation bot"'' |
|||
⚫ | |||
⚫ | |||
If enabled, it will be listed in the "Tools" section of the [[Help:Navigation#Sidebar (left)|left sidebar]] as '''Expand citations'''. A direct link to the tool is {{plain link|https://tools.wmflabs.org/citations/|https://tools.wmflabs.org/citations/}}. |
|||
⚫ | |||
#* You can type a partial citation into an article, such as |
|||
#** {{nowrap|1=<code><nowiki>{{cite journal |doi=10.1000/ABC123}}</nowiki></code>}} |
|||
#** {{nowrap|1=<code><nowiki>{{cite book |isbn=978-1-23-456789-0}}</nowiki></code>}} |
|||
#** {{nowrap|1=<code><nowiki>{{cite web |url=https://example.com}}</nowiki></code>}} |
|||
#:then have the bot expand this to a complete citation (sometimes only partially complete) before you save the page. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
** You can type a partial citation into an article (e.g. <code><nowiki>{{cite journal |doi=10.1234/ABC12345}}</nowiki></code>, <code><nowiki>{{cite book |isbn=978-123-45-567-89-0}}</nowiki></code>, or <code><nowiki>{{cite web |url=https://www.example.com}}</nowiki></code>), then have the bot expand this to a complete citation before you save the page. |
|||
⚫ | |||
When used on a "new section", the gadget's edit summary is added to the section heading - you will need to fix that by hand. |
|||
⚫ | |||
Generally, NoScript will break this. |
|||
⚫ | |||
==See also== |
|||
*[[Wikipedia:Wikipedia Signpost/2022-08-01/Tips and tricks]] – a small guide to make the most of the Citation expander gadget published in ''[[WP:SIGNPOST|The Signpost]]''. |
|||
[[Category:Wikipedia citation/link tools]] |
[[Category:Wikipedia citation/link tools]] |
||
[[Category:Wikipedia scripts| Citation expander]] |
Latest revision as of 20:44, 19 July 2023
This adds a button (the exact appearance may differ) to trigger Citation bot from the edit window! This button will work even if the bot is blocked. |
It also adds an "Expand citations" link in your toolbar! These are only two of the many ways to activate the bot. |
You can enable the Citation expander gadget in the gadgets tab of your preferences panel in two easy steps
- Go to the "Editing" section of that tab
- Check the box labelled "Citation expander: automatically expand and format citations using Citation bot"
The gadget will add missing data to citations using citation templates, and makes corrections to their formatting using the logic of Citation bot. The tool is activated on whichever page you are viewing, via one of two methods:
- If you are editing a page, a ✔ Citations button underneath the edit box will expand any citations within the edit box. This means that:
- You can check that existing citations have been expanded accurately and to your liking, allowing you to make further changes to the article before saving, and
- You can type a partial citation into an article, such as
{{cite journal |doi=10.1000/ABC123}}
{{cite book |isbn=978-1-23-456789-0}}
{{cite web |url=https://example.com}}
- then have the bot expand this to a complete citation (sometimes only partially complete) before you save the page.
- If you are viewing the page, you can click on the "Expand citations" link in the "tool" section of your left sidebar to expand and format any citations in the page.
For more information about Citation bot, see its user page or the user guide. To report bugs and suggestions to the bot, go to its talk page.
For information about the gadget, see its source code. To report bugs and suggestions to the script, go to its talk page.
When used on a "new section", the gadget's edit summary is added to the section heading - you will need to fix that by hand.
Generally, NoScript will break this.
See also
[edit]- Wikipedia:Wikipedia Signpost/2022-08-01/Tips and tricks – a small guide to make the most of the Citation expander gadget published in The Signpost.