Help:System messages

From Disney•Pixar CARS Wiki
Jump to navigation Jump to search

Messages are used to generate text for the system interface. They are typically—and ideally—defined within ResourceLoader modules, so that they may be retrieved within JavaScript functions, and so interlanguage translation can be applied.

Values can be overridden by manually creating the respective MediaWiki: page title. This is done as sparingly as possible, for the aforementioned considerations as well as performance. Most are fully new (English-only) snippets which both aren't meant to be referenced outside their intended environment, and are dynamic enough for on-wiki editing to be convenient.

Overview

Core messages should be approached knowing (in most cases) they won't carry over to the foreign languages—any new functionalities are preferably integrated within the actual software code, wherever the message is called.

Whenever possible, fully local messages (those not bundled with MediaWiki or public extensions) should leverage the latter to fullest extent; the {{int:msg_name}} magic word can be used to substitute another localized message as a term or part of another. Otherwise, custom modules like the Vehicle Database or account reclaim are written only in English across all language modes (though translation work is welcome and would be highly appreciated!)

All system messages, with comparisons for on-wiki overrides, can be browsed here.

Core changes

Some messages have been directly edited in /languages/i18n/en.json:

Line Title Scope Former Current Notes
241 mainpage-description Main Page Main page Home Simplicity
423 userlogin-remembermypassword Special:UserLogin Keep me logged in Remember me
446 userlogin-resetpassword-link Forgot your password? Forgot password?
1850 upload-maxfilesize Special:Upload Maximum file size: $1 Max file size: '''$1''' @todo Bold wanted on all languages but difficult because of sizeParams method use in UploadForm.php
3879 tag-mw-contentmodelchange Diff tags content model change Content model change Uppercase for consistency
+4610 group-developer Developer User group differentiation
+4611 group-developer-member developer
+4612 contactpage Skin component (footer) Special:Contact Contact link; may be moved/changed

The following extension files have been edited:

  • /extensions/AjaxPoll/i18n/en.json

On-wiki overrides

Configuration

Interface

Msg. Name Scope
Sidebar Content links and tools on the left navigation. compare
Copyright Legal notice for the footer. compare
Aboutpage "About" surrogate - currently the fork announcement for simplicity. compare
Sitenotice Notice on the top of every page. compare
Sitenotice id Changing the number will reset the site notice (see above) for any users who previously "dismissed" it. compare
Recentchangestext Top text (navigation links) for the Special:RecentChanges feed. compare
Recentchanges-staffkey Staff highlights key added to Special:RecentChanges.
@todo Handle "Staff" and "Developer" keys (possibly use interface-admin fallback)
compare
Deletedtext-postnav Extension of deletedtext adding nav-links to pending deletions, maintenance lists, etc. compare
Filedelete-success-postnav Same as above for filedelete-success i.e. when a file is deleted. compare

Page-specific:

Msg. Name Scope
Createtext Message block header for Special:CreatePage. compare
Contactpage-pagetext Contact - Header text compare
Accountreclaim ReclaimAccount - Header text compare
Notificationemail account reclaim Auto-email returned upon submitting a reclaim ticket. A random Cars character name is included for use in verifying ownership. compare
Reclaim-banner UserLogin - Notice box to inform legacy users of the account reclaim feature. compare

Dropdown options

Msg. Name Scope
Licenses Licenses for the upload form (see image policy.) compare
Deletereason-dropdown Deleting a page compare
Filedelete-reason-dropdown Deleting a file compare
Protect-dropdown Protecting a page or file compare
Ipboptions Durations for blocking a user compare
Ipbreason-dropdown Reasons for blocking a user compare
Pageimages-denylist List of images which won't appear as the designated page image, namely as the search thumbnail compare

Edit notices (blank otherwise)

Msg. Name Scope
Editnotice-8 MediaWiki: pages - editor compare
Editnotice-10 Template: pages - editor compare
Editnotice-14 Category: pages - editor compare

Non-i18n extension banners:

Msg. Name Scope
Cargo-definestable Templates which declare a Cargo table. compare
Scribunto-doc-page-does-not-exist Lua modules compare

See also: VDB list

Help links

Msg. Name Scope Referrer Target
Helppage Editpage newarticletext, etc. [[1]]
Policy-url NS Help : Help:Delete
Pagecategorieslink NS Category : Pixar Cars Wiki:Categories
Preferences-helppage Special Preferences Help:Preferences
Helplogin-url Special UserLogin Pixar Cars Wiki:Getting started
Upload-helppage Special Upload Help:Image
Recentchanges-helppage Special RecentChanges Help:Editing

Undocumented messages