reddit/reddit — pull request #1162 by Deimos (2014-10-30 00:13:51+00:00)
Title: Fix handling nonexistent welcome message templates

Since `wiki_template()` returns `None` if the template page doesn't exist, trying to chain `format()` onto it is causing a crash if either of the templates don't exist. This moves the formatting to after the point where we've checked that they exist to prevent this.

:eyeglasses: @umbrae