mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
wiki: Show wiki actions on banned and contributors pages.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user