mozilla/kitsune — pull request #606 by tobbi (2012-05-16 00:07:23+00:00)
Title: Bug 416591 - Common forum responses

This commit adds the capability for canned forum responses as described in Bug 416591 and https://support.mozilla.org/en-US/forums/contributors/708347?last=46714

A few remarks:
This addition looks for an article with the slug canned-responses. It it's supposed to have the following content:

== Heading 1 ==
[[Link to first response article]]
[[Link to second response article]]

Where each response article contains an individual text snippet. The links can be chosen freely and everything that's supported by this wiki will work.

Also:
Restricting a canned response to only one or more groups (e.g. moderators) works for the groups "Contributors", "Moderators" and "Administrators" by adding a pound + a specific letter that stands for one or more of these groups.

Example:

== Heading 1 ==
[[Link to first response article#m]]
[[Link to second response article#ac]]

In the first example, only moderators can use the response, in the second, it's only admins and contributors (which wouldn't make much sense anyway). If no markers are specified, a response is valid for members of ALL groups.

So, BEFORE merging this in, it would be great if you could create a canned responses article with the structure above and all responses in different articles.