Module:Msg/doc
Appearance
This is the documentation page for Module:Msg
This module supports a system of templates that render links to messages in message documentation. See Template:Msg-meta for the more detailed explanation.
Tests
Basic feature support:
- Wikibase-cancel [not capitalised] ("
cancel
") - cancel [namespace with lowercase titles] ("
Cancel
") - Translating:MediaWiki/Basic glossary/publish--term [subpages in title] ("
publish
") - Word-separator [empty message in Chinese](空)
- Sitejspreview [RTL support test] ("
<strong>{{GENDER:|זכור שאתה רק עושה|זכרי שאת רק עושה|נא לזכור שזוהי רק}} תצוגה מקדימה של קוד ה־JavaScript הזה. הוא עדיין לא פורסם!</strong>
")
Multi-line messages
- Movepagetext-noredirectfixer ("
Using the form below will rename a page, moving all of its history to the new name. The old title will become a redirect page to the new title. Be sure to check for [[Special:DoubleRedirects|double]] or [[Special:BrokenRedirects|broken redirects]]. You are responsible for making sure that links continue to point where they are supposed to go.
")
Note that the page will <strong>not</strong> be moved if there is already a page at the new title, unless it is a redirect and has no past edit history. This means that you can rename a page back to where it was renamed from if you make a mistake, and you cannot overwrite an existing page.
<strong>Note:</strong> This can be a drastic and unexpected change for a popular page; please be sure you understand the consequences of this before proceeding. - Abusefilter-warning ("
'''Warning:''' This action has been automatically identified as harmful. Unconstructive actions will be quickly reverted, and egregious or repeated unconstructive editing will result in your account or IP address being blocked. If you believe this action to be constructive, you may submit it again to confirm it. A brief description of the abuse rule which your action matched is: $1
")
With keywords
- Rollback-success ("
Reverted edits by {{GENDER:$3|$1}}; changed back to last revision by {{GENDER:$4|$2}}.
") - Pagecategories ("
{{PLURAL:$1|Category|Categories}}
")
Optional messages
- Quotes (page does not exist)
- Word-separator [does not exist in most languages] ("
 
")
Missing/invalid input
- This-message-does-not-exist [exists check enabled] (page does not exist)
- {{msg-meta}} error: Invalid title "Abcdefg:Test"
- {{msg-mw}} error: No message key passed
- {{msg-mw}} error: No message key passed
- {{msg-mw}} error: Invalid title "MediaWiki:this-message-does-not-exist]]"
- {{msg-mw}} error: Message key starts with namespace: "MediaWiki:MediaWiki:Quiz legend error"
- {{msg-mw}} error: Invalid language code "qxx"