Add the focus area Support template via the voting dialog
Add the action to the voting dialog's 'Support' button, so that the user's username and comment are saved with the current timestamp using a new {{Community Wishlist/Support}}
template, in the |votes=
parameter of the focus area template.
This should work on translation pages as well as their source pages, and performs the following when the dialog button is clicked:
- disables the dialog's comment field and buttons;
- loads the source page's wikitext;
- checks to see if the user has already voted (and does nothing if they have);
- adds the new template to the votes parameter; and then
- saves the resulting full page wikitext.
There are a bunch of things that are not yet handled here, that can be done as follow-ups.
Bug: T363231