MediaWiki:Enotif body/qqq

From translatewiki.net
< MediaWiki:Enotif body
Revision as of 08:25, 19 November 2017 by Liuxinyu970226 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note Neither PLURAL nor GENDER are actually supported at the moment, at least until phab:T24769 got resolved.

Text of a notification email sent when a watched page has been edited or deleted.

Screenshot MediaWiki e-mail notifier.PNG

Refers to Helppage ("https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents").

Parameters:

  • $WATCHINGUSERNAME is the username of the user receiving the notification.
  • $PAGEINTRO is the first line of the message, saying what happened. It currently can be either of:
    • Enotif body intro deleted ("The translatewiki.net page $1 has been deleted on $PAGEEDITDATE by $2, see $3.")
    • Enotif body intro created ("The translatewiki.net page $1 has been created on $PAGEEDITDATE by $2, see $3 for the current revision.")
    • Enotif body intro moved ("The translatewiki.net page $1 has been moved on $PAGEEDITDATE by $2, see $3 for the current revision.")
    • Enotif body intro restored ("The translatewiki.net page $1 has been restored on $PAGEEDITDATE by $2, see $3 for the current revision.")
    • Enotif body intro changed ("The translatewiki.net page $1 has been changed on $PAGEEDITDATE by $2, see $3 for the current revision.") (for all the other cases).
  • $NEWPAGE consists of either
  • $PAGEEDITOR_EMAIL and $PAGEEDITOR_WIKI are links respectively to the email user special page and user page for the user who performed the action.
  • $PAGEEDITOR is the username of the user who performed the action.
  • $HELPPAGE is the full URL to the help page, defined by Helppage ("https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents").

The subject of the email is one of the following messages: