الفرق بين المراجعتين لصفحة: «وحدة:Citation/CS1/Configuration»

من موسوعة العلوم العربية
اذهب إلى التنقل اذهب إلى البحث
(Module:Citation/CS1/Configuration)
 
ط (مراجعة واحدة)
(مراجعة متوسطة واحدة بواسطة نفس المستخدم غير معروضة)
سطر 1: سطر 1:
citation_config = {};


local citation_config = {};
--[[


-- override <code>...</code> styling to remove color, border, and padding.  <code> css is specified here:
List of namespaces that should not be included in citation
-- https://git.wikimedia.org/blob/mediawiki%2Fcore.git/69cd73811f7aadd093050dbf20ed70ef0b42a713/skins%2Fcommon%2FcommonElements.css#L199
local code_style="color:inherit; border:inherit; padding:inherit;";


--[[--------------------------< U N C A T E G O R I Z E D _ N A M E S P A C E S >------------------------------
error categories.  Same as setting notracking = true by default
 
List of namespaces that should not be included in citation error categories.  Same as setting notracking = true by default


Note: Namespace names should use underscores instead of spaces.
Note: Namespace names should use underscores instead of spaces.


]]
]]
local uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Wikipedia_talk', 'File_talk', 'Template_talk',
'Help_talk', 'Category_talk', 'Portal_talk', 'Book_talk', 'Draft', 'Draft_talk', 'Education_Program_talk',
'Module_talk', 'MediaWiki_talk' };


local uncategorized_subpages = {'/[Ss]andbox', '/[Tt]estcases'}; -- list of Lua patterns found in page names of pages we should not categorize
citation_config.uncategorized_namespaces = { 'User', 'User_talk', 'Wikipedia_talk' };


--[[--------------------------< M E S S A G E S >--------------------------------------------------------------
--[[


Translation table
Translation tableص


The following contains fixed text that may be output as part of a citation.
The following contains fixed text that may be output as part of a citation.
This is separated from the main body to aid in future translations of this
This is separated from the main body to aid in future translations of this
module.
module.


]]
]]


local messages = {
citation_config.messages = {
   ['published'] = 'published $1',
 
   ['lay summary'] = 'Lay summary',
   ['published'] = 'نشر $1',
   ['retrieved'] = 'Retrieved $1',
 
   ['inactive'] = 'inactive',
   ['lay summary'] = 'ضع ملخصا',
   ['archived-dead'] = 'Archived from $1 on $2',
 
   ['archived-not-dead'] = '$1 from the original on $2',
   ['retrieved'] = 'اطلع عليه بتاريخ $1',
   ['archived-missing'] = 'Archived from the original$1 on $2',
 
   ['archived'] = 'Archived',
   ['inactive'] = 'غير نشط',
   ['original'] = 'the original',
 
   ['editor'] = 'ed.',
   ['archived-dead'] = 'تمت أرشفته من $1 على $2',
   ['editors'] = 'eds.',  
 
   ['edition'] = '($1 ed.)',  
   ['archived-not-dead'] = '$1 من الأصل على $2',
   ['episode'] = 'Episode $1',
 
   ['season'] = 'Season $1',  
   ['archived-missing'] = 'تمت أرشفته من الأصل$1 على  $2',
   ['series'] = 'Series $1',
 
   ['archived'] = 'تمت أرشفته',
 
   ['original'] = 'الأصل',
 
   ['editor'] = 'الناشر',
 
   ['editors'] = 'الناشرون',  
 
   ['edition'] = '(الطبعة $1)',  
 
   ['episode'] = 'حلقة',
 
   ['season'] = 'موسم',  
 
   ['series'] = 'سلاسل',
 
   ['cartography'] = 'Cartography by $1',
   ['cartography'] = 'Cartography by $1',
   ['section'] = '§ $1',
 
  ['sections'] = '§§ $1',
   ['section'] = 'Section $1',
 
   ['inset'] = '$1 inset',
   ['inset'] = '$1 inset',
   ['written'] = 'Written at $1',
 
   ['written'] = 'كتب في $1',
 
   ['in'] = 'In',
   ['in'] = 'In',
   ['et al'] = 'et al.',  
   ['et al'] = 'et al.',  
    
    
  ['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(subscription required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require a paid subscription." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' ..
  '[[Category:Pages containing links to subscription-only content]]',


   ['registration']='<span style="font-size:0.95em; font-size:90%; color:#555">(registration required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require registration." style="border-bottom:1px dotted;cursor:help">help</span>))</span>' ..
  -- include category when 'via' parameter is not used in the citation
  '[[Category:Pages with login required references or sources]]',
 
   ['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(تتطلب إشتراكا)</span>',   
 
  ['subscription_no_via'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(تتطلب إشتراكا)</span>' ..
 
        '[[Category:Pages containing links to subscription-only content]]',  
 
    
    
   ['language'] = '(in $1)',  
 
   ['via'] = " &ndash; via $1",
   ['language'] = '(باللغة $1)',  
   ['event'] = 'Event occurs at',
 
   ['via'] = " &ndash; عبر $1 [[Category:Subscription required using via]]",
 
   ['event'] = 'وقع ذلك في',
 
   ['minutes'] = 'minutes in',  
   ['minutes'] = 'minutes in',  


   ['parameter-separator'] = ', ',
  ['quoted-title'] = '"$1"',
   ['parameter-final-separator'] = ', and ',
 
   ['parameter-pair-separator'] = ' and ',
  ['italic-title'] = "''$1''",
 
  ['trans-quoted-title'] = "&#91;$1&#93;",
 
  ['trans-italic-title'] = "&#91;''$1''&#93;",
 
  ['quoted-text'] = '"$1"',
 
  ['parameter'] = '<code>&#124;$1=</code>',
 
   ['parameter-separator'] = ' و ',
 
   ['parameter-final-separator'] = ' و ',
 
   ['parameter-pair-separator'] = ' و ',
 
  -- Error output
 
  ['hidden-error'] = '<span style="display:none;font-size:100%" class="error citation-comment">$1</span>',
 
  ['visible-error'] = '<span style="font-size:100%" class="error citation-comment">$1</span>',
 
 


   -- Determines the location of the help page
   -- Determines the location of the help page
   ['help page link'] = 'Help:CS1 errors',
   ['help page link'] = 'Help:CS1 errors',
   ['help page label'] = 'help',
 
   ['help page label'] = 'مساعدة',
 
    
    
   -- Internal errors (should only occur if configuration is bad)
   -- Internal errors (should only occur if configuration is bad)
   ['undefined_error'] = 'Called with an undefined error condition',
   ['undefined_error'] = 'Called with an undefined error condition',
   ['unknown_manual_ID'] = 'Unrecognized manual ID mode',
   ['unknown_manual_ID'] = 'Unrecognized manual ID mode',
   ['unknown_ID_mode'] = 'Unrecognized ID mode',
   ['unknown_ID_mode'] = 'Unrecognized ID mode',
   ['unknown_argument_map'] = 'Argument map not defined for this variable',
   ['unknown_argument_map'] = 'Argument map not defined for this variable',
   ['bare_url_no_origin'] = 'Bare url found but origin indicator is nil or empty',
   ['bare_url_no_origin'] = 'Bare url found but origin indicator is nil or empty',
}
}


--[[--------------------------< P R E S E N T A T I O N >------------------------------------------------------
-- Aliases table for commonly passed parameters
 
citation_config.aliases = {
 
['AccessDate'] = {'access-date', 'accessdate'},
 
['Agency'] = 'agency',
 
['AirDate'] = {'air-date', 'airdate'},
 
['ArchiveDate'] = {'archive-date', 'archivedate'},
 
['ArchiveURL'] = {'archive-url', 'archiveurl'},
 
['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
 
['At'] = 'at',
 
['Authors'] = {'authors', 'people', 'host'},
 
['AuthorFormat'] = {'author-format', 'authorformat'}, -- deprecated in favor of NameListFormat;
 
['AuthorSeparator'] = 'author-separator', -- deprecated
 
['AuthorNameSeparator'] = 'author-name-separator', -- deprecated
 
['BookTitle'] = {'book-title', 'booktitle'},
 
['Callsign'] = {'call-sign', 'callsign'}, -- cite interview
 
['Cartography'] = 'cartography',
 
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'},
 
['ChapterFormat'] = 'chapter-format';
 
['ChapterLink'] = {'chapter-link', 'chapterlink'}, -- deprecated; remove after 1 January 2015?
 
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'},
 
['City'] = 'city', -- cite interview
 
['Coauthors'] = {'coauthors', 'coauthor'}, -- coauthor and coauthors are deprecated; remove after 1 January 2015?
 
['Conference'] = {'conference', 'event'},
 
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'},
 
['Date'] = 'date',
 
['DeadURL'] = {'dead-url', 'deadurl'},
 
['Degree'] = 'degree',
 
['DisplayAuthors'] = {'display-authors', 'displayauthors'},
 
['DisplayEditors'] = {'display-editors', 'displayeditors'},
 
['Docket'] = 'docket',
 
['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date', 'DoiBroken', 'doi_brokendate', 'doi_inactivedate'},
 
['Edition'] = 'edition',
 
['Editors'] = 'editors',
 
['EditorFormat'] = {'editor-format', 'editorformat'}, -- deprecated in favor of NameListFormat;
 
['EditorSeparator'] = 'editor-separator', -- deprecated
 
['EditorNameSeparator'] = 'editor-name-separator', -- deprecated
 
['Embargo'] = {'Embargo', 'embargo'},
 
['Encyclopedia'] = {'encyclopedia', 'encyclopaedia'}, -- this one only used by citation
 
['Format'] = 'format',
 
['ID'] = {'id', 'ID'},
 
['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
 
['Inset'] = 'inset',
 
['Issue'] = {'issue', 'number'},
 
['Language'] = {'language', 'in'},
 
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'},
 
['LayDate'] = {'lay-date', 'laydate'},
 
['LaySource'] = {'lay-source', 'laysource'},
 
['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'},
 
['MailingList'] = {'mailinglist', 'mailing-list'}, -- cite mailing list only
 
['Map'] = 'map', -- cite map only
 
['MapFormat'] = 'map-format', -- cite map only
 
['MapURL'] = {'mapurl', 'map-url'}, -- cite map only
 
['MessageID'] = 'message-id',
 
['Minutes'] = 'minutes',
 
['Mode'] = 'mode',
 
['Month'] = 'month', -- deprecated; remove after 1 January 2015?
 
['NameListFormat'] = {'name-list-format', 'author-format', 'authorformat', 'editor-format', 'editorformat'},
 
['NameSeparator'] = 'name-separator', -- deprecated
 
['Network'] = 'network',
 
['NoPP'] = {'no-pp', 'nopp'},
 
['NoTracking'] = {'template-doc-demo', 'template doc demo', 'no-cat', 'nocat',
 
'no-tracking', 'notracking'},
 
['OrigYear'] = {'orig-year', 'origyear'},
 
['Others'] = {'others', 'interviewer', 'interviewers'},
 
['Page'] = {'p', 'page'},
 
['Pages'] = {'pp', 'pages'},
 
['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',
 
'website',  'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary'},
 
['Place'] = {'place', 'location'},
 
['PPrefix'] = {'p-prefix', 'PPrefix'},
 
['PPPrefix'] = {'pp-prefix', 'PPPrefix'},
 
['Program'] = 'program', -- cite interview
 
['PostScript'] = 'postscript',
 
['PublicationDate'] = {'publicationdate', 'publication-date'},
 
['PublicationPlace'] = {'publication-place', 'publicationplace'},
 
['PublisherName'] = {'publisher', 'distributor', 'institution', 'newsgroup'},
 
['Quote'] = {'quote', 'quotation'},
 
['Ref'] = {'ref', 'Ref'},
 
['RegistrationRequired'] = 'registration',
 
['Scale'] = 'scale',
 
['ScriptTitle'] = 'script-title',
 
['Section'] = 'section',
 
['Season'] = 'season',
 
['Sections'] = 'sections', -- cite map only
 
['Separator'] = 'separator', -- deprecated in favor of Mode
 
['Series'] = {'series', 'version'},
 
['SeriesSeparator'] = 'series-separator',
 
['SeriesLink'] = {'series-link', 'serieslink'},
 
['SeriesNumber'] = {'series-number', 'series-no', 'seriesnumber', 'seriesno'},
 
['Station'] = 'station',
 
['SubscriptionRequired'] = 'subscription',
 
['Time'] = 'time',
 
['TimeCaption'] = {'time-caption', 'timecaption'},
 
['Title'] = 'title',
 
['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink'},
 
['TitleNote'] = 'department',


Fixed presentation markup.  Originally part of citation_config.messages it has been moved into its own, more semantically
['TitleType'] = {'type', 'medium'},
correct place.


]]
['TransChapter'] = {'trans-chapter', 'trans_chapter'},
local presentation =  
 
{
['Transcript'] = 'transcript',
-- Error output
 
-- .error class is specified at https://git.wikimedia.org/blob/mediawiki%2Fcore.git/9553bd02a5595da05c184f7521721fb1b79b3935/skins%2Fcommon%2Fshared.css#L538
['TranscriptURL'] = {'transcript-url', 'transcripturl'},
-- .citation-comment class is specified at Help:CS1_errors#Controlling_error_message_display
 
['hidden-error'] = '<span style="display:none;font-size:100%" class="error citation-comment">$1</span>',
['TransTitle'] = {'trans-title', 'trans_title'},
['visible-error'] = '<span style="font-size:100%" class="error citation-comment">$1</span>',
 
['URL'] = {'url', 'URL'},
 
['Via'] = 'via',
 
['Volume'] = 'volume',
 
['Year'] = 'year',


['accessdate'] = '<span class="reference-accessdate">$1$2</span>', -- to allow editors to hide accessdate using personal css


['bdi'] = '<bdi$1>$2</bdi>', -- bidirectional isolation used with |script-title= and the like
['AuthorList-First'] = {"author#-first", "author-first#",


['format'] = ' <span style="font-size:85%;">($1)</span>', -- for |format=, |chapter-format=, etc
"first#", "given#"},


['italic-title'] = "''$1''",
['AuthorList-Last'] = {"author#-last", "author-last#",  


['kern-left'] = '<span style="padding-left:0.2em;">$1</span>$2', -- spacing to use when title contains leading single or double quote mark
"last#", "surname#", "Author#", "author#", "authors#", "subject#"},
['kern-right'] = '$1<span style="padding-right:0.2em;">$2</span>', -- spacing to use when title contains trailing single or double quote mark


['nowrap1'] = '<span class="nowrap">$1</span>', -- for nowrapping an item: <span ...>yyyy-mm-dd</span>
['AuthorList-Link'] = {"author#-link", "author-link#",  
['nowrap2'] = '<span class="nowrap">$1</span> $2', -- for nowrapping portions of an item: <span ...>dd mmmm</span> yyyy (note white space)
['parameter'] = '<code style="'..code_style..'">&#124;$1=</code>',


['quoted-text'] = '<q>$1</q>', -- for wrapping |quote= content
"author#link", "authorlink#", "subject-link#", "subject#link", "subject#-link", "subjectlink#"},
['quoted-title'] = '"$1"',


['trans-italic-title'] = "&#91;''$1''&#93;",
['AuthorList-Mask'] = {"author#-mask", "author-mask#",  
['trans-quoted-title'] = "&#91;$1&#93;",
}


--[[--------------------------< A L I A S E S >----------------------------------------------------------------
"author#mask", "authormask#"},


Aliases table for commonly passed parameters


]]
['EditorList-First'] = {"editor#-first",


local aliases = {
"editor-first#", "editor#-given", "editor-given#", "EditorGiven#"},
['AccessDate'] = {'access-date', 'accessdate'},
['Agency'] = 'agency',
['AirDate'] = {'air-date', 'airdate'},
['ArchiveDate'] = {'archive-date', 'archivedate'},
['ArchiveFormat'] = 'archive-format',
['ArchiveURL'] = {'archive-url', 'archiveurl'},
['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},
['At'] = 'at',
['Authors'] = {'authors', 'people', 'host', 'credits'},
['AuthorFormat'] = {'author-format', 'authorformat'}, -- deprecated in favor of NameListFormat;
['AuthorSeparator'] = 'author-separator', -- deprecated
['AuthorNameSeparator'] = 'author-name-separator', -- deprecated
['Began'] = 'began', -- cite episode and cite series
['BookTitle'] = {'book-title', 'booktitle'},
['Callsign'] = {'call-sign', 'callsign'}, -- cite interview
['Cartography'] = 'cartography',
['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'},
['ChapterFormat'] = {'chapter-format', 'contribution-format', 'section-format'};
['ChapterLink'] = {'chapter-link', 'chapterlink'}, -- deprecated; remove after 1 January 2015?
['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'},
['City'] = 'city', -- cite interview
['Class'] = 'class', -- cite arxiv and arxiv identifiers
['Coauthors'] = {'coauthors', 'coauthor'}, -- coauthor and coauthors are deprecated; remove after 1 January 2015?
['Conference'] = {'conference', 'event'},
['ConferenceFormat'] = {'conference-format', 'event-format'},
['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'},
['Date'] = {'date', 'air-date', 'airdate'},
['DeadURL'] = {'dead-url', 'deadurl'},
['Degree'] = 'degree',
['DisplayAuthors'] = {'display-authors', 'displayauthors'},
['DisplayEditors'] = {'display-editors', 'displayeditors'},
['Docket'] = 'docket',
['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date', 'doi_brokendate', 'doi_inactivedate'},
['Edition'] = 'edition',
['Editors'] = 'editors',
['EditorFormat'] = {'editor-format', 'editorformat'}, -- deprecated in favor of NameListFormat;
['EditorSeparator'] = 'editor-separator', -- deprecated
['EditorNameSeparator'] = 'editor-name-separator', -- deprecated
['Embargo'] = 'embargo',
['Encyclopedia'] = {'encyclopedia', 'encyclopaedia'}, -- this one only used by citation
['Ended'] = 'ended', -- cite episode and cite series
['Episode'] = 'episode', -- cite serial only TODO: make available to cite episode?
['Format'] = 'format',
['ID'] = {'id', 'ID'},
['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},
['Inset'] = 'inset',
['Issue'] = {'issue', 'number'},
['Language'] = {'language', 'in'},
['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'},
['LayDate'] = {'lay-date', 'laydate'},
['LayFormat'] = 'lay-format',
['LaySource'] = {'lay-source', 'laysource'},
['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'},
['MailingList'] = {'mailinglist', 'mailing-list'}, -- cite mailing list only
['Map'] = 'map', -- cite map only
['MapFormat'] = 'map-format', -- cite map only
['MapURL'] = {'mapurl', 'map-url'}, -- cite map only
['MessageID'] = 'message-id',
['Minutes'] = 'minutes',
['Mode'] = 'mode',
['Month'] = 'month', -- deprecated; remove after 1 January 2015?
['NameListFormat'] = {'name-list-format', 'author-format', 'authorformat', 'editor-format', 'editorformat'},
['NameSeparator'] = 'name-separator', -- deprecated
['Network'] = 'network',
['NoPP'] = {'no-pp', 'nopp'},
['NoTracking'] = {'template-doc-demo', 'template doc demo', 'no-cat', 'nocat',
'no-tracking', 'notracking'},
['OrigYear'] = {'orig-year', 'origyear'},
['Others'] = {'others', 'interviewer', 'interviewers'},
['Page'] = {'p', 'page'},
['Pages'] = {'pp', 'pages'},
['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',
'website',  'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary'},
['Place'] = {'place', 'location'},
['PPrefix'] = {'p-prefix', 'PPrefix'},
['PPPrefix'] = 'pp-prefix',
['Program'] = 'program', -- cite interview
['PostScript'] = 'postscript',
['PublicationDate'] = {'publicationdate', 'publication-date'},
['PublicationPlace'] = {'publication-place', 'publicationplace'},
['PublisherName'] = {'publisher', 'distributor', 'institution', 'newsgroup'},
['Quote'] = {'quote', 'quotation'},
['Ref'] = {'ref', 'Ref'},
['RegistrationRequired'] = 'registration',
['Scale'] = 'scale',
['ScriptTitle'] = 'script-title',
['Section'] = 'section',
['Season'] = 'season',
['Sections'] = 'sections', -- cite map only
['Separator'] = 'separator', -- deprecated in favor of Mode
['Series'] = {'series', 'version'},
['SeriesSeparator'] = 'series-separator',
['SeriesLink'] = {'series-link', 'serieslink'},
['SeriesNumber'] = {'series-number', 'series-no', 'seriesnumber', 'seriesno'},
['Sheet'] = 'sheet', -- cite map only
['Sheets'] = 'sheets', -- cite map only
['Station'] = 'station',
['SubscriptionRequired'] = 'subscription',
['Time'] = 'time',
['TimeCaption'] = {'time-caption', 'timecaption'},
['Title'] = 'title',
['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink'},
['TitleNote'] = 'department',
['TitleType'] = {'type', 'medium'},
['TransChapter'] = {'trans-chapter', 'trans_chapter'},
['TransMap'] = 'trans-map', -- cite map only
['Transcript'] = 'transcript',
['TranscriptFormat'] = 'transcript-format',
['TranscriptURL'] = {'transcript-url', 'transcripturl'},
['TransTitle'] = {'trans-title', 'trans_title'},
['URL'] = {'url', 'URL'},
['Vauthors'] = 'vauthors',
['Veditors'] = 'veditors',
['Via'] = 'via',
['Volume'] = 'volume',
['Year'] = 'year',


['AuthorList-First'] = {"first#", "given#", "author-first#", "author#-first"},
['EditorList-Last'] = {"editor#-last", "editor-last#",
['AuthorList-Last'] = {"last#", "author#", "surname#", "author-last#", "author#-last", "subject#", "Author#"},
['AuthorList-Link'] = {"authorlink#", "author-link#", "author#-link", "subjectlink#", "author#link", "subject-link#", "subject#-link", "subject#link"},
['AuthorList-Mask'] = {"author-mask#", "authormask#", "author#mask", "author#-mask"},
['EditorList-First'] = {"editor-first#", "editor#-first", "editor-given#", "editor#-given", "EditorGiven#"},
['EditorList-Last'] = {"editor#", "editor-last#", "editor#-last", "editor-surname#", "editor#-surname", "EditorSurname#", "Editor#"},
['EditorList-Link'] = {"editor-link#", "editor#-link", "editorlink#", "editor#link"},
['EditorList-Mask'] = {"editor-mask#", "editor#-mask", "editormask#", "editor#mask"},
}


--[[--------------------------< D E F A U L T S >--------------------------------------------------------------
"editor#-surname", "editor-surname#", "EditorSurname#", "Editor#", "editor#", "editors#"},


-- Default parameter values
['EditorList-Link'] = {"editor#-link", "editor-link#",


]]
"editor#link", "editorlink#"},


local defaults = {
['EditorList-Mask'] = {"editor#-mask", "editor-mask#",  
['DeadURL'] = 'yes',
['PPrefix'] = "p.&nbsp;",
['PPPrefix'] = "pp.&nbsp;",
}


--[[--------------------------< M A I N T E N A N C E _ C A T E G O R I E S >----------------------------------
"editor#mask", "editormask#"},


Here we name maintenance categories to be used in maintenance messages.


]]
}


local maint_cats = {
-- Default parameter values
['ASIN'] = 'CS1 maint: ASIN uses ISBN',
['date_year'] = 'CS1 maint: Date and year',
['disp_auth_ed'] = 'CS1 maint: display-$1', -- $1 is authors or editors
['embargo'] = 'CS1 maint: PMC embargo expired',
['english'] = 'CS1 maint: English language specified',
['etal'] = 'CS1 maint: Explicit use of et al.',
['extra_text'] = 'CS1 maint: Extra text',
['unknown_lang'] = 'CS1 maint: Unrecognized language',
['untitled'] = 'CS1 maint: Untitled periodical',
}


--[[--------------------------< P R O P E R T I E S _ C A T E G O R I E S >------------------------------------
citation_config.defaults = {


Here we name properties categories
    ['DeadURL'] = 'yes',


]]
    ['PostScript'] = '.',


local prop_cats = {
    ['Separator'] = '.',
['foreign_lang_source'] = 'CS1 $1-language sources ($2)', -- |language= categories; $1 is language name, $2 is ISO639-1 code
['script'] = 'CS1 uses foreign language script', -- when language specified by |script-title=xx: doesn't have its own category
['script_with_name'] = 'CS1 uses $1-language script ($2)', -- |script-title=xx: has matching category; $1 is language name, $2 is ISO639-1 code
}


    ['AuthorSeparator'] = '؛',


    ['EditorSeparator'] = '؛',


--[[--------------------------< T I T L E _ T Y P E S >--------------------------------------------------------
    ['NameSeparator'] = '،',


Here we map a template's CitationClass to TitleType
    ['PPrefix'] = "صفحة&nbsp;",


]]
    ['PPPrefix'] = "صفحات&nbsp;",   


local title_types = {
}
['AV-media-notes'] = 'Media notes',
['DVD-notes'] = 'Media notes',
['mailinglist'] = 'Mailing list',
['map'] = 'Map',
['podcast'] = 'Podcast',
['pressrelease'] = 'Press release',
['report'] = 'Report',
['techreport'] = 'Technical report',
['thesis'] = 'Thesis',
}


--[[--------------------------< E R R O R _ C O N D I T I O N S >----------------------------------------------
--[[


Error condition table
Error condition table


The following contains a list of IDs for various error conditions defined in the  
The following contains a list of IDs for various error conditions defined in the  
code.  For each ID, we specify a text message to display, an error category to
code.  For each ID, we specify a text message to display, an error category to
include, and whether the error message should be wrapped as a hidden comment.
include, and whether the error message should be wrapped as a hidden comment.


سطر 326: سطر 423:
]]
]]


local error_conditions = {
citation_config.error_conditions = {
accessdate_missing_url = {
 
message = '<code style="'..code_style..'">&#124;accessdate=</code> requires <code style="'..code_style..'">&#124;url=</code>',
    accessdate_missing_url = {
anchor = 'accessdate_missing_url',
 
category = 'Pages using citations with accessdate and no URL',
        message = '<code>&#124;accessdate=</code> بحاجة لـ <code>&#124;url=</code>',
hidden = true },
 
archive_missing_date = {
        anchor = 'accessdate_missing_url',
message = '<code style="'..code_style..'">&#124;archiveurl=</code> requires <code style="'..code_style..'">&#124;archivedate=</code>',
 
anchor = 'archive_missing_date',
        category = 'صفحات تحتوي مراجع ويب بتاريخ وصول وبدون رابط تشعبي',
category = 'Pages with archiveurl citation errors',
 
hidden = false },
        hidden = true },
archive_missing_url = {
 
message = '<code style="'..code_style..'">&#124;archiveurl=</code> requires <code style="'..code_style..'">&#124;url=</code>',
    archive_missing_date = {
anchor = 'archive_missing_url',
 
category = 'Pages with archiveurl citation errors',
        message = '<code>&#124;archiveurl=</code> بحاجة لـ <code>&#124;archivedate=</code>',
hidden = false },
 
arxiv_missing = {
        anchor = 'archive_missing_date',
message = '<code style="'..code_style..'">&#124;arxiv=</code> required',
 
anchor = 'arxiv_missing',
        category = 'صفحات برابط أرشيف خاطئ',
category = 'CS1 errors: arXiv', -- same as bad arxiv
 
hidden = false },
        hidden = false },
arxiv_params_not_supported = {
 
message = 'Unsupported parameter(s) in cite arXiv',
    archive_missing_url = {
anchor = 'arxiv_params_not_supported',
 
category = 'CS1 errors: arXiv', -- same as bad arxiv
        message = '<code>&#124;archiveurl=</code> بحاجة لـ <code>&#124;url=</code>',
hidden = false },
 
bad_arxiv = {
        anchor = 'archive_missing_url',
message = 'Check <code style="'..code_style..'">&#124;arxiv=</code> value',
 
anchor = 'bad_arxiv',
        category = 'صفحات برابط أرشيف خاطئ',
category = 'CS1 errors: arXiv',
 
hidden = false },
        hidden = false },
bad_asin = {
 
message = 'Check <code style="'..code_style..'">&#124;asin=</code> value',
    bad_doi = {
anchor = 'bad_asin',
 
category ='CS1 errors: ASIN',
        message = 'تأكد من صحة <code>&#124;doi=</code> ',
hidden = false },
 
bad_authorlink = {
        anchor = 'bad_doi',
message = 'Check <code style="'..code_style..'">&#124;authorlink=</code> value',
 
anchor = 'bad_authorlink',
        category = 'Pages with DOI errors',
category = 'CS1 errors: authorlink',
 
hidden = false },
        hidden = false },
bad_date = {
 
message = 'Check date values in: <code style="'..code_style..'">$1</code>',
    bad_isbn = {
anchor = 'bad_date',
 
category = 'CS1 errors: dates',
        message = 'تأكد من صحة <code>&#124;isbn=</code> ',
hidden = false },
 
bad_doi = {
        anchor = 'bad_isbn',
message = 'Check <code style="'..code_style..'">&#124;doi=</code> value',
 
anchor = 'bad_doi',
        category = 'صفحات مع أخطاء الترقيم الدولي',
category = 'CS1 errors: DOI',
 
hidden = false },
        hidden = false },
bad_isbn = {
 
message = 'Check <code style="'..code_style..'">&#124;isbn=</code> value',
    bad_ol = {
anchor = 'bad_isbn',
 
category = 'Pages with ISBN errors',
        message = 'تأكد من صحة <code>&#124;ol=</code> ',
hidden = false },
 
bad_ismn = {
        anchor = 'bad_ol',
message = 'Check <code style="'..code_style..'">&#124;ismn=</code> value',
 
anchor = 'bad_ismn',
        category = 'Pages with OL errors',
category = 'CS1 errors: ISMN',
 
hidden = false },
        hidden = false },
bad_issn = {
 
message = 'Check <code style="'..code_style..'">&#124;issn=</code> value',
    bad_url = {
anchor = 'bad_issn',
 
category = 'CS1 errors: ISSN',
        message = 'تأكد من سلامة <code>&#124;url=</code> ',
hidden = false },
 
bad_lccn = {
        anchor = 'bad_url',
message = 'Check <code style="'..code_style..'">&#124;lccn=</code> value',
 
anchor = 'bad_lccn',
        category = 'صفحات برابط تشعبي خاطئ',
category = 'CS1 errors: LCCN',
 
hidden = false },
        hidden = false },
bad_message_id = {
 
message = 'Check <code style="'..code_style..'">&#124;message-id=</code> value',
    bare_url_missing_title = {
anchor = 'bad_message_id',
 
category = 'CS1 errors: message-id',
        message = '$1 تحتاج عنوانا',
hidden = false },
 
bad_ol = {
        anchor = 'bare_url_missing_title',
message = 'Check <code style="'..code_style..'">&#124;ol=</code> value',
 
anchor = 'bad_ol',
        category = 'صفحات تحتوي مراجع ويب برابط تشعبي فقير',
category = 'CS1 errors: OL',
 
hidden = false },
        hidden = false },
bad_pmc = {
 
message = 'Check <code style="'..code_style..'">&#124;pmc=</code> value',
    citation_missing_title = {
anchor = 'bad_pmc',
 
category = 'CS1 errors: PMC',
        message = ' <code>&#124;title=</code> مفقود أو فارغ',
hidden = false },
 
bad_pmid = {
        anchor = 'citation_missing_title',
message = 'Check <code style="'..code_style..'">&#124;pmid=</code> value',
 
anchor = 'bad_pmid',
        category = 'صفحات تحتوي مراجع ويب بدون عنوان',
category = 'CS1 errors: PMID',
 
hidden = false },
        hidden = false },
bad_url = {
 
message = 'Check <code style="'..code_style..'">&#124;url=</code> scheme',
    cite_web_url = {
anchor = 'bad_url',
 
category = 'Pages with URL errors',
        message = '<code>&#124;url=</code> مفقود أو فارغ',
hidden = false },
 
bare_url_missing_title = {
        anchor = 'cite_web_url',
message = '$1 missing title',
 
anchor = 'bare_url_missing_title',
        category = 'صفحات تحتوي مراجع ويب بدون رابط تشعبي',
category = 'Pages with citations having bare URLs',
 
hidden = false },
        hidden = true },
chapter_ignored = {
 
message = '<code style="'..code_style..'">&#124;chapter=</code> ignored',
    empty_citation = {
anchor = 'chapter_ignored',
 
category = 'CS1 errors: chapter ignored',
        message = 'Empty citation',
hidden = false },
 
citation_missing_title = {
        anchor = 'empty_citation',
message = 'Missing or empty <code style="'..code_style..'">&#124;title=</code>',
 
anchor = 'citation_missing_title',
        category = 'صفحات مع استشهادات فارغة',
category = 'Pages with citations lacking titles',
 
hidden = false },
        hidden = false },
cite_web_url = { -- this error applies to cite web and to cite podcast
 
message = 'Missing or empty <code style="'..code_style..'">&#124;url=</code>',
    extra_pages = {
anchor = 'cite_web_url',
 
category = 'Pages using web citations with no URL',
        message = 'Extra <code>&#124;pages=</code> or <code>&#124;at=</code>',
hidden = true },
 
coauthors_missing_author = {
        anchor = 'extra_pages',
message = '<code style="'..code_style..'">&#124;coauthors=</code> requires <code style="'..code_style..'">&#124;author=</code>',
 
anchor = 'coauthors_missing_author',
        category = 'صفحات تحتوي مراجع بوسائط متضاربة',
category = 'CS1 errors: coauthors without author',
 
hidden = false },
        hidden = false },
deprecated_params = {
 
message = 'Cite uses deprecated parameter <code style="'..code_style..'">&#124;$1=</code>',
    format_missing_url = {
anchor = 'deprecated_params',
 
category = 'Pages containing cite templates with deprecated parameters',
        message = '<code>&#124;format=</code> requires <code>&#124;url=</code>',
hidden = true },
 
empty_citation = {
        anchor = 'format_missing_url',
message = 'Empty citation',
 
anchor = 'empty_citation',
        category = 'صفحات تحتوي مراجع ويب منسقة بدون رابط تشعبي',
category = 'Pages with empty citations',
 
hidden = false },
        hidden = true },
extra_pages = {
 
message = 'Extra <code style="'..code_style..'">&#124;pages=</code> or <code style="'..code_style..'">&#124;at=</code>',
    implict_etal_author = {
anchor = 'extra_pages',
 
category = 'Pages with citations using conflicting page specifications',
        message = '<code>&#124;displayauthors=</code> suggested',
hidden = false },
 
first_missing_last = {
        anchor = 'displayauthors',
message = '<code style="'..code_style..'">&#124;first$2=</code> missing <code style="'..code_style..'">&#124;last$2=</code> in $1',
 
anchor = 'first_missing_last',
        category = 'صفحات تحتوي مراجع بالطريقة القديمة',
category = 'CS1 errors: missing author or editor',
 
hidden = false },
        hidden = true },
format_missing_url = {
 
message = '<code style="'..code_style..'">&#124;$1=</code> requires <code style="'..code_style..'">&#124;$2=</code>',
    implict_etal_editor = {
anchor = 'format_missing_url',
 
category = 'Pages using citations with format and no URL',
        message = '<code>&#124;displayeditors=</code> suggested',
hidden = true },
 
implict_etal_editor = {
        anchor = 'displayeditors',
message = '<code style="'..code_style..'">&#124;displayeditors=</code> suggested',
 
anchor = 'displayeditors',
        category = 'صفحات تحتوي مراجع بالطريقة القديمة',
category = 'Pages using citations with old-style implicit et al. in editors',
 
hidden = true },
        hidden = true },
invalid_param_val = {
 
message = 'Invalid <code style="'..code_style..'">&#124;$1=$2</code>',
    parameter_ignored = {
anchor = 'invalid_param_val',
 
category = 'CS1 errors: invalid parameter value',
        message = 'وسائط <code>&#124;$1=</code> تم تجاهلها',
hidden = false },
 
missing_name = {
        anchor = 'parameter_ignored',
message = 'Missing <code style="'..code_style..'">&#124;last$2=</code> in $1',
 
anchor = 'missing_name',
        category = 'صفحات تحتوي مراجع بوسائط غير مدعومة',
category = 'CS1 errors: missing author or editor',
 
hidden = false },
        hidden = true },
parameter_ignored = {
 
message = 'Unknown parameter <code style="'..code_style..'">&#124;$1=</code> ignored',
    parameter_ignored_suggest = {
anchor = 'parameter_ignored',
 
category = 'Pages with citations using unsupported parameters',
        message = 'وسائط <code>&#124;$1=</code> تم تجاهلها(<code>&#124;$2=</code> مقترح)',
hidden = false },
 
parameter_ignored_suggest = {
        anchor = 'parameter_ignored_suggest',
message = 'Unknown parameter <code style="'..code_style..'">&#124;$1=</code> ignored (<code style="'..code_style..'">&#124;$2=</code> suggested)',
 
anchor = 'parameter_ignored_suggest',
        category = 'صفحات تحتوي مراجع بوسائط غير مدعومة',
category = 'Pages with citations using unsupported parameters',
 
hidden = false },
        hidden = false },
redundant_parameters = {
 
message = 'More than one of $1 specified',
    redundant_parameters = {
anchor = 'redundant_parameters',
 
category = 'Pages with citations having redundant parameters',
        message = 'More than one of $1 specified',
hidden = false },
 
text_ignored = {
        anchor = 'redundant_parameters',
message = 'Text "$1" ignored',
 
anchor = 'text_ignored',
        category = 'صفحات تحتوي مراجع بوسائط زائدة',
category = 'Pages with citations using unnamed parameters',
 
hidden = false },
        hidden = false },
trans_missing_chapter = {
 
message = '<code style="'..code_style..'">&#124;trans-chapter=</code> requires <code style="'..code_style..'">&#124;chapter=</code>',
    text_ignored = {  
anchor = 'trans_missing_chapter',
 
category = 'Pages with citations using translated terms without the original',
        message = 'النص "$1" تم تجاهله',
hidden = false },
 
trans_missing_title = {
        anchor = 'text_ignored',
message = '<code style="'..code_style..'">&#124;trans-title=</code> requires <code style="'..code_style..'">&#124;title=</code>',
 
anchor = 'trans_missing_title',
        category = 'صفحات تحتوي مراجع بوسائط غير مسماه',
category = 'Pages with citations using translated terms without the original',
 
hidden = false },
        hidden = false },
vancouver = {
 
message = 'Vancouver style error',
    trans_missing_chapter = {
anchor = 'vancouver',
 
category = 'CS1 errors: Vancouver style',
        message = '<code>&#124;trans-chapter=</code> requires <code>&#124;chapter=</code>',
hidden = false },
 
wikilink_in_url = {
        anchor = 'trans_missing_chapter',
message = 'Wikilink embedded in URL title',
 
anchor = 'wikilink_in_url',
        category = 'صفحات تحتوي مراجع تستخدم مصطلحات مترجمة دون الأصلية',
category = 'Pages with citations having wikilinks embedded in URL titles',
 
hidden = false },
        hidden = false },
 
    trans_missing_title = {
 
        message = '<code>&#124;trans-title=</code> requires <code>&#124;title=</code>',
 
        anchor = 'trans_missing_title',
 
        category = 'صفحات تحتوي مراجع تستخدم مصطلحات مترجمة دون الأصلية',
 
        hidden = false },
 
    wikilink_in_url = {
 
        message = 'Wikilink embedded in URL title',
 
        anchor = 'wikilink_in_url',
 
        category = 'صفحات تحتوي مراجع تستخدم وصلات إنترويكي في العنوان',
 
        hidden = false },
 
}
}


--[[--------------------------< I D _ H A N D L E R S >--------------------------------------------------------
citation_config.id_handlers = {
 
    ['ASIN'] = {
 
        parameters = { 'asin', 'ASIN' },     
 
        link = 'Amazon Standard Identification Number',
 
        label = 'ASIN',
 
        mode = 'manual',
 
        COinS = 'info:asin',
 
        separator = '&nbsp;',
 
        encode = false;
 
    },
 
    ['DOI'] = {
 
        parameters = { 'doi', 'DOI' },
 
        link = 'Digital object identifier',
 
        label = 'doi',
 
        mode = 'manual',
 
        prefix = 'http://dx.doi.org/',
 
        COinS = 'info:doi',
 
        separator = ':',
 
        encode = true,
 
    },
 
    ['OL'] = {
 
        parameters = { 'ol', 'OL' },
 
        link = 'Open Library',
 
        label = 'OL',
 
        mode = 'manual',
 
        COinS = 'info:olnum',
 
        separator = '&nbsp;',
 
        endode = true,
 
    },
 
    ['ARXIV'] = {
 
        parameters = {'arxiv', 'ARXIV'},
 
        link = 'arXiv',
 
        label = 'arXiv',
 
        mode = 'external',
 
        prefix = 'http://arxiv.org/abs/',
 
        encode = false,
 
        COinS = 'info:arxiv',
 
        separator = ':',
 
    },
 
    ['BIBCODE'] = {
 
        parameters = {'bibcode', 'BIBCODE'},
 
        link = 'Bibcode',
 
        label = 'Bibcode',
 
        mode = 'external',
 
        prefix = 'http://adsabs.harvard.edu/abs/',
 
        encode = false,
 
        COinS = 'info:bibcode',
 
        separator = ':',
 
    },
 
    ['ISBN'] = {
 
        parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'},
 
        link = 'International Standard Book Number',
 
        label = 'ISBN',
 
        mode = 'manual',
 
        prefix = 'Special:BookSources/',
 
        COinS = 'rft.isbn',
 
        separator = '&nbsp;',
 
    },
 
    ['ISSN'] = {
 
        parameters = {'issn', 'ISSN'},
 
        link = 'International Standard Serial Number',
 
        label = 'ISSN',
 
        mode = 'external',
 
        prefix = '//www.worldcat.org/issn/',
 
        COinS = 'rft.issn',
 
        encode = false,
 
        separator = '&nbsp;',
 
    },
 
    ['JFM'] = {
 
        parameters = {'jfm', 'JFM'},
 
        link = 'Jahrbuch über die Fortschritte der Mathematik',
 
        label = 'JFM',
 
        mode = 'external',
 
        prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',
 
        COinS = 'rft.jfm',
 
        encode = true,
 
        separator = '&nbsp;',
 
    },
 
    ['JSTOR'] = {
 
        parameters = {'jstor', 'JSTOR'},
 
        link = 'JSTOR',
 
        label = 'JSTOR',
 
        mode = 'external',
 
        prefix = 'http://www.jstor.org/stable/',
 
        COinS = 'rft.jstor',
 
        encode = true,
 
        separator = '&nbsp;',
 
    },
 
    ['LCCN'] = {
 
        parameters = {'LCCN', 'lccn'},
 
        link = 'Library of Congress Control Number',
 
        label = 'LCCN',
 
        mode = 'external',
 
        prefix = 'http://lccn.loc.gov/',
 
        COinS = 'rft.lccn',
 
        encode = false,
 
        separator = '&nbsp;',
 
    },
 
    ['MR'] = {


The following contains a list of values for various defined identifiers.  For each identifier we specify a
        parameters = {'MR', 'mr'},
variety of information necessary to properly render the identifier in the citation.


parameters: a list of parameter aliases for this identifier
        link = 'Mathematical Reviews',
link: Wikipedia article name
 
label: the alternate name to apply to link
        label = 'MR',
mode: 'manual' when there is a specific function in the code to handle the identifier;
 
'external' for identifiers that link outside of Wikipedia;
        mode = 'external',
prefix: the first part of a url that will be concatenated with a second part which usually contains the identifier
 
encode: true if uri should be percent encoded; otherwise false
        prefix = 'http://www.ams.org/mathscinet-getitem?mr=',
COinS: into rft.id
 
separator: character or text between label and the identifier in the rendered citation
        COinS = 'rft.mr',
]]
 
        encode = true,
 
        separator = '&nbsp;',
 
    },
 
    ['OCLC'] = {
 
        parameters = {'OCLC', 'oclc'},
 
        link = 'OCLC',
 
        label = 'OCLC',
 
        mode = 'external',
 
        prefix = '//www.worldcat.org/oclc/',
 
        COinS = 'info:oclcnum',
 
        encode = true,
 
        separator = '&nbsp;',
 
    },
 
    ['OSTI'] = {
 
        parameters = {'OSTI', 'osti'},
 
        link = 'Office of Scientific and Technical Information',
 
        label = 'OSTI',
 
        mode = 'external',
 
        prefix = 'http://www.osti.gov/energycitations/product.biblio.jsp?osti_id=',
 
        COinS = 'info:osti',
 
        encode = true,
 
        separator = '&nbsp;',
 
    },
 
    ['PMC'] = {
 
        parameters = {'PMC', 'pmc'},
 
        link = 'PubMed Central',
 
        label = 'PMC',
 
        mode = 'external',
 
        prefix = '//www.ncbi.nlm.nih.gov/pmc/articles/PMC',
 
        suffix = " ",
 
        COinS = 'info:pmc',
 
        encode = true,
 
        separator = '&nbsp;',
 
    },
 
    ['PMID'] = {
 
        parameters = {'PMID', 'pmid'},
 
        link = 'PubMed Identifier',
 
        label = 'PMID',
 
        mode = 'external',
 
        prefix = '//www.ncbi.nlm.nih.gov/pubmed/',
 
        COinS = 'info:pmid',
 
        encode = false,
 
        separator = '&nbsp;',
 
    },
 
    ['RFC'] = {
 
        parameters = {'RFC', 'rfc'},
 
        link = 'Request for Comments',
 
        label = 'RFC',
 
        mode = 'external',
 
        prefix = '//tools.ietf.org/html/rfc',
 
        COinS = 'info:rfc',
 
        encode = false,
 
        separator = '&nbsp;',
 
    },
 
    ['SSRN'] = {
 
        parameters = {'SSRN', 'ssrn'},
 
        link = 'Social Science Research Network',
 
        label = 'SSRN',
 
        mode = 'external',
 
        prefix = 'http://ssrn.com/abstract=',
 
        COinS = 'info:ssrn',
 
        encode = true,
 
        separator = '&nbsp;',
 
    },
 
    ['ZBL'] = {
 
        parameters = {'ZBL', 'zbl'},
 
        link = 'Zentralblatt MATH',
 
        label = 'Zbl',
 
        mode = 'external',
 
        prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',
 
        COinS = 'info:zbl',
 
        encode = true,
 
        separator = '&nbsp;',
 
    }


local id_handlers = {
['ARXIV'] = {
parameters = {'arxiv', 'ARXIV', 'eprint'},
link = 'arXiv',
label = 'arXiv',
mode = 'manual',
prefix = '//arxiv.org/abs/', -- protocol relative tested 2013-09-04
encode = false,
COinS = 'info:arxiv',
separator = ':',
},
['ASIN'] = {
parameters = { 'asin', 'ASIN' },  
link = 'Amazon Standard Identification Number',
label = 'ASIN',
mode = 'manual',
COinS = 'info:asin',
separator = '&nbsp;',
encode = false;
},
['BIBCODE'] = {
parameters = {'bibcode', 'BIBCODE'},
link = 'Bibcode',
label = 'Bibcode',
mode = 'external',
prefix = 'http://adsabs.harvard.edu/abs/',
encode = false,
COinS = 'info:bibcode',
separator = ':',
},
['DOI'] = {
parameters = { 'doi', 'DOI' },
link = 'Digital object identifier',
label = 'doi',
mode = 'manual',
prefix = '//dx.doi.org/',
COinS = 'info:doi',
separator = ':',
encode = true,
},
['ISBN'] = {
parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'},
link = 'International Standard Book Number',
label = 'ISBN',
mode = 'manual',
prefix = 'Special:BookSources/',
COinS = 'rft.isbn',
separator = '&nbsp;',
},
['ISMN'] = {
parameters = {'ismn', 'ISMN'},
link = 'International Standard Music Number',
label = 'ISMN',
mode = 'manual',
prefix = '', -- not currently used;
COinS = 'info:ismn',
separator = '&nbsp;',
},
['ISSN'] = {
parameters = {'issn', 'ISSN'},
link = 'International Standard Serial Number',
label = 'ISSN',
mode = 'manual',
prefix = '//www.worldcat.org/issn/',
COinS = 'rft.issn',
encode = false,
separator = '&nbsp;',
},
['JFM'] = {
parameters = {'jfm', 'JFM'},
link = 'Jahrbuch über die Fortschritte der Mathematik',
label = 'JFM',
mode = 'external',
prefix = '//zbmath.org/?format=complete&q=an:',
COinS = 'rft.jfm',
encode = true,
separator = '&nbsp;',
},
['JSTOR'] = {
parameters = {'jstor', 'JSTOR'},
link = 'JSTOR',
label = 'JSTOR',
mode = 'external',
prefix = '//www.jstor.org/stable/', -- protocol relative tested 2013-09-04
COinS = 'rft.jstor',
encode = false,
separator = '&nbsp;',
},
['LCCN'] = {
parameters = {'LCCN', 'lccn'},
link = 'Library of Congress Control Number',
label = 'LCCN',
mode = 'manual',
prefix = 'http://lccn.loc.gov/',
COinS = 'rft.lccn',
encode = false,
separator = '&nbsp;',
},
['MR'] = {
parameters = {'MR', 'mr'},
link = 'Mathematical Reviews',
label = 'MR',
mode = 'external',
prefix = '//www.ams.org/mathscinet-getitem?mr=', -- protocol relative tested 2013-09-04
COinS = 'rft.mr',
encode = true,
separator = '&nbsp;',
},
['OCLC'] = {
parameters = {'OCLC', 'oclc'},
link = 'OCLC',
label = 'OCLC',
mode = 'external',
prefix = '//www.worldcat.org/oclc/',
COinS = 'info:oclcnum',
encode = true,
separator = '&nbsp;',
},
['OL'] = {
parameters = { 'ol', 'OL' },
link = 'Open Library',
label = 'OL',
mode = 'manual',
COinS = 'info:olnum',
separator = '&nbsp;',
endode = true,
},
['OSTI'] = {
parameters = {'OSTI', 'osti'},
link = 'Office of Scientific and Technical Information',
label = 'OSTI',
mode = 'external',
prefix = '//www.osti.gov/energycitations/product.biblio.jsp?osti_id=', -- protocol relative tested 2013-09-04
COinS = 'info:osti',
encode = true,
separator = '&nbsp;',
},
['PMC'] = {
parameters = {'PMC', 'pmc'},
link = 'PubMed Central',
label = 'PMC',
mode = 'manual', -- changed to support unlinking of PMC identifier when article is embargoed
prefix = '//www.ncbi.nlm.nih.gov/pmc/articles/PMC',
suffix = " ",
COinS = 'info:pmc',
encode = true,
separator = '&nbsp;',
},
['PMID'] = {
parameters = {'PMID', 'pmid'},
link = 'PubMed Identifier',
label = 'PMID',
mode = 'manual', -- changed from external manual to support PMID validation
prefix = '//www.ncbi.nlm.nih.gov/pubmed/',
COinS = 'info:pmid',
encode = false,
separator = '&nbsp;',
},
['RFC'] = {
parameters = {'RFC', 'rfc'},
link = 'Request for Comments',
label = 'RFC',
mode = 'external',
prefix = '//tools.ietf.org/html/rfc',
COinS = 'info:rfc',
encode = false,
separator = '&nbsp;',
},
['SSRN'] = {
parameters = {'SSRN', 'ssrn'},
link = 'Social Science Research Network',
label = 'SSRN',
mode = 'external',
prefix = '//ssrn.com/abstract=', -- protocol relative tested 2013-09-04
COinS = 'info:ssrn',
encode = true,
separator = '&nbsp;',
},
['USENETID'] = {
parameters = {'message-id'},
link = 'Usenet',
label = 'Usenet:',
mode = 'manual',
prefix = 'news:',
encode = false,
COinS = 'info:usenet',
separator = '&nbsp;',
},
['ZBL'] = {
parameters = {'ZBL', 'zbl'},
link = 'Zentralblatt MATH',
label = 'Zbl',
mode = 'external',
prefix = '//zbmath.org/?format=complete&q=an:',
COinS = 'info:zbl',
encode = true,
separator = '&nbsp;',
},
}
}


return {
return citation_config;
aliases = aliases,
defaults = defaults,
error_conditions = error_conditions,
id_handlers = id_handlers,
maint_cats = maint_cats,
messages = messages,
presentation = presentation,
prop_cats = prop_cats,
title_types = title_types,
uncategorized_namespaces = uncategorized_namespaces,
uncategorized_subpages = uncategorized_subpages,
}

مراجعة 10:18، 9 يوليو 2016

يمكن إنشاء صفحة توثيق الوحدة في وحدة:Citation/CS1/Configuration/شرح

citation_config = {};

--[[

List of namespaces that should not be included in citation

error categories.  Same as setting notracking = true by default

Note: Namespace names should use underscores instead of spaces.

]]

citation_config.uncategorized_namespaces = { 'User', 'User_talk', 'Wikipedia_talk' };

--[[

Translation tableص

The following contains fixed text that may be output as part of a citation.

This is separated from the main body to aid in future translations of this

module.

]]

citation_config.messages = {

  ['published'] = 'نشر $1',

  ['lay summary'] = 'ضع ملخصا',

  ['retrieved'] = 'اطلع عليه بتاريخ $1',

  ['inactive'] = 'غير نشط',

  ['archived-dead'] = 'تمت أرشفته من $1 على $2',

  ['archived-not-dead'] = '$1 من الأصل على $2',

  ['archived-missing'] = 'تمت أرشفته من الأصل$1 على  $2',

  ['archived'] = 'تمت أرشفته',

  ['original'] = 'الأصل',

  ['editor'] = 'الناشر',

  ['editors'] = 'الناشرون', 

  ['edition'] = '(الطبعة $1)', 

  ['episode'] = 'حلقة',

  ['season'] = 'موسم', 

  ['series'] = 'سلاسل',

  ['cartography'] = 'Cartography by $1',

  ['section'] = 'Section $1',

  ['inset'] = '$1 inset',

  ['written'] = 'كتب في $1',

  ['in'] = 'In',

  ['et al'] = 'et al.', 

  

  -- include category when 'via' parameter is not used in the citation

  ['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(تتطلب إشتراكا)</span>',    

  ['subscription_no_via'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(تتطلب إشتراكا)</span>' ..

        '[[Category:Pages containing links to subscription-only content]]', 

  

  ['language'] = '(باللغة $1)', 

  ['via'] = " &ndash; عبر $1 [[Category:Subscription required using via]]",

  ['event'] = 'وقع ذلك في',

  ['minutes'] = 'minutes in', 

  ['quoted-title'] = '"$1"',

  ['italic-title'] = "''$1''",

  ['trans-quoted-title'] = "&#91;$1&#93;",

  ['trans-italic-title'] = "&#91;''$1''&#93;",

  ['quoted-text'] = '"$1"',

  ['parameter'] = '<code>&#124;$1=</code>',

  ['parameter-separator'] = ' و ',

  ['parameter-final-separator'] = ' و ',

  ['parameter-pair-separator'] = ' و ',

  -- Error output

  ['hidden-error'] = '<span style="display:none;font-size:100%" class="error citation-comment">$1</span>',

  ['visible-error'] = '<span style="font-size:100%" class="error citation-comment">$1</span>',

  

  -- Determines the location of the help page

  ['help page link'] = 'Help:CS1 errors',

  ['help page label'] = 'مساعدة',

  

  -- Internal errors (should only occur if configuration is bad)

  ['undefined_error'] = 'Called with an undefined error condition',

  ['unknown_manual_ID'] = 'Unrecognized manual ID mode',

  ['unknown_ID_mode'] = 'Unrecognized ID mode',

  ['unknown_argument_map'] = 'Argument map not defined for this variable',

  ['bare_url_no_origin'] = 'Bare url found but origin indicator is nil or empty',

}

-- Aliases table for commonly passed parameters

citation_config.aliases = {

['AccessDate'] = {'access-date', 'accessdate'},

['Agency'] = 'agency',

['AirDate'] = {'air-date', 'airdate'},

['ArchiveDate'] = {'archive-date', 'archivedate'},

['ArchiveURL'] = {'archive-url', 'archiveurl'},

['ASINTLD'] = {'ASIN-TLD', 'asin-tld'},

['At'] = 'at',

['Authors'] = {'authors', 'people', 'host'},

['AuthorFormat'] = {'author-format', 'authorformat'},						-- deprecated in favor of NameListFormat;

['AuthorSeparator'] = 'author-separator',									-- deprecated

['AuthorNameSeparator'] = 'author-name-separator',							-- deprecated

['BookTitle'] = {'book-title', 'booktitle'},

['Callsign'] = {'call-sign', 'callsign'},									-- cite interview

['Cartography'] = 'cartography',

['Chapter'] = {'chapter', 'contribution', 'entry', 'article', 'section'},

['ChapterFormat'] = 'chapter-format';

['ChapterLink'] = {'chapter-link', 'chapterlink'},							-- deprecated; remove after 1 January 2015?

['ChapterURL'] = {'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl', 'section-url', 'sectionurl'},

['City'] = 'city',															-- cite interview

['Coauthors'] = {'coauthors', 'coauthor'},									-- coauthor and coauthors are deprecated; remove after 1 January 2015?

['Conference'] = {'conference', 'event'},

['ConferenceURL'] = {'conference-url', 'conferenceurl', 'event-url', 'eventurl'},

['Date'] = 'date',

['DeadURL'] = {'dead-url', 'deadurl'},

['Degree'] = 'degree',

['DisplayAuthors'] = {'display-authors', 'displayauthors'},

['DisplayEditors'] = {'display-editors', 'displayeditors'},

['Docket'] = 'docket',

['DoiBroken'] = {'doi-broken', 'doi-broken-date', 'doi-inactive-date', 'DoiBroken', 'doi_brokendate', 'doi_inactivedate'},

['Edition'] = 'edition',

['Editors'] = 'editors',

['EditorFormat'] = {'editor-format', 'editorformat'},						-- deprecated in favor of NameListFormat;

['EditorSeparator'] = 'editor-separator',									-- deprecated

['EditorNameSeparator'] = 'editor-name-separator',							-- deprecated

['Embargo'] = {'Embargo', 'embargo'},

['Encyclopedia'] = {'encyclopedia', 'encyclopaedia'},						-- this one only used by citation

['Format'] = 'format',

['ID'] = {'id', 'ID'},

['IgnoreISBN'] = {'ignore-isbn-error', 'ignoreisbnerror'},

['Inset'] = 'inset',

['Issue'] = {'issue', 'number'},

['Language'] = {'language', 'in'},

['LastAuthorAmp'] = {'last-author-amp', 'lastauthoramp'},

['LayDate'] = {'lay-date', 'laydate'},

['LaySource'] = {'lay-source', 'laysource'},

['LayURL'] = {'lay-url', 'lay-summary', 'layurl', 'laysummary'},

['MailingList'] = {'mailinglist', 'mailing-list'},							-- cite mailing list only

['Map'] = 'map',															-- cite map only

['MapFormat'] = 'map-format',												-- cite map only

['MapURL'] = {'mapurl', 'map-url'},											-- cite map only

['MessageID'] = 'message-id',

['Minutes'] = 'minutes',

['Mode'] = 'mode',

['Month'] = 'month',														-- deprecated; remove after 1 January 2015?

['NameListFormat'] = {'name-list-format', 'author-format', 'authorformat', 'editor-format', 'editorformat'},

['NameSeparator'] = 'name-separator',										-- deprecated

['Network'] = 'network',

['NoPP'] = {'no-pp', 'nopp'},

['NoTracking'] = {'template-doc-demo', 'template doc demo', 'no-cat', 'nocat', 

'no-tracking', 'notracking'},

['OrigYear'] = {'orig-year', 'origyear'},

['Others'] = {'others', 'interviewer', 'interviewers'},

['Page'] = {'p', 'page'},

['Pages'] = {'pp', 'pages'},

['Periodical'] = {'journal', 'newspaper', 'magazine', 'work',

'website',  'periodical', 'encyclopedia', 'encyclopaedia', 'dictionary'},

['Place'] = {'place', 'location'},

['PPrefix'] = {'p-prefix', 'PPrefix'},

['PPPrefix'] = {'pp-prefix', 'PPPrefix'},

['Program'] = 'program',													-- cite interview

['PostScript'] = 'postscript',

['PublicationDate'] = {'publicationdate', 'publication-date'},

['PublicationPlace'] = {'publication-place', 'publicationplace'},

['PublisherName'] = {'publisher', 'distributor', 'institution', 'newsgroup'},

['Quote'] = {'quote', 'quotation'},

['Ref'] = {'ref', 'Ref'},

['RegistrationRequired'] = 'registration',

['Scale'] = 'scale',

['ScriptTitle'] = 'script-title',

['Section'] = 'section',

['Season'] = 'season',

['Sections'] = 'sections',													-- cite map only

['Separator'] = 'separator',												-- deprecated in favor of Mode

['Series'] = {'series', 'version'},

['SeriesSeparator'] = 'series-separator',

['SeriesLink'] = {'series-link', 'serieslink'},

['SeriesNumber'] = {'series-number', 'series-no', 'seriesnumber', 'seriesno'},

['Station'] = 'station',

['SubscriptionRequired'] = 'subscription',

['Time'] = 'time',

['TimeCaption'] = {'time-caption', 'timecaption'},

['Title'] = 'title',

['TitleLink'] = {'title-link', 'episode-link', 'titlelink', 'episodelink'},

['TitleNote'] = 'department',

['TitleType'] = {'type', 'medium'},

['TransChapter'] = {'trans-chapter', 'trans_chapter'},

['Transcript'] = 'transcript',

['TranscriptURL'] = {'transcript-url', 'transcripturl'},

['TransTitle'] = {'trans-title', 'trans_title'},

['URL'] = {'url', 'URL'},

['Via'] = 'via',

['Volume'] = 'volume',

['Year'] = 'year',

 

['AuthorList-First'] = {"author#-first", "author-first#",

"first#", "given#"},

['AuthorList-Last'] = {"author#-last", "author-last#", 

"last#", "surname#", "Author#", "author#", "authors#", "subject#"},

['AuthorList-Link'] = {"author#-link", "author-link#", 

"author#link", "authorlink#", "subject-link#", "subject#link", "subject#-link", "subjectlink#"},

['AuthorList-Mask'] = {"author#-mask", "author-mask#", 

"author#mask", "authormask#"},

 

['EditorList-First'] = {"editor#-first", 

"editor-first#", "editor#-given", "editor-given#", "EditorGiven#"},

['EditorList-Last'] = {"editor#-last", "editor-last#",

"editor#-surname", "editor-surname#", "EditorSurname#", "Editor#", "editor#", "editors#"},

['EditorList-Link'] = {"editor#-link", "editor-link#", 

"editor#link", "editorlink#"},

['EditorList-Mask'] = {"editor#-mask", "editor-mask#", 

"editor#mask", "editormask#"},

 

}

-- Default parameter values

citation_config.defaults = {

    ['DeadURL'] = 'yes',

    ['PostScript'] = '.',

    ['Separator'] = '.',

    ['AuthorSeparator'] = '؛',

    ['EditorSeparator'] = '؛',

    ['NameSeparator'] = '،',

    ['PPrefix'] = "صفحة&nbsp;",

    ['PPPrefix'] = "صفحات&nbsp;",    

}

--[[

Error condition table

The following contains a list of IDs for various error conditions defined in the 

code.  For each ID, we specify a text message to display, an error category to

include, and whether the error message should be wrapped as a hidden comment.

Anchor changes require identical changes to matching anchor in Help:CS1 errors

]]

citation_config.error_conditions = {

    accessdate_missing_url = {

        message = '<code>&#124;accessdate=</code> بحاجة لـ <code>&#124;url=</code>',

        anchor = 'accessdate_missing_url',

        category = 'صفحات تحتوي مراجع ويب بتاريخ وصول وبدون رابط تشعبي',

        hidden = true },

    archive_missing_date = {

        message = '<code>&#124;archiveurl=</code> بحاجة لـ <code>&#124;archivedate=</code>',

        anchor = 'archive_missing_date',

        category = 'صفحات برابط أرشيف خاطئ',

        hidden = false },

    archive_missing_url = {

        message = '<code>&#124;archiveurl=</code> بحاجة لـ <code>&#124;url=</code>',

        anchor = 'archive_missing_url',

        category = 'صفحات برابط أرشيف خاطئ',

        hidden = false },

    bad_doi = {

        message = 'تأكد من صحة <code>&#124;doi=</code> ',

        anchor = 'bad_doi',

        category = 'Pages with DOI errors',

        hidden = false },

    bad_isbn = {

        message = 'تأكد من صحة <code>&#124;isbn=</code> ',

        anchor = 'bad_isbn',

        category = 'صفحات مع أخطاء الترقيم الدولي',

        hidden = false },

    bad_ol = {

        message = 'تأكد من صحة <code>&#124;ol=</code> ',

        anchor = 'bad_ol',

        category = 'Pages with OL errors',

        hidden = false },

    bad_url = {

        message = 'تأكد من سلامة <code>&#124;url=</code> ',

        anchor = 'bad_url',

        category = 'صفحات برابط تشعبي خاطئ',

        hidden = false },

    bare_url_missing_title = {

        message = '$1 تحتاج عنوانا',

        anchor = 'bare_url_missing_title',

        category = 'صفحات تحتوي مراجع ويب برابط تشعبي فقير',

        hidden = false },

    citation_missing_title = {

        message = ' <code>&#124;title=</code> مفقود أو فارغ',

        anchor = 'citation_missing_title',

        category = 'صفحات تحتوي مراجع ويب بدون عنوان',

        hidden = false },

    cite_web_url = {

        message = '<code>&#124;url=</code> مفقود أو فارغ',

        anchor = 'cite_web_url',

        category = 'صفحات تحتوي مراجع ويب بدون رابط تشعبي',

        hidden = true },

    empty_citation = {

        message = 'Empty citation',

        anchor = 'empty_citation',

        category = 'صفحات مع استشهادات فارغة',

        hidden = false },

    extra_pages = {

        message = 'Extra <code>&#124;pages=</code> or <code>&#124;at=</code>',

        anchor = 'extra_pages',

        category = 'صفحات تحتوي مراجع بوسائط متضاربة',

        hidden = false },

    format_missing_url = {

        message = '<code>&#124;format=</code> requires <code>&#124;url=</code>',

        anchor = 'format_missing_url',

        category = 'صفحات تحتوي مراجع ويب منسقة بدون رابط تشعبي',

        hidden = true },

    implict_etal_author = {

        message = '<code>&#124;displayauthors=</code> suggested',

        anchor = 'displayauthors',

        category = 'صفحات تحتوي مراجع بالطريقة القديمة',

        hidden = true },

    implict_etal_editor = {

        message = '<code>&#124;displayeditors=</code> suggested',

        anchor = 'displayeditors',

        category = 'صفحات تحتوي مراجع بالطريقة القديمة',

        hidden = true },

    parameter_ignored = {

        message = 'وسائط <code>&#124;$1=</code> تم تجاهلها',

        anchor = 'parameter_ignored',

        category = 'صفحات تحتوي مراجع بوسائط غير مدعومة',

        hidden = true },

    parameter_ignored_suggest = {

        message = 'وسائط <code>&#124;$1=</code> تم تجاهلها(<code>&#124;$2=</code> مقترح)',

        anchor = 'parameter_ignored_suggest',

        category = 'صفحات تحتوي مراجع بوسائط غير مدعومة',

        hidden = false },

    redundant_parameters = {

        message = 'More than one of $1 specified',

        anchor = 'redundant_parameters',

        category = 'صفحات تحتوي مراجع بوسائط زائدة',

        hidden = false },

    text_ignored = { 

        message = 'النص "$1" تم تجاهله',

        anchor = 'text_ignored',

        category = 'صفحات تحتوي مراجع بوسائط غير مسماه',

        hidden = false },

    trans_missing_chapter = {

        message = '<code>&#124;trans-chapter=</code> requires <code>&#124;chapter=</code>',

        anchor = 'trans_missing_chapter',

        category = 'صفحات تحتوي مراجع تستخدم مصطلحات مترجمة دون الأصلية',

        hidden = false },

    trans_missing_title = {

        message = '<code>&#124;trans-title=</code> requires <code>&#124;title=</code>',

        anchor = 'trans_missing_title',

        category = 'صفحات تحتوي مراجع تستخدم مصطلحات مترجمة دون الأصلية',

        hidden = false },

    wikilink_in_url = {

        message = 'Wikilink embedded in URL title',

        anchor = 'wikilink_in_url',

        category = 'صفحات تحتوي مراجع تستخدم وصلات إنترويكي في العنوان',

        hidden = false },

}

citation_config.id_handlers = {

    ['ASIN'] = {

        parameters = { 'asin', 'ASIN' },       

        link = 'Amazon Standard Identification Number',

        label = 'ASIN',

        mode = 'manual',

        COinS = 'info:asin',

        separator = '&nbsp;',

        encode = false;

    },

    ['DOI'] = {

        parameters = { 'doi', 'DOI' },

        link = 'Digital object identifier',

        label = 'doi',

        mode = 'manual',

        prefix = 'http://dx.doi.org/',

        COinS = 'info:doi',

        separator = ':',

        encode = true,

    },

    ['OL'] = {

        parameters = { 'ol', 'OL' },

        link = 'Open Library',

        label = 'OL',

        mode = 'manual',

        COinS = 'info:olnum',

        separator = '&nbsp;',

        endode = true,

    },

    ['ARXIV'] = {

        parameters = {'arxiv', 'ARXIV'}, 

        link = 'arXiv',

        label = 'arXiv',

        mode = 'external',

        prefix = 'http://arxiv.org/abs/',

        encode = false,

        COinS = 'info:arxiv',

        separator = ':',

    },

    ['BIBCODE'] = {

        parameters = {'bibcode', 'BIBCODE'}, 

        link = 'Bibcode',

        label = 'Bibcode',

        mode = 'external',

        prefix = 'http://adsabs.harvard.edu/abs/',

        encode = false,

        COinS = 'info:bibcode',

        separator = ':',

    },

    ['ISBN'] = {

        parameters = {'isbn', 'ISBN', 'isbn13', 'ISBN13'}, 

        link = 'International Standard Book Number',

        label = 'ISBN',

        mode = 'manual',

        prefix = 'Special:BookSources/',

        COinS = 'rft.isbn',

        separator = '&nbsp;',

    },

    ['ISSN'] = {

        parameters = {'issn', 'ISSN'}, 

        link = 'International Standard Serial Number',

        label = 'ISSN',

        mode = 'external',

        prefix = '//www.worldcat.org/issn/',

        COinS = 'rft.issn',

        encode = false,

        separator = '&nbsp;',

    },

    ['JFM'] = {

        parameters = {'jfm', 'JFM'}, 

        link = 'Jahrbuch über die Fortschritte der Mathematik',

        label = 'JFM',

        mode = 'external',

        prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',

        COinS = 'rft.jfm',

        encode = true,

        separator = '&nbsp;',

    },

    ['JSTOR'] = {

        parameters = {'jstor', 'JSTOR'}, 

        link = 'JSTOR',

        label = 'JSTOR',

        mode = 'external',

        prefix = 'http://www.jstor.org/stable/',

        COinS = 'rft.jstor',

        encode = true,

        separator = '&nbsp;',

    },

    ['LCCN'] = {

        parameters = {'LCCN', 'lccn'}, 

        link = 'Library of Congress Control Number',

        label = 'LCCN',

        mode = 'external',

        prefix = 'http://lccn.loc.gov/',

        COinS = 'rft.lccn',

        encode = false,

        separator = '&nbsp;',

    },

    ['MR'] = {

        parameters = {'MR', 'mr'}, 

        link = 'Mathematical Reviews',

        label = 'MR',

        mode = 'external',

        prefix = 'http://www.ams.org/mathscinet-getitem?mr=',

        COinS = 'rft.mr',

        encode = true,

        separator = '&nbsp;',

    },

    ['OCLC'] = {

        parameters = {'OCLC', 'oclc'}, 

        link = 'OCLC',

        label = 'OCLC',

        mode = 'external',

        prefix = '//www.worldcat.org/oclc/',

        COinS = 'info:oclcnum',

        encode = true,

        separator = '&nbsp;',

    },

    ['OSTI'] = {

        parameters = {'OSTI', 'osti'}, 

        link = 'Office of Scientific and Technical Information',

        label = 'OSTI',

        mode = 'external',

        prefix = 'http://www.osti.gov/energycitations/product.biblio.jsp?osti_id=',

        COinS = 'info:osti',

        encode = true,

        separator = '&nbsp;',

    },

    ['PMC'] = {

        parameters = {'PMC', 'pmc'}, 

        link = 'PubMed Central',

        label = 'PMC',

        mode = 'external',

        prefix = '//www.ncbi.nlm.nih.gov/pmc/articles/PMC',

        suffix = " ",

        COinS = 'info:pmc',

        encode = true,

        separator = '&nbsp;',

    },

    ['PMID'] = {

        parameters = {'PMID', 'pmid'}, 

        link = 'PubMed Identifier',

        label = 'PMID',

        mode = 'external',

        prefix = '//www.ncbi.nlm.nih.gov/pubmed/',

        COinS = 'info:pmid',

        encode = false,

        separator = '&nbsp;',

    },

    ['RFC'] = {

        parameters = {'RFC', 'rfc'}, 

        link = 'Request for Comments',

        label = 'RFC',

        mode = 'external',

        prefix = '//tools.ietf.org/html/rfc',

        COinS = 'info:rfc',

        encode = false,

        separator = '&nbsp;',

    },

    ['SSRN'] = {

        parameters = {'SSRN', 'ssrn'}, 

        link = 'Social Science Research Network',

        label = 'SSRN',

        mode = 'external',

        prefix = 'http://ssrn.com/abstract=',

        COinS = 'info:ssrn',

        encode = true,

        separator = '&nbsp;',

    },

    ['ZBL'] = {

        parameters = {'ZBL', 'zbl'}, 

        link = 'Zentralblatt MATH',

        label = 'Zbl',

        mode = 'external',

        prefix = 'http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:',

        COinS = 'info:zbl',

        encode = true,

        separator = '&nbsp;',

    }

}

return citation_config;