mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
wiki: Add page name to title.
This commit is contained in:
@@ -118,7 +118,12 @@ class WikiBasePage(Reddit):
|
||||
self.pagetitle = None
|
||||
|
||||
self.inner_content = inner_content
|
||||
|
||||
|
||||
if page and "title" not in context:
|
||||
context["title"] = _("%(page)s - %(site)s") % {
|
||||
"site": c.site.name,
|
||||
"page": page}
|
||||
|
||||
Reddit.__init__(self, extra_js_config={'wiki_page': page},
|
||||
show_wiki_actions=True, **context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user