MessageAfterPosting-Talk
This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.
Comments
It might be nice to include the change summary in the email, but I couldn't work out how to do it easily (without hacking pmwiki.php) as the $ChangeSummary variable is not preserved after exiting the RecentChanges handlers? You could try and * [[Cookbook/B3]] . . . @2025-04-02T13:27:05Z by [[~Petko]]: [= (+5)
in the email.
Unfortunately if the user clicks cancel and leaves the edit form they still get the same message; but this is the nature of $EditRedirectFmt
.
You can make your emails look much nicer by inserting line breaks. Use %0A for every line break. Here is a sample message with line breaks incorporated into the complete code required for the Site.AllGroupHeader page:
(:div1 id=div1 style='width:580px; align=center; border:1px solid #999; padding:5px; margin-left:25px; margin-bottom:10px; background:#EEE8CD; border:"solid #cccccc 1px':) Thank you for your edit. Please '''[[mailto:<email1>;<email2>?subject=<Wiki Update> - {*$Author} - {*$Group}:{*$Namespaced}&body=I have updated the following wiki page:%0A%0Ahttp://url.of.your.wiki{*$Group}/{*$Name}%0A%0APlease review the technical content.%0A%0A%0AThanks,%0A{$Author}|click here]]''' to inform the relevant people that you have updated the wiki. (:div1end:) |
Thank you for your edit. Please click here to inform the relevant people that you have updated the wiki.
Talk page for the MessageAfterPosting recipe (users?).