Summary: Allow Custom Parameters for Subject and Message
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: NewUserNotif

Created attachment 8234
Patch for extension with example hooks

In order to customize the parameters which could be passed to the email
notification message, developers would have to hack the original code.

This solution would allow developers to add or modify parameters using a hook
extension.  It comes complete with an example.

An example of this is the case where the notification is used by the
administrator to facilitate the approval and addition of rights to a user.

Example of a customized, administrator facilitating message with extended
parameters that has a link to go and approve the user as well as another link
that generates a message to the requester automatically (note, to use this you
would also have to modify MediaWiki:Newusernotifbody and


Subject:    [JDPLocal] New user notification for User:Jpond


A new user account, Jpond, has been created on JDPLocal at 00:18, 3 March 2011
for Jpond<> from IP address

If this is a desired user, you should approve at:

Then notify

Your Friendly Sysop!

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to