<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindpowe.red/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ACite_messages</id>
	<title>Help:Cite messages - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindpowe.red/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ACite_messages"/>
	<link rel="alternate" type="text/html" href="https://mindpowe.red/wiki/index.php?title=Help:Cite_messages&amp;action=history"/>
	<updated>2026-04-06T21:02:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://mindpowe.red/wiki/index.php?title=Help:Cite_messages&amp;diff=1293&amp;oldid=prev</id>
		<title>imported&gt;Ruslik0: Undid revision 970968896 by 2600:1700:7B2:8590:29EB:EAB:84A9:5B0 (talk)No links here</title>
		<link rel="alternate" type="text/html" href="https://mindpowe.red/wiki/index.php?title=Help:Cite_messages&amp;diff=1293&amp;oldid=prev"/>
		<updated>2020-08-03T20:45:02Z</updated>

		<summary type="html">&lt;p&gt;Undid revision 970968896 by &lt;a href=&quot;/wiki/index.php/Special:Contributions/2600:1700:7B2:8590:29EB:EAB:84A9:5B0&quot; title=&quot;Special:Contributions/2600:1700:7B2:8590:29EB:EAB:84A9:5B0&quot;&gt;2600:1700:7B2:8590:29EB:EAB:84A9:5B0&lt;/a&gt; (&lt;a href=&quot;/wiki/index.php?title=User_talk:2600:1700:7B2:8590:29EB:EAB:84A9:5B0&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:2600:1700:7B2:8590:29EB:EAB:84A9:5B0 (page does not exist)&quot;&gt;talk&lt;/a&gt;)No links here&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Wikipedia how to|H:CITEMSG}}&lt;br /&gt;
{{notice|This is a very technical how-to mainly of interest to editors who work with the footnotes system and related templates}}&lt;br /&gt;
The Wikipedia [[Wikipedia:Footnotes|footnotes]] system uses the [[mw:Extension:Cite/Cite.php|Cite.php]] software extension to generate references. MediaWiki messages are then used to format the display of the inline links and the references.&lt;br /&gt;
&lt;br /&gt;
==Elements==&lt;br /&gt;
* Inline link: the link shown by the content enclosed in {{tag|ref}}; shown in superscript and enclosed in brackets; coded in the MediaWiki message as $2&lt;br /&gt;
* Backlink: the link shown in the references section; a single link is shown as a caret; coded as $2&lt;br /&gt;
* Backlink label: multiple backlinks are shown as a caret followed alpha character labels&lt;br /&gt;
* ID: a unique HTML ID that does not show; coded as $1&lt;br /&gt;
* Reference content: the content enclosed in {{tag|ref}} that shows in the reference list; coded as $3&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MediaWiki interface page !! Use !! Current&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite reference link|Cite reference link]] || format inline link || {{code|{{MediaWiki:Cite reference link}}}}&lt;br /&gt;
# ref ID: [[MediaWiki:Cite reference link prefix|Cite reference link prefix]] + reference name + numeric starting with 0&lt;br /&gt;
# backlink ID&lt;br /&gt;
# count to display&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link many|Cite references link many]] || format reference with multiple backlinks || {{code|{{MediaWiki:Cite references link many}}}}&lt;br /&gt;
# backlink ID&lt;br /&gt;
# list of links&lt;br /&gt;
# text of note&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link many and|Cite references link many and]] || || {{code|{{MediaWiki:Cite references link many and}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link many format|Cite references link many format]] || || {{code|{{MediaWiki:Cite references link many format}}}}&lt;br /&gt;
# ref ID&lt;br /&gt;
# numeric value to use as a backlink&lt;br /&gt;
# custom value to use as a backlink as defined in [[MediaWiki:Cite references link many format backlink labels]]&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link many format backlink labels|Cite references link many format backlink labels]] || backlink labels used in the reference list || ''currently from a to azz''&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link many sep|Cite references link many sep]] || || {{code|{{MediaWiki:Cite references link many sep}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link one|Cite references link one]] || format reference with single backlink || {{code|{{MediaWiki:Cite references link one}}}}&lt;br /&gt;
# backlink ID - used for creating the number order of the source list.&lt;br /&gt;
# ref ID - used to link back to the actual reference in the text&lt;br /&gt;
# text of note - text used above describing the source info&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references prefix|Cite references prefix]] || prefix for {{tag|references|single}} || {{code|{{MediaWiki:Cite references prefix}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references suffix|Cite references suffix]] || suffix for {{tag|references|single}} || {{code|{{MediaWiki:Cite references suffix}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite reference link key with num|Cite reference link key with num]] || || {{code|{{MediaWiki:Cite reference link key with num}}}}&lt;br /&gt;
# key&lt;br /&gt;
# num&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite reference link prefix|Cite reference link prefix]] || inline link prefix  || {{code|{{MediaWiki:Cite reference link prefix}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite reference link suffix|Cite reference link suffix]] || inline link suffix || {{code|{{MediaWiki:Cite reference link suffix}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link prefix|Cite references link prefix]] || reference list link prefix || {{code|{{MediaWiki:Cite references link prefix}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link suffix|Cite references link suffix]] || reference list link suffix || {{code|{{MediaWiki:Cite references link suffix}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references no link|Cite references no link]] || || {{code|{{MediaWiki:Cite references no link}}}}&lt;br /&gt;
|-&lt;br /&gt;
| [[MediaWiki:Cite references link many accessibility label|Cite references link many accessibility label]] || accessibility label for screen readers || {{code|{{MediaWiki:Cite references link many accessibility label}}}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Classes and CSS==&lt;br /&gt;
&lt;br /&gt;
Class .reference formats the inline link; defined in [[MediaWiki:Common.css|Common.css]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
/* Ensure refs in table headers and the like aren't bold or italic */&lt;br /&gt;
sup.reference {&lt;br /&gt;
    font-weight: normal;&lt;br /&gt;
    font-style: normal;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Prevent line breaks in silly places:&lt;br /&gt;
   3) Ref tags with group names &amp;lt;ref group=&amp;quot;Note&amp;quot;&amp;gt; --&amp;gt; &amp;quot;[Note 1]&amp;quot;&lt;br /&gt;
*/&lt;br /&gt;
sup.reference a {&lt;br /&gt;
    white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Class .references formats the reference list; defined in [[MediaWiki:Common.css|Common.css]] When the inline cite link is clicked, the focus jumps to the proper cite in the reference list. The following rules highlight the cite in light blue. This is supported by [[Gecko (layout engine)|Gecko]] (FireFox) and [[Webkit]] (Safari, Chrome) browsers; it is not supported by current versions of [[Trident (layout engine)|Trident]], but does work in the Internet Explore 9 platform preview.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
/* Highlight clicked reference in blue to help navigation */&lt;br /&gt;
div.references li:target,&lt;br /&gt;
sup.reference:target,&lt;br /&gt;
span.citation:target {&lt;br /&gt;
    background-color: #DEF;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Although not specific to references, [[MediaWiki:Common.css|Common.css]] does have this line height rule to keep line spacing from breaking on subscript and superscript, as used in the inline link. Internet Explorer 7 has problems with &amp;lt;code&amp;gt;line-height&amp;lt;/code&amp;gt; when printing, so it is disabled for IE7 through [[MediaWiki:Common.js|Common.js]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
/* Reduce line-height for &amp;lt;sup&amp;gt; and &amp;lt;sub&amp;gt; */&lt;br /&gt;
sup, sub {&lt;br /&gt;
    line-height: 1em;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cite errors are classed with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;strong class=&amp;quot;error mw-ext-cite-error&amp;quot;&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The extension uses some [https://phabricator.wikimedia.org/diffusion/ECIT/browse/master/modules;530ef0ab9ccda7a5adef8547b2f5c644e156e636 modules] for CSS:&lt;br /&gt;
* ext.cite.css: CSS&lt;br /&gt;
* ext.cite.js: add accessibility attributes to the citation links&lt;br /&gt;
* ext.rtlcite.css: isolation to fix references in case of RTL words at the end of a reference&lt;br /&gt;
&lt;br /&gt;
==Reference links==&lt;br /&gt;
The inline reference links are defined in [[MediaWiki:Cite reference link]]. The default is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;sup id=&amp;quot;$1&amp;quot; class=&amp;quot;reference&amp;quot;&amp;gt;[[#$2|&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;$3&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;]]&amp;lt;/sup&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where:&lt;br /&gt;
* $1 ref ID: [[MediaWiki:Cite reference link prefix|Cite reference link prefix]] + reference name + numeric starting with 0&lt;br /&gt;
* $2 backlink ID&lt;br /&gt;
* $3 count to display&lt;br /&gt;
&lt;br /&gt;
The English Wikipedia customizes this to:&lt;br /&gt;
 {{code|{{MediaWiki:Cite reference link}}}}&lt;br /&gt;
&lt;br /&gt;
Where the brackets that show enclosing the reference count are enclosed in {{tag|span|o}} tags so they can be styled.&lt;br /&gt;
&lt;br /&gt;
==Backlink labels==&lt;br /&gt;
The backlink label type is defined in [[MediaWiki:Cite references link many format]]. This interface page defaults to:&lt;br /&gt;
&amp;lt;pre&amp;gt;[[#$1|&amp;lt;sup&amp;gt;'''''$2'''''&amp;lt;/sup&amp;gt;]]&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where:&lt;br /&gt;
* $1 ref ID&lt;br /&gt;
* $2 numeric value to use as a backlink: {{dummy backlink|1.0 1.1 1.2 1.3 1.4}}&lt;br /&gt;
* $3 custom value to use as a backlink as defined in [[MediaWiki:Cite references link many format backlink labels]]:  {{dummy backlink|a azz}}&lt;br /&gt;
&lt;br /&gt;
The English Wikipedia interface page is set to:&lt;br /&gt;
 {{code|{{MediaWiki:Cite references link many format}}}}&lt;br /&gt;
&lt;br /&gt;
Changing &amp;lt;code&amp;gt;$2&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;$3&amp;lt;/code&amp;gt; changes the backlinks from numeric to alpha. This was modified in 2006 to match the output of {{tl|ref}} which was the predominant method of inserting footnotes at the time.&lt;br /&gt;
&lt;br /&gt;
==Markup==&lt;br /&gt;
&lt;br /&gt;
'''This is the markup for some simple references'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Unnamed &amp;lt;ref&amp;gt;This is an unnamed reference&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Named &amp;lt;ref name=&amp;quot;named&amp;quot;&amp;gt;This is a named reference&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Named reference used again &amp;lt;ref name=&amp;quot;named&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;references/&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Which shows as'''&lt;br /&gt;
&lt;br /&gt;
Unnamed &amp;lt;ref&amp;gt;This is an unnamed reference&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Named &amp;lt;ref name=&amp;quot;named&amp;quot;&amp;gt;This is a named reference&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Named reference used again &amp;lt;ref name=&amp;quot;named&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Which renders as'''&lt;br /&gt;
&lt;br /&gt;
The MediaWiki messages are combined to form the HTML output&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&amp;lt;p&amp;gt;Unnamed &amp;lt;sup id=&amp;quot;cite_ref-0&amp;quot; class=&amp;quot;reference&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;#cite_note-0&amp;quot; title=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span&amp;gt;[&amp;lt;/span&amp;gt;1&amp;lt;span&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/sup&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Named &amp;lt;sup id=&amp;quot;cite_ref-named_1-0&amp;quot; class=&amp;quot;reference&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;#cite_note-named-1&amp;quot; title=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span&amp;gt;[&amp;lt;/span&amp;gt;2&amp;lt;span&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/sup&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Named reference used again &amp;lt;sup id=&amp;quot;cite_ref-named_1-1&amp;quot; class=&amp;quot;reference&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;#cite_note-named-1&amp;quot; title=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span&amp;gt;[&amp;lt;/span&amp;gt;2&amp;lt;span&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/sup&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;references&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li id=&amp;quot;cite_note-0&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;lt;a href=&amp;quot;#cite_ref-0&amp;quot; title=&amp;quot;&amp;quot;&amp;gt;^&amp;lt;/a&amp;gt;&amp;lt;/b&amp;gt; This is an unnamed reference&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li id=&amp;quot;cite_note-named-1&amp;quot;&amp;gt;^ &amp;lt;a href=&amp;quot;#cite_ref-named_1-0&amp;quot; title=&amp;quot;&amp;quot;&amp;gt;&amp;lt;sup&amp;gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/sup&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;a href=&amp;quot;#cite_ref-named_1-1&amp;quot; title=&amp;quot;&amp;quot;&amp;gt;&amp;lt;sup&amp;gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;b&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/sup&amp;gt;&amp;lt;/a&amp;gt; This is a named reference&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If [[Wikipedia:citation templates|citation templates]] are used, they will inject other classes and ids into the HTML output.&lt;br /&gt;
&lt;br /&gt;
{{Wikipedia referencing}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Ruslik0</name></author>
		
	</entry>
</feed>