Template:Citation Style documentation/registration: Difference between revisions
m Fix broken wikilink |
m Update template documentation to reflect code changes |
||
| Line 3: | Line 3: | ||
Four access levels can be defined for citation template links. | Four access levels can be defined for citation template links. | ||
* '''[[#Access indicator for named identifiers|§ Access indicators for named identifiers]]:''' | * '''[[#Access indicator for named identifiers|§ Access indicators for named identifiers]]:''' | ||
** [[File:Lock-green.svg|9px|link=|alt=Freely accessible|Freely accessible]] ''' | ** [[File:Lock-green.svg|9px|link=|alt=Freely accessible|Freely accessible]] '''{{Code|free}}''': The source is freely accessible to everyone, worldwide. | ||
* '''[[#Access indicators for | * '''[[#Access indicators for URL-holding parameters|§ Access indicators for URL-holding parameters]]:''' | ||
** [[File:Lock-gray-alt-2.svg|9px|link=|alt=Free registration required|Free registration required]] ''' | ** [[File:Lock-gray-alt-2.svg|9px|link=|alt=Free registration required|Free registration required]] '''{{Code|registration}}''': Registration with the provider without any associated cost is required to access the source, even if a limited preview, abstract or synopsis may still be available without registration. | ||
** [[File:Lock-gray-alt-2.svg|9px|link=|alt=Free limited access trial, afterwards paid subscription required|Free limited access trial, afterwards paid subscription required]] ''' | ** [[File:Lock-gray-alt-2.svg|9px|link=|alt=Free limited access trial, afterwards paid subscription required|Free limited access trial, afterwards paid subscription required]] '''{{Code|limited}}''': Free access is subject to a limited trial period, after which a paid subscription is normally required. | ||
** [[File:Lock-red-alt-2.svg|9px|link=|alt=Paid subscription required|Paid subscription required]] ''' | ** [[File:Lock-red-alt-2.svg|9px|link=|alt=Paid subscription required|Paid subscription required]] '''{{Code|subscription}}''': The source is only accessible via a paid subscription with the provider (a/k/a it lies behind a "[[wikipedia:Paywall|paywall]]"). | ||
As there are often multiple external links with different access levels in the same citation, each value is attributed to a specific external link. | As there are often multiple external links with different access levels in the same citation, each value is attributed to a specific external link. | ||
===== Access indicators for | ===== Access indicators for URL-holding parameters ===== | ||
Online sources linked by ''' | Online sources linked by '''{{Para|url}}''', '''{{Para|article-url}}''', '''{{Para|chapter-url}}''', '''{{Para|contribution-url}}''', '''{{Para|entry-url}}''', '''{{Para|map-url}}''' and '''{{Para|section-url}}''' are presumed to be free-to-read. When they are not, editors should mark those sources with the matching access indicator parameter so that an appropriate icon is included in the rendered citation. Because the sources linked by these URL-holding parameters are presumed to be free-to-read, they cannot be explicitly marked as '''{{Code|free}}'''. If the registration/limited/subscription access to the source goes dead and is no longer available, then remove the access-indicator parameter and add values for the '''{{Para|archive-url}}''' and '''{{Para|archive-date}}''' parameters instead, if possible. | ||
{| class="wikitable plainrowheaders" style="margin-left: 8em; min-width: 33vw; text-align: center;" | {| class="wikitable plainrowheaders" style="margin-left: 8em; min-width: 33vw; text-align: center;" | ||
| Line 20: | Line 20: | ||
! scope="col" | Valid keywords | ! scope="col" | Valid keywords | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|url}} | ||
| ''' | | '''{{Para|url-access}}''' | ||
| rowspan="7" style="line-height: 2;" | | | rowspan="7" style="line-height: 2;" | {{Code|registration}} [[File:Lock-gray-alt-2.svg|9px|link=|alt=Free registration required|Free registration required]]<br />{{Code|limited}} [[File:Lock-gray-alt-2.svg|9px|link=|alt=Free limited access trial, afterwards paid subscription required|Free limited access trial, afterwards paid subscription required]]<br />{{Code|subscription}} [[File:Lock-red-alt-2.svg|9px|link=|alt=Paid subscription required|Paid subscription required]] | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|article-url}} | ||
| ''' | | '''{{Para|article-url-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|chapter-url}} | ||
| ''' | | '''{{Para|chapter-url-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|contribution-url}} | ||
| ''' | | '''{{Para|contribution-url-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|entry-url}} | ||
| ''' | | '''{{Para|entry-url-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|map-url}} | ||
| ''' | | '''{{Para|map-url-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|section-url}} | ||
| ''' | | '''{{Para|section-url-access}}''' | ||
|} | |} | ||
| Line 49: | Line 49: | ||
…which gets rendered as… | …which gets rendered as… | ||
:{{Cite web|url=https://example.com/nifty_data.php|url-access=registration|date=2021-04-15|title=Nifty example data|df=mdy}} | : {{Cite web|url=https://example.com/nifty_data.php|url-access=registration|date=2021-04-15|title=Nifty example data|df=mdy}} | ||
===== Access indicator for named identifiers ===== | ===== Access indicator for named identifiers ===== | ||
Links inserted by named identifiers, such as ''' | Links inserted by named identifiers, such as '''{{Para|doi}}''', are presumed to lie behind a paywall or registration barrier and lack free full-text access by default – exceptions listed below. When they are free-to-read, editors should mark those sources with the corresponding {{Para|{{Var|identifier}}-access|free}} key/value pair so that an appropriate icon is included in the rendered citation. When the sources linked by these named-identifier parameters are not presumed to carry free-to-read full-text access (as when they're just abstracting services), they may not be marked as {{Code|limited}}, {{Code|registration}} or {{Code|subscription}}. | ||
{| class="wikitable plainrowheaders" style="margin-left: 8em; min-width: 37.5vw; text-align: center;" | {| class="wikitable plainrowheaders" style="margin-left: 8em; min-width: 37.5vw; text-align: center;" | ||
| Line 60: | Line 60: | ||
! scope="col" | Valid keywords | ! scope="col" | Valid keywords | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|bibcode}} | ||
| ''' | | '''{{Para|bibcode-access}}''' | ||
| rowspan=" | | rowspan="8" | {{Code|free}} [[File:Lock-green.svg|9px|link=|alt=Freely accessible|Freely accessible]]<br />The source is freely accessible to everyone<br />(not supported by '''{{Para|url-access}}''') | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|doi}} | ||
| ''' | | '''{{Para|doi-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|hdl}} | ||
| ''' | | '''{{Para|hdl-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|jstor}} | ||
| ''' | | '''{{Para|jstor-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|ol}} | ||
| ''' | | '''{{Para|ol-access}}''' | ||
|- | |- | ||
! scope="row" | | ! scope="row" | {{Para|osti}} | ||
| ''' | | '''{{Para|osti-access}}''' | ||
|- | |- | ||
! scope="row" | ''' | ! scope="row" | {{Para|ssrn}} | ||
| ''' | | '''{{Para|ssrn-access}}''' | ||
|- | |||
! scope="row" | {{Para|s2cid}} | |||
| '''{{Para|s2cid-access}}''' | |||
|} | |} | ||
Some identifiers always offer free full-text access, and | Some identifiers always offer free full-text access, and so free access is automatically indicated by the template. This is the case for: | ||
* ''' | * '''{{Para|arxiv}}''' | ||
* ''' | * '''{{Para|biorxiv}}''' | ||
* ''' | * '''{{Para|citeseerx}}''' | ||
* ''' | * '''{{Para|medrxiv}}''' | ||
* ''' | * '''{{Para|pmc}}''' | ||
* ''' | * '''{{Para|rfc}}''' | ||
For embargoed | For embargoed '''{{Code|{{#invoke:Cs1 documentation support|canonical_name_get|PMC}}}}''' documents that will become available in the future, see [[#csdoc_Embargo|<code>{{#invoke:Cs1 documentation support|canonical_name_get|Embargo|id=csdoc_Embargo}}</code>]]. | ||
===== Tracking of free DOIs ===== | ===== Tracking of free DOIs ===== | ||
* The template is able to recognize known free-to-read [[wikipedia:DOI registrant|DOI registrants]] based on a list in [[Module:Citation/CS1/Configuration]]. Once a free registrant is identified, the <code>10.xxxx/...</code> part of the DOI associated with the registrant can be added to the list under | * The template is able to recognize known free-to-read [[wikipedia:DOI registrant|DOI registrants]] based on a list in [[Module:Citation/CS1/Configuration]]. Once a free registrant is identified, the <code>10.xxxx/...</code> part of the DOI associated with the registrant can be added to the list under {{Code|local function build_free_doi_registrants_table()}}. If {{Para|doi-access|free}} is not set, it will place the page in [[:Category:CS1 maint: Unflagged free DOI]]. | ||
* The template is also able to recognize known free-to-read journals, assuming they have a clear | * The template is also able to recognize known free-to-read journals, assuming they have a clear {{Code|10.xxxx/yyyy…}} DOI pattern. Once that pattern is identified, it can be added to [[Module:Citation/CS1/Configuration]] under {{Code|local extended_registrants_t}} with the format {{Code|1=['XXXX'] = {'YYYY'}}}. If there are multiple journals with the same DOI prefix, they can be grouped together with the format {{Code|1=['XXXX'] = {'YYYY', 'ZZZZ', '…'}}}. | ||
Latest revision as of 22:13, 22 December 2025
Citations of online sources that require registration or a paid subscription are acceptable on Zoophilia Wiki. As a courtesy to readers and other editors, editors should signal restrictions on access to material provided via the external links included in citations. These levels describe requirements or constraints related to accessing and viewing the cited material; they are not intended to indicate the ability to reuse, or the copyright status of the material, since that status is not relevant to providing evidence in support of the information found in articles here.
Four access levels can be defined for citation template links.
- § Access indicators for named identifiers:
free: The source is freely accessible to everyone, worldwide.
- § Access indicators for URL-holding parameters:
registration: Registration with the provider without any associated cost is required to access the source, even if a limited preview, abstract or synopsis may still be available without registration.
limited: Free access is subject to a limited trial period, after which a paid subscription is normally required.
subscription: The source is only accessible via a paid subscription with the provider (a/k/a it lies behind a "paywall").
As there are often multiple external links with different access levels in the same citation, each value is attributed to a specific external link.
Access indicators for URL-holding parameters
Online sources linked by |url=, |article-url=, |chapter-url=, |contribution-url=, |entry-url=, |map-url= and |section-url= are presumed to be free-to-read. When they are not, editors should mark those sources with the matching access indicator parameter so that an appropriate icon is included in the rendered citation. Because the sources linked by these URL-holding parameters are presumed to be free-to-read, they cannot be explicitly marked as free. If the registration/limited/subscription access to the source goes dead and is no longer available, then remove the access-indicator parameter and add values for the |archive-url= and |archive-date= parameters instead, if possible.
| URL holder | Access indicator | Valid keywords |
|---|---|---|
|url=
|
|url-access=
|
registration limited subscription |
|article-url=
|
|article-url-access=
| |
|chapter-url=
|
|chapter-url-access=
| |
|contribution-url=
|
|contribution-url-access=
| |
|entry-url=
|
|entry-url-access=
| |
|map-url=
|
|map-url-access=
| |
|section-url=
|
|section-url-access=
|
For example, this cites a web page that requires registration, but not subscription:
{{Cite web|url=https://example.com/nifty_data.php|url-access=registration|date=2021-04-15|title=Nifty example data|df=mdy}}
…which gets rendered as…
- "Nifty example data". April 15, 2021.
Access indicator for named identifiers
Links inserted by named identifiers, such as |doi=, are presumed to lie behind a paywall or registration barrier and lack free full-text access by default – exceptions listed below. When they are free-to-read, editors should mark those sources with the corresponding |identifier-access=free key/value pair so that an appropriate icon is included in the rendered citation. When the sources linked by these named-identifier parameters are not presumed to carry free-to-read full-text access (as when they're just abstracting services), they may not be marked as limited, registration or subscription.
| Identifier parameter | Access indicator | Valid keywords |
|---|---|---|
|bibcode=
|
|bibcode-access=
|
free The source is freely accessible to everyone (not supported by |url-access=)
|
|doi=
|
|doi-access=
| |
|hdl=
|
|hdl-access=
| |
|jstor=
|
|jstor-access=
| |
|ol=
|
|ol-access=
| |
|osti=
|
|osti-access=
| |
|ssrn=
|
|ssrn-access=
| |
|s2cid=
|
|s2cid-access=
|
Some identifiers always offer free full-text access, and so free access is automatically indicated by the template. This is the case for:
|arxiv=|biorxiv=|citeseerx=|medrxiv=|pmc=|rfc=
For embargoed pmc documents that will become available in the future, see pmc-embargo-date.
Tracking of free DOIs
- The template is able to recognize known free-to-read DOI registrants based on a list in Module:Citation/CS1/Configuration. Once a free registrant is identified, the
10.xxxx/...part of the DOI associated with the registrant can be added to the list underlocal function build_free_doi_registrants_table(). If|doi-access=freeis not set, it will place the page in Category:CS1 maint: Unflagged free DOI. - The template is also able to recognize known free-to-read journals, assuming they have a clear
10.xxxx/yyyy…DOI pattern. Once that pattern is identified, it can be added to Module:Citation/CS1/Configuration underlocal extended_registrants_twith the format['XXXX'] = {'YYYY'}. If there are multiple journals with the same DOI prefix, they can be grouped together with the format['XXXX'] = {'YYYY', 'ZZZZ', '…'}.