Module:Citation/CS1/Configuration: Difference between revisions

sync to sandbox, error cat suppression by namespace, merge cite_web_title to bare_url, translation styling, reveal several errors
m>Dragons flight
(sync to sandbox, mostly translation handles almost uniformity for archiveurl errors.)
m>Dragons flight
(sync to sandbox, error cat suppression by namespace, merge cite_web_title to bare_url, translation styling, reveal several errors)
Line 1: Line 1:
citation_config = {};
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' };


--[[
--[[
Line 8: Line 16:
module.
module.
]]
]]
citation_config.message_list = {
citation_config.message_list = {
   ['published'] = 'published $1',
   ['published'] = 'published $1',
Line 33: Line 40:
   ['minutes'] = 'minutes in',  
   ['minutes'] = 'minutes in',  


  ['trans-title'] = "[$1]",
   ['quoted-title'] = '"$1"',
   ['quoted-title'] = '"$1"',
   ['italic-title'] = "''$1''",
   ['italic-title'] = "''$1''",
  ['trans-quoted-title'] = "[$1]",
  ['trans-italic-title'] = "[''$1'']",
   ['quoted-text'] = '"$1"',
   ['quoted-text'] = '"$1"',
    
    
Line 220: Line 228:
         anchor = 'bad_url',
         anchor = 'bad_url',
         category = 'Pages with URL errors',
         category = 'Pages with URL errors',
         hidden = true },
         hidden = false },
     bare_url_missing_title = {
     bare_url_missing_title = {
         message = 'Missing or empty <code>|title=</code>',
         message = 'Missing or empty <code>|title=</code>',
         anchor = 'bare_url_missing_title',
         anchor = 'bare_url_missing_title',
         category = 'Pages with citations having bare URLs‎',
         category = 'Pages with citations having bare URLs‎',
         hidden = true },
         hidden = false },
     citation_missing_title = {
     citation_missing_title = {
         message = 'Missing or empty <code>|title=</code>',
         message = 'Missing or empty <code>|title=</code>',
         anchor = 'citation_missing_title',
         anchor = 'citation_missing_title',
         category = 'Pages with citations lacking titles‎',
         category = 'Pages with citations lacking titles‎',
        hidden = true },
    cite_web_title = {
        message = 'Missing or empty <code>|title=</code>',
        anchor = 'cite_web_title',
        category = '‎Pages using web citations with no title',
         hidden = false },
         hidden = false },
     cite_web_url = {
     cite_web_url = {
Line 287: Line 290:
         hidden = false },
         hidden = false },
     trans_missing_chapter = {
     trans_missing_chapter = {
         message = 'Missing or empty <code>|chapter=</code>',
         message = '<code>|trans-chapter=</code> requires <code>|chapter=</code>',
         anchor = 'trans_missing_chapter',
         anchor = 'trans_missing_chapter',
         category = 'Pages with citations using translated terms without the original',
         category = 'Pages with citations using translated terms without the original',
         hidden = true },
         hidden = false },
     trans_missing_title = {
     trans_missing_title = {
         message = 'Missing or empty <code>|title=</code>',
         message = '<code>|trans-title=</code> requires <code>|title=</code>',
         anchor = 'trans_missing_title',
         anchor = 'trans_missing_title',
         category = 'Pages with citations using translated terms without the original',
         category = 'Pages with citations using translated terms without the original',
         hidden = true },
         hidden = false },
     wikilink_in_url = {
     wikilink_in_url = {
         message = 'Wikilink embedded in URL title',
         message = 'Wikilink embedded in URL title',
Anonymous user