From b357725544df79b1512fea5e17fba1c45b5ae838 Mon Sep 17 00:00:00 2001 From: Andre D Date: Thu, 13 Sep 2012 00:40:15 -0500 Subject: [PATCH] wiki: Show wiki actions on banned and contributors pages. --- r2/r2/controllers/front.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/r2/r2/controllers/front.py b/r2/r2/controllers/front.py index 038fc56f2..d390973f0 100755 --- a/r2/r2/controllers/front.py +++ b/r2/r2/controllers/front.py @@ -596,8 +596,10 @@ class FrontController(RedditController, OAuth2ResourceController): elif is_moderator and location == 'banned': pane = BannedList(editable = is_moderator) elif is_moderator and location == 'wikibanned': + c.show_wiki_actions = True pane = WikiBannedList(editable = is_moderator) elif is_moderator and location == 'wikicontributors': + c.show_wiki_actions = True pane = WikiMayContributeList(editable = is_moderator) elif (location == 'contributors' and # On public reddits, only moderators can see the whitelist.