Created page with "// All user-facing messages // TODO: Document usage if(typeof mw.usability !== 'undefined') { mw.usability.addMessages( { 'cite-section-label' : 'Cite', 'cite-template-list' : 'Templates', 'cite-named-refs-label' : 'Named references', 'cite-named-refs-title' : 'Insert a named reference', 'cite-named-refs-button' : 'Named references', 'cite-named-refs-dropdown' : 'Named references', // Used on the top of the named refs list dropdown 'cite-errorcheck-label' : 'Error check..." |
No edit summary |
||
| Line 1: | Line 1: | ||
// All user-facing messages | // All user-facing messages | ||
// TODO: Document usage | // TODO: Document usage | ||
mw.messages.set({ | |||
mw. | 'cite-section-label': 'Cite', | ||
'cite-section-label' : 'Cite', | 'cite-template-list': 'Templates', | ||
'cite-template-list' : 'Templates', | 'cite-named-refs-label': 'Named references', | ||
'cite-named-refs-label' : 'Named references', | 'cite-named-refs-title': 'Insert a named reference', | ||
'cite-named-refs-title' : 'Insert a named reference', | 'cite-named-refs-button': 'Named references', | ||
'cite-named-refs-button' : 'Named references', | 'cite-named-refs-dropdown': 'Named references', // Used on the top of the named refs list dropdown | ||
'cite-named-refs-dropdown' : 'Named references', // Used on the top of the named refs list dropdown | 'cite-errorcheck-label': 'Error check', | ||
'cite-errorcheck-label' : 'Error check', | 'cite-errorcheck-button': 'Check for errors', | ||
'cite-errorcheck-button' : 'Check for errors', | 'cite-dialog-web': 'Web citation (RefToolbar)', | ||
'cite-dialog-web' : 'Web citation (RefToolbar)', | 'cite-dialog-news': 'News citation (RefToolbar)', | ||
'cite-dialog-news' : 'News citation (RefToolbar)', | 'cite-dialog-book': 'Book citation (RefToolbar)', | ||
'cite-dialog-book' : 'Book citation (RefToolbar)', | 'cite-dialog-journal': 'Journal citation (RefToolbar)', | ||
'cite-dialog-journal' : 'Journal citation (RefToolbar)', | 'cite-form-submit': 'Insert', | ||
'cite-form-submit' : 'Insert', | 'cite-form-showhide': 'Show/hide extra fields', | ||
'cite-form-showhide' : 'Show/hide extra fields', | 'cite-no-namedrefs': 'Cannot find any named references on the page', | ||
'cite-no-namedrefs' : 'Cannot find any named references on the page', | 'cite-namedrefs-intro' : "Select a name from the list to see the ref content. Click 'Insert' to insert a reference to it in the text.", | ||
'cite-namedrefs-intro' : "Select a name from the list to see the ref content. Click 'Insert' to insert a reference to it in the text.", | 'cite-raw-preview': 'Wikitext:', | ||
'cite-raw-preview' : 'Wikitext:', | 'cite-parsed-label': 'Parsed wikitext:', | ||
'cite-parsed-label' : 'Parsed wikitext:', | 'cite-form-parse': 'Show parsed preview', | ||
'cite-form-parse' : 'Show parsed preview', | 'cite-refpreview': 'Preview', | ||
'cite-refpreview' : 'Preview', | 'cite-name-label': 'Ref name', | ||
'cite-name-label' : 'Ref name', | 'cite-group-label': 'Ref group', | ||
'cite-group-label' : 'Ref group', | 'cite-errorcheck-submit': 'Check', | ||
'cite-errorcheck-submit' : 'Check', | 'cite-errorcheck-heading': 'Check for the following errors:', | ||
'cite-errorcheck-heading' : 'Check for the following errors:', | 'cite-error-unclosed': 'Unclosed <span style="font-family:monospace"><ref></span> tags', | ||
'cite-error-unclosed' : 'Unclosed <span style="font-family:monospace"><ref></span> tags', | 'cite-error-samecontent': 'References with the same content', | ||
'cite-error-samecontent' : 'References with the same content', | 'cite-error-templates': 'References not using a <a href="//en.wikipedia.org/wiki/Wikipedia:Citation_templates">citation template</a>', | ||
'cite-error-templates' : 'References not using a <a href="//en. | 'cite-error-repeated': 'Multiple references with the same name', | ||
'cite-error-repeated' : 'Multiple references with the same name', | 'cite-error-undef': 'Usage of undefined named references', | ||
'cite-error-undef' : 'Usage of undefined named references', | 'cite-error-samecontent-msg': 'Multiple refs contain the same content: $1', | ||
'cite-error-samecontent-msg' : 'Multiple refs contain the same content: $1', | 'cite-error-repeated-msg': 'Multiple refs are given the name: \'$1\'', | ||
'cite-error-repeated-msg' : 'Multiple refs are given the name: \'$1\'', | 'cite-error-templates-msg': 'Does not use a template: $1', | ||
'cite-error-templates-msg' : 'Does not use a template: $1', | 'cite-form-reset': 'Reset form', | ||
'cite-form-reset' : 'Reset form', | 'cite-loading': 'Loading data', // Shown while pagetext is being downloaded from the API | ||
'cite-loading' : 'Loading data', // Shown while pagetext is being downloaded from the API | 'cite-insert-date': 'Insert current date', // Alt/title text for 'insert date' icon | ||
'cite-insert-date' : 'Insert current date', // Alt/title text for 'insert date' icon | 'cite-err-report-heading': 'Citation error report', // Heading for error report table | ||
'cite-err-report-heading' : 'Citation error report', // Heading for error report table | 'cite-err-report-close': 'Close', // Alt/title text for 'close' icon on error report | ||
'cite-err-report-close' : 'Close', // Alt/title text for 'close' icon on error report | 'cite-err-report-empty': 'No errors found', // Message displayed in the error report list if there are no errors | ||
'cite-err-report-empty' : 'No errors found', // Message displayed in the error report list if there are no errors | 'cite-autofill-alt': 'Autofill', // Alt text for autofill button image | ||
'cite-autofill-alt' : 'Autofill', // Alt text for autofill button image | 'cite-agency-tooltip': 'News agency (wire service) that provided the content published elsewhere', | ||
'cite-agency-tooltip' : 'News agency (wire service) that provided the content published elsewhere', | 'cite-work-tooltip': 'Name of journal, magazine, newspaper, periodical or website', | ||
'cite-work-tooltip' : 'Name of journal, magazine, newspaper, periodical or website', | 'cite-authorlink-tooltip': 'If the author has a Wikipedia article, the name of the article', | ||
'cite-authorlink-tooltip' : 'If the author has a | 'cite-at-tooltip': 'Position within the resource (when page is inappropriate)', | ||
'cite-at-tooltip' : 'Position within the resource (when page is inappropriate)', | 'cite-ref-tooltip': 'ID for anchor (for creating a linkable reference)', | ||
'cite-ref-tooltip' : 'ID for anchor (for creating a linkable reference)', | 'cite-postscript-tooltip': 'If specified, overrides the default behavior of terminating the citation with a period', | ||
'cite-postscript-tooltip' : 'If specified, overrides the default behavior of terminating the citation with a period', | 'cite-page-tooltip': 'Page in the source that supports the content.', | ||
'cite-page-tooltip' : 'Page in the source that supports the content.', | 'cite-pages-tooltip': 'Pages in the source that supports the content; separate page ranges with an en dash (–); separate non-sequential pages with a comma (,); do not use to indicate the total number of pages in the source.', | ||
'cite-pages-tooltip' : 'Pages in the source that supports the content; separate page ranges with an en dash (–); separate non-sequential pages with a comma (,); do not use to indicate the total number of pages in the source.', | 'cite-publisher-tooltip': 'Parent company that published the work being cited', | ||
'cite-publisher-tooltip' : 'Parent company that published the work being cited', | 'cite-website-tooltip': 'Name of the website in full, not the URL', | ||
'cite-website-tooltip' : 'Name of the website in full, not the URL', | 'cite-samecontent-desc': 'References with the same content', | ||
'cite-samecontent-desc' : 'References with the same content', | 'cite-samecontent-error': 'Multiple references contain the same content', | ||
'cite-samecontent-error' : 'Multiple references contain the same content', | 'cite-repeated-desc': 'Multiple references with the same name', | ||
'cite-repeated-desc' : 'Multiple references with the same name', | 'cite-repeated-error': 'Multiple references are using the same name', | ||
'cite-repeated-error' : 'Multiple references are using the same name', | 'cite-undefined-desc': 'Usage of undefined named references', | ||
'cite-undefined-desc' : 'Usage of undefined named references', | 'cite-undefined-error': 'A named reference is used but not defined', | ||
'cite-undefined-error' : 'A named reference is used but not defined', | 'cite-urlstatus-tooltip': 'Mark the live/dead/usurped status of the original URL, defining its relevance versus the (required) archive URL', | ||
'cite-urlstatus-tooltip' : 'Mark the live/dead/usurped status of the original URL, defining its relevance versus the (required) archive URL', | 'cite-first-label': 'First name', | ||
'cite-first-label' : 'First name', | 'cite-last-label': 'Last name', | ||
'cite-last-label' : 'Last name', | 'cite-title-label': 'Title', | ||
'cite-title-label' : 'Title', | 'cite-work-label': 'Work', | ||
'cite-work-label' : 'Work', | 'cite-newspaper-label': 'Newspaper', | ||
'cite-newspaper-label' : 'Newspaper', | 'cite-journal-label': 'Journal', | ||
'cite-journal-label' : 'Journal', | 'cite-publisher-label': 'Publisher', | ||
'cite-publisher-label' : 'Publisher', | 'cite-access-date-label': 'Access date', | ||
'cite-access-date-label' : 'Access date', | 'cite-author-label': 'Author', | ||
'cite-author-label' : 'Author', | 'cite-author-link-label': "Author's article", | ||
'cite-author-link-label' : "Author's article", | 'cite-archive-url-label': 'Archive URL', | ||
'cite-archive-url-label' : 'Archive URL', | 'cite-archive-date-label': 'Archive date', | ||
'cite-archive-date-label' : 'Archive date', | 'cite-location-label': 'Location', | ||
'cite-location-label' : 'Location', | 'cite-page-label': 'Page', | ||
'cite-page-label' : 'Page', | 'cite-pages-label': 'Pages', | ||
'cite-pages-label' : 'Pages', | 'cite-at-label': 'At', | ||
'cite-at-label' : 'At', | 'cite-chapter-label': 'Chapter', | ||
'cite-chapter-label' : 'Chapter', | 'cite-volume-label': 'Volume', | ||
'cite-volume-label' : 'Volume', | 'cite-series-label': 'Series', | ||
'cite-series-label' : 'Series', | 'cite-issue-label': 'Issue', | ||
'cite-issue-label' : 'Issue', | 'cite-language-label': 'Language', | ||
'cite-language-label' : 'Language', | 'cite-format-label': 'Format', | ||
'cite-format-label' : 'Format', | 'cite-date-label': 'Date', | ||
'cite-date-label' : 'Date', | 'cite-month-label': 'Month', | ||
'cite-month-label' : 'Month', | 'cite-year-label': 'Year', | ||
'cite-year-label' : 'Year', | 'cite-quote-label': 'Quote', | ||
'cite-quote-label' : 'Quote', | 'cite-author2-label': '2nd author', | ||
'cite-author2-label' : '2nd author', | 'cite-author3-label': '3rd author', | ||
'cite-author3-label' : '3rd author', | 'cite-author4-label': '4th author', | ||
'cite-author4-label' : '4th author', | 'cite-author5-label': '5th author', | ||
'cite-author5-label' : '5th author', | 'cite-agency-label': 'Agency', | ||
'cite-agency-label' : 'Agency', | 'cite-editor-label': 'Editor', | ||
'cite-editor-label' : 'Editor', | 'cite-editor1-first-label': "Editor's first", | ||
'cite-editor1-first-label' : "Editor's first", | 'cite-editor1-last-label': "Editor's last", | ||
'cite-editor1-last-label' : "Editor's last", | 'cite-editor1-link-label': "Editor's article", | ||
'cite-editor1-link-label' : "Editor's article", | 'cite-editor-first-label': "Editor's first", | ||
'cite-editor-first-label' : "Editor's first", | 'cite-editor-last-label': "Editor's last", | ||
'cite-editor-last-label' : "Editor's last", | 'cite-editor-link-label': "Editor's article", | ||
'cite-editor-link-label' : "Editor's article", | 'cite-edition-label': 'Edition', | ||
'cite-edition-label' : 'Edition', | 'cite-trans-title-label': 'Translated title', | ||
'cite-trans-title-label' : 'Translated title', | 'cite-ref-label': 'Ref', | ||
'cite-ref-label' : 'Ref', | 'cite-postscript-label': 'Postscript', | ||
'cite-postscript-label' : 'Postscript', | 'cite-url-label': 'URL', | ||
'cite-url-label' : 'URL', | 'cite-url-status-label': 'URL status', | ||
'cite-url-status-label' : 'URL status', | 'cite-doi-label': 'DOI', | ||
'cite-doi-label' : 'DOI', | 'cite-isbn-label': 'ISBN', | ||
'cite-isbn-label' : 'ISBN', | 'cite-pmid-label': 'PMID', | ||
'cite-pmid-label' : 'PMID', | 'cite-issn-label': 'ISSN', | ||
'cite-issn-label' : 'ISSN', | 'cite-pmc-label': 'PMC', | ||
'cite-pmc-label' : 'PMC', | 'cite-oclc-label': 'OCLC', | ||
'cite-oclc-label' : 'OCLC', | 'cite-bibcode-label': 'Bibcode', | ||
'cite-bibcode-label' : 'Bibcode', | 'cite-id-label': 'ID', | ||
'cite-id-label' : 'ID', | 'cite-website-label': 'Website name', | ||
'cite-website-label' : 'Website name', | 'cite-increment-alt': 'Add another', // Alt text for field increment button, not specific to a particular field | ||
'cite-increment-alt' : 'Add another', // Alt text for field increment button, not specific to a particular field | |||
}); | }); | ||
// Load configuration for site | // Load configuration for site | ||
mw.loader.load('/w/index.php?title=MediaWiki:RefToolbarConfig.js&action=raw&ctype=text/javascript'); | |||
Latest revision as of 18:41, 24 September 2026
// All user-facing messages
// TODO: Document usage
mw.messages.set({
'cite-section-label': 'Cite',
'cite-template-list': 'Templates',
'cite-named-refs-label': 'Named references',
'cite-named-refs-title': 'Insert a named reference',
'cite-named-refs-button': 'Named references',
'cite-named-refs-dropdown': 'Named references', // Used on the top of the named refs list dropdown
'cite-errorcheck-label': 'Error check',
'cite-errorcheck-button': 'Check for errors',
'cite-dialog-web': 'Web citation (RefToolbar)',
'cite-dialog-news': 'News citation (RefToolbar)',
'cite-dialog-book': 'Book citation (RefToolbar)',
'cite-dialog-journal': 'Journal citation (RefToolbar)',
'cite-form-submit': 'Insert',
'cite-form-showhide': 'Show/hide extra fields',
'cite-no-namedrefs': 'Cannot find any named references on the page',
'cite-namedrefs-intro' : "Select a name from the list to see the ref content. Click 'Insert' to insert a reference to it in the text.",
'cite-raw-preview': 'Wikitext:',
'cite-parsed-label': 'Parsed wikitext:',
'cite-form-parse': 'Show parsed preview',
'cite-refpreview': 'Preview',
'cite-name-label': 'Ref name',
'cite-group-label': 'Ref group',
'cite-errorcheck-submit': 'Check',
'cite-errorcheck-heading': 'Check for the following errors:',
'cite-error-unclosed': 'Unclosed <span style="font-family:monospace"><ref></span> tags',
'cite-error-samecontent': 'References with the same content',
'cite-error-templates': 'References not using a <a href="//en.wikipedia.org/wiki/Wikipedia:Citation_templates">citation template</a>',
'cite-error-repeated': 'Multiple references with the same name',
'cite-error-undef': 'Usage of undefined named references',
'cite-error-samecontent-msg': 'Multiple refs contain the same content: $1',
'cite-error-repeated-msg': 'Multiple refs are given the name: \'$1\'',
'cite-error-templates-msg': 'Does not use a template: $1',
'cite-form-reset': 'Reset form',
'cite-loading': 'Loading data', // Shown while pagetext is being downloaded from the API
'cite-insert-date': 'Insert current date', // Alt/title text for 'insert date' icon
'cite-err-report-heading': 'Citation error report', // Heading for error report table
'cite-err-report-close': 'Close', // Alt/title text for 'close' icon on error report
'cite-err-report-empty': 'No errors found', // Message displayed in the error report list if there are no errors
'cite-autofill-alt': 'Autofill', // Alt text for autofill button image
'cite-agency-tooltip': 'News agency (wire service) that provided the content published elsewhere',
'cite-work-tooltip': 'Name of journal, magazine, newspaper, periodical or website',
'cite-authorlink-tooltip': 'If the author has a Wikipedia article, the name of the article',
'cite-at-tooltip': 'Position within the resource (when page is inappropriate)',
'cite-ref-tooltip': 'ID for anchor (for creating a linkable reference)',
'cite-postscript-tooltip': 'If specified, overrides the default behavior of terminating the citation with a period',
'cite-page-tooltip': 'Page in the source that supports the content.',
'cite-pages-tooltip': 'Pages in the source that supports the content; separate page ranges with an en dash (–); separate non-sequential pages with a comma (,); do not use to indicate the total number of pages in the source.',
'cite-publisher-tooltip': 'Parent company that published the work being cited',
'cite-website-tooltip': 'Name of the website in full, not the URL',
'cite-samecontent-desc': 'References with the same content',
'cite-samecontent-error': 'Multiple references contain the same content',
'cite-repeated-desc': 'Multiple references with the same name',
'cite-repeated-error': 'Multiple references are using the same name',
'cite-undefined-desc': 'Usage of undefined named references',
'cite-undefined-error': 'A named reference is used but not defined',
'cite-urlstatus-tooltip': 'Mark the live/dead/usurped status of the original URL, defining its relevance versus the (required) archive URL',
'cite-first-label': 'First name',
'cite-last-label': 'Last name',
'cite-title-label': 'Title',
'cite-work-label': 'Work',
'cite-newspaper-label': 'Newspaper',
'cite-journal-label': 'Journal',
'cite-publisher-label': 'Publisher',
'cite-access-date-label': 'Access date',
'cite-author-label': 'Author',
'cite-author-link-label': "Author's article",
'cite-archive-url-label': 'Archive URL',
'cite-archive-date-label': 'Archive date',
'cite-location-label': 'Location',
'cite-page-label': 'Page',
'cite-pages-label': 'Pages',
'cite-at-label': 'At',
'cite-chapter-label': 'Chapter',
'cite-volume-label': 'Volume',
'cite-series-label': 'Series',
'cite-issue-label': 'Issue',
'cite-language-label': 'Language',
'cite-format-label': 'Format',
'cite-date-label': 'Date',
'cite-month-label': 'Month',
'cite-year-label': 'Year',
'cite-quote-label': 'Quote',
'cite-author2-label': '2nd author',
'cite-author3-label': '3rd author',
'cite-author4-label': '4th author',
'cite-author5-label': '5th author',
'cite-agency-label': 'Agency',
'cite-editor-label': 'Editor',
'cite-editor1-first-label': "Editor's first",
'cite-editor1-last-label': "Editor's last",
'cite-editor1-link-label': "Editor's article",
'cite-editor-first-label': "Editor's first",
'cite-editor-last-label': "Editor's last",
'cite-editor-link-label': "Editor's article",
'cite-edition-label': 'Edition',
'cite-trans-title-label': 'Translated title',
'cite-ref-label': 'Ref',
'cite-postscript-label': 'Postscript',
'cite-url-label': 'URL',
'cite-url-status-label': 'URL status',
'cite-doi-label': 'DOI',
'cite-isbn-label': 'ISBN',
'cite-pmid-label': 'PMID',
'cite-issn-label': 'ISSN',
'cite-pmc-label': 'PMC',
'cite-oclc-label': 'OCLC',
'cite-bibcode-label': 'Bibcode',
'cite-id-label': 'ID',
'cite-website-label': 'Website name',
'cite-increment-alt': 'Add another', // Alt text for field increment button, not specific to a particular field
});
// Load configuration for site
mw.loader.load('/w/index.php?title=MediaWiki:RefToolbarConfig.js&action=raw&ctype=text/javascript');