Work out the phrase of what has happened to the page. This is sensitive to the type of request, the person making the change and the action they invoked. This allows us to send more descriptive emails. The cases specifically handled: - if an author has deleted a page => "deleted the page" - if a publisher or approver has denied deletion of a page => "undeleted the page" - otherwise => "made changes to"
Signature
protected function ActionOnPage()
Line
Task
645+
Make the generation of this syntax use translatable.
645+
Get the generation out of here. The message that is displayed for any given operation should be generated by the operation, not centralised here. This logic assumes a certain syntax of the sentence, which assumes a modification to the page.