We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
WikiPage.revisions raises TypeError if an author of revision isn't exist
## Issue Description

As the title said. To reproduce:

```
$ cat rev_no_author.py
import praw

reddit = praw.Reddit('prawtest')
list(reddit.subreddit('theoryofreddit').wiki['index'].revisions())

$ python3 -mpdb rev_no_author.py
> /Users/foo/issues/rev_no_author.py(1)<module>()
-> import praw
(Pdb) c
Traceback (most recent call last):
...
  File "/usr/local/lib/python3.6/site-packages/praw/models/reddit/wikipage.py", line 16, in _revision_generator
    _data=revision['author']['data'])
TypeError: 'NoneType' object is not subscriptable
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/local/lib/python3.6/site-packages/praw/models/reddit/wikipage.py(16)_revision_generator()
-> _data=revision['author']['data'])
(Pdb) p revision
{'timestamp': 1357210312.0, 'reason': None, 'author': None, 'page': 'index', 'id': '873933a0-5550-11e2-82f1-12313b0c1e2b'}
```

And here is the [URL](https://www.reddit.com/r/TheoryOfReddit/wiki/index?v=873933a0-5550-11e2-82f1-12313b0c1e2b) whose ID is '873933a0-5550-11e2-82f1-12313b0c1e2b'.

## System Information

PRAW Version: 4.4.0
Python Version: 3.6.0
Operating System: El Capitan 10.11.6


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `praw/models/reddit/wikipage.py`
Content:
```
1 """Provide the WikiPage class."""
2 from ...const import API_PATH
3 from ..listing.generator import ListingGenerator
4 from .base import RedditBase
5 from .redditor import Redditor
6 
7 
8 class WikiPage(RedditBase):
9     """An individual WikiPage object."""
10 
11     @staticmethod
12     def _revision_generator(subreddit, url, generator_kwargs):
13         for revision in ListingGenerator(subreddit._reddit, url,
14                                          **generator_kwargs):
15             revision['author'] = Redditor(subreddit._reddit,
16                                           _data=revision['author']['data'])
17             revision['page'] = WikiPage(subreddit._reddit, subreddit,
18                                         revision['page'], revision['id'])
19             yield revision
20 
21     @property
22     def mod(self):
23         """An instance of :class:`.WikiPageModeration`."""
24         if self._mod is None:
25             self._mod = WikiPageModeration(self)
26         return self._mod
27 
28     def __eq__(self, other):
29         """Return whether the other instance equals the current."""
30         return isinstance(other, self.__class__) and \
31             str(self).lower() == str(other).lower()
32 
33     def __hash__(self):
34         """Return the hash of the current instance."""
35         return super(WikiPage, self).__hash__()
36 
37     def __init__(self, reddit, subreddit, name, revision=None, _data=None):
38         """Construct an instance of the WikiPage object.
39 
40         :param revision: A specific revision ID to fetch. By default, fetches
41             the most recent revision.
42 
43         """
44         self.name = name
45         self._revision = revision
46         self.subreddit = subreddit
47         super(WikiPage, self).__init__(reddit, _data)
48         self._mod = None
49 
50     def __repr__(self):
51         """Return an object initialization representation of the instance."""
52         return '{}(subreddit={!r}, name={!r})'.format(
53             self.__class__.__name__, self.subreddit, self.name)
54 
55     def __str__(self):
56         """Return a string representation of the instance."""
57         return '{}/{}'.format(self.subreddit, self.name)
58 
59     def _fetch(self):
60         params = {'v': self._revision} if self._revision else None
61         data = self._reddit.get(self._info_path(), params=params)['data']
62         data['revision_by'] = Redditor(self._reddit,
63                                        _data=data['revision_by']['data'])
64         self.__dict__.update(data)
65         self._fetched = True
66 
67     def _info_path(self):
68         return API_PATH['wiki_page'].format(subreddit=self.subreddit,
69                                             page=self.name)
70 
71     def edit(self, content, reason=None, **other_settings):
72         """Edit this WikiPage's contents.
73 
74         :param content: The updated markdown content of the page.
75         :param reason: (Optional) The reason for the revision.
76         :param other_settings: Additional keyword arguments to pass.
77 
78         """
79         other_settings.update({'content': content, 'page': self.name,
80                                'reason': reason})
81         self._reddit.post(API_PATH['wiki_edit'].format(
82             subreddit=self.subreddit), data=other_settings)
83 
84     def revisions(self, **generator_kwargs):
85         """Return a generator for page revisions.
86 
87         Additional keyword arguments are passed in the initialization of
88         :class:`.ListingGenerator`.
89 
90         To view the wiki revisions for ``'praw_test'`` in ``'/r/test'`` try:
91 
92         .. code:: python
93 
94            for item in reddit.subreddit('test').wiki['praw_test'].revisions():
95                print(item)
96 
97         """
98         url = API_PATH['wiki_page_revisions'].format(subreddit=self.subreddit,
99                                                      page=self.name)
100         return self._revision_generator(self.subreddit, url, generator_kwargs)
101 
102 
103 class WikiPageModeration(object):
104     """Provides a set of moderation functions for a WikiPage."""
105 
106     def __init__(self, wikipage):
107         """Create a WikiPageModeration instance.
108 
109         :param wikipage: The wikipage to moderate.
110 
111         """
112         self.wikipage = wikipage
113 
114     def add(self, redditor):
115         """Add an editor to this WikiPage.
116 
117         :param redditor: A redditor name (e.g., ``'spez'``) or
118             :class:`~.Redditor` instance.
119 
120         To add ``'spez'`` as an editor on the wikipage ``'praw_test'`` try:
121 
122         .. code:: python
123 
124            reddit.subreddit('test').wiki['praw_test'].mod.add('spez')
125 
126         """
127         data = {'page': self.wikipage.name, 'username': str(redditor)}
128         url = API_PATH['wiki_page_editor'].format(
129             subreddit=self.wikipage.subreddit, method='add')
130         self.wikipage._reddit.post(url, data=data)
131 
132     def remove(self, redditor):
133         """Remove an editor from this WikiPage.
134 
135         :param redditor: A redditor name (e.g., ``'spez'``) or
136             :class:`~.Redditor` instance.
137 
138         To remove ``'spez'`` as an editor on the wikipage ``'praw_test'`` try:
139 
140         .. code:: python
141 
142            reddit.subreddit('test').wiki['praw_test'].mod.remove('spez')
143 
144         """
145         data = {'page': self.wikipage.name, 'username': str(redditor)}
146         url = API_PATH['wiki_page_editor'].format(
147             subreddit=self.wikipage.subreddit, method='del')
148         self.wikipage._reddit.post(url, data=data)
149 
150     def settings(self):
151         """Return the settings for this WikiPage."""
152         url = API_PATH['wiki_page_settings'].format(
153             subreddit=self.wikipage.subreddit, page=self.wikipage.name)
154         return self.wikipage._reddit.get(url)['data']
155 
156     def update(self, listed, permlevel, **other_settings):
157         """Update the settings for this WikiPage.
158 
159         :param listed: (boolean) Show this page on page list.
160         :param permlevel: (int) Who can edit this page? (0) use subreddit wiki
161             permissions, (1) only approved wiki contributors for this page may
162             edit (see `add`), (2) only mods may edit and view
163         :param other_settings: Additional keyword arguments to pass.
164         :returns: The updated WikiPage settings.
165 
166         To set the wikipage ``'praw_test'`` in ``'/r/test'`` to mod only and
167           disable it from showing in the page list, try:
168 
169         .. code:: python
170 
171            reddit.subreddit('test').wiki['praw_test'].mod.update(listed=False,
172                                                                  permlevel=2)
173 
174         """
175         other_settings.update({'listed': listed, 'permlevel': permlevel})
176         url = API_PATH['wiki_page_settings'].format(
177             subreddit=self.wikipage.subreddit, page=self.wikipage.name)
178         return self.wikipage._reddit.post(url, data=other_settings)['data']
179
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/praw/models/reddit/wikipage.py b/praw/models/reddit/wikipage.py
--- a/praw/models/reddit/wikipage.py
+++ b/praw/models/reddit/wikipage.py
@@ -12,8 +12,9 @@
     def _revision_generator(subreddit, url, generator_kwargs):
         for revision in ListingGenerator(subreddit._reddit, url,
                                          **generator_kwargs):
-            revision['author'] = Redditor(subreddit._reddit,
-                                          _data=revision['author']['data'])
+            if revision['author'] is not None:
+                revision['author'] = Redditor(subreddit._reddit,
+                                              _data=revision['author']['data'])
             revision['page'] = WikiPage(subreddit._reddit, subreddit,
                                         revision['page'], revision['id'])
             yield revision
@@ -59,8 +60,9 @@
     def _fetch(self):
         params = {'v': self._revision} if self._revision else None
         data = self._reddit.get(self._info_path(), params=params)['data']
-        data['revision_by'] = Redditor(self._reddit,
-                                       _data=data['revision_by']['data'])
+        if data['revision_by'] is not None:
+            data['revision_by'] = Redditor(self._reddit,
+                                           _data=data['revision_by']['data'])
         self.__dict__.update(data)
         self._fetched = True

{"golden_diff": "diff --git a/praw/models/reddit/wikipage.py b/praw/models/reddit/wikipage.py\n--- a/praw/models/reddit/wikipage.py\n+++ b/praw/models/reddit/wikipage.py\n@@ -12,8 +12,9 @@\n     def _revision_generator(subreddit, url, generator_kwargs):\n         for revision in ListingGenerator(subreddit._reddit, url,\n                                          **generator_kwargs):\n-            revision['author'] = Redditor(subreddit._reddit,\n-                                          _data=revision['author']['data'])\n+            if revision['author'] is not None:\n+                revision['author'] = Redditor(subreddit._reddit,\n+                                              _data=revision['author']['data'])\n             revision['page'] = WikiPage(subreddit._reddit, subreddit,\n                                         revision['page'], revision['id'])\n             yield revision\n@@ -59,8 +60,9 @@\n     def _fetch(self):\n         params = {'v': self._revision} if self._revision else None\n         data = self._reddit.get(self._info_path(), params=params)['data']\n-        data['revision_by'] = Redditor(self._reddit,\n-                                       _data=data['revision_by']['data'])\n+        if data['revision_by'] is not None:\n+            data['revision_by'] = Redditor(self._reddit,\n+                                           _data=data['revision_by']['data'])\n         self.__dict__.update(data)\n         self._fetched = True\n", "issue": "WikiPage.revisions raises TypeError if an author of revision isn't exist\n## Issue Description\r\n\r\nAs the title said. To reproduce:\r\n\r\n```\r\n$ cat rev_no_author.py\r\nimport praw\r\n\r\nreddit = praw.Reddit('prawtest')\r\nlist(reddit.subreddit('theoryofreddit').wiki['index'].revisions())\r\n\r\n$ python3 -mpdb rev_no_author.py\r\n> /Users/foo/issues/rev_no_author.py(1)<module>()\r\n-> import praw\r\n(Pdb) c\r\nTraceback (most recent call last):\r\n...\r\n  File \"/usr/local/lib/python3.6/site-packages/praw/models/reddit/wikipage.py\", line 16, in _revision_generator\r\n    _data=revision['author']['data'])\r\nTypeError: 'NoneType' object is not subscriptable\r\nUncaught exception. Entering post mortem debugging\r\nRunning 'cont' or 'step' will restart the program\r\n> /usr/local/lib/python3.6/site-packages/praw/models/reddit/wikipage.py(16)_revision_generator()\r\n-> _data=revision['author']['data'])\r\n(Pdb) p revision\r\n{'timestamp': 1357210312.0, 'reason': None, 'author': None, 'page': 'index', 'id': '873933a0-5550-11e2-82f1-12313b0c1e2b'}\r\n```\r\n\r\nAnd here is the [URL](https://www.reddit.com/r/TheoryOfReddit/wiki/index?v=873933a0-5550-11e2-82f1-12313b0c1e2b) whose ID is '873933a0-5550-11e2-82f1-12313b0c1e2b'.\r\n\r\n## System Information\r\n\r\nPRAW Version: 4.4.0\r\nPython Version: 3.6.0\r\nOperating System: El Capitan 10.11.6\r\n\n", "before_files": [{"content": "\"\"\"Provide the WikiPage class.\"\"\"\nfrom ...const import API_PATH\nfrom ..listing.generator import ListingGenerator\nfrom .base import RedditBase\nfrom .redditor import Redditor\n\n\nclass WikiPage(RedditBase):\n    \"\"\"An individual WikiPage object.\"\"\"\n\n    @staticmethod\n    def _revision_generator(subreddit, url, generator_kwargs):\n        for revision in ListingGenerator(subreddit._reddit, url,\n                                         **generator_kwargs):\n            revision['author'] = Redditor(subreddit._reddit,\n                                          _data=revision['author']['data'])\n            revision['page'] = WikiPage(subreddit._reddit, subreddit,\n                                        revision['page'], revision['id'])\n            yield revision\n\n    @property\n    def mod(self):\n        \"\"\"An instance of :class:`.WikiPageModeration`.\"\"\"\n        if self._mod is None:\n            self._mod = WikiPageModeration(self)\n        return self._mod\n\n    def __eq__(self, other):\n        \"\"\"Return whether the other instance equals the current.\"\"\"\n        return isinstance(other, self.__class__) and \\\n            str(self).lower() == str(other).lower()\n\n    def __hash__(self):\n        \"\"\"Return the hash of the current instance.\"\"\"\n        return super(WikiPage, self).__hash__()\n\n    def __init__(self, reddit, subreddit, name, revision=None, _data=None):\n        \"\"\"Construct an instance of the WikiPage object.\n\n        :param revision: A specific revision ID to fetch. By default, fetches\n            the most recent revision.\n\n        \"\"\"\n        self.name = name\n        self._revision = revision\n        self.subreddit = subreddit\n        super(WikiPage, self).__init__(reddit, _data)\n        self._mod = None\n\n    def __repr__(self):\n        \"\"\"Return an object initialization representation of the instance.\"\"\"\n        return '{}(subreddit={!r}, name={!r})'.format(\n            self.__class__.__name__, self.subreddit, self.name)\n\n    def __str__(self):\n        \"\"\"Return a string representation of the instance.\"\"\"\n        return '{}/{}'.format(self.subreddit, self.name)\n\n    def _fetch(self):\n        params = {'v': self._revision} if self._revision else None\n        data = self._reddit.get(self._info_path(), params=params)['data']\n        data['revision_by'] = Redditor(self._reddit,\n                                       _data=data['revision_by']['data'])\n        self.__dict__.update(data)\n        self._fetched = True\n\n    def _info_path(self):\n        return API_PATH['wiki_page'].format(subreddit=self.subreddit,\n                                            page=self.name)\n\n    def edit(self, content, reason=None, **other_settings):\n        \"\"\"Edit this WikiPage's contents.\n\n        :param content: The updated markdown content of the page.\n        :param reason: (Optional) The reason for the revision.\n        :param other_settings: Additional keyword arguments to pass.\n\n        \"\"\"\n        other_settings.update({'content': content, 'page': self.name,\n                               'reason': reason})\n        self._reddit.post(API_PATH['wiki_edit'].format(\n            subreddit=self.subreddit), data=other_settings)\n\n    def revisions(self, **generator_kwargs):\n        \"\"\"Return a generator for page revisions.\n\n        Additional keyword arguments are passed in the initialization of\n        :class:`.ListingGenerator`.\n\n        To view the wiki revisions for ``'praw_test'`` in ``'/r/test'`` try:\n\n        .. code:: python\n\n           for item in reddit.subreddit('test').wiki['praw_test'].revisions():\n               print(item)\n\n        \"\"\"\n        url = API_PATH['wiki_page_revisions'].format(subreddit=self.subreddit,\n                                                     page=self.name)\n        return self._revision_generator(self.subreddit, url, generator_kwargs)\n\n\nclass WikiPageModeration(object):\n    \"\"\"Provides a set of moderation functions for a WikiPage.\"\"\"\n\n    def __init__(self, wikipage):\n        \"\"\"Create a WikiPageModeration instance.\n\n        :param wikipage: The wikipage to moderate.\n\n        \"\"\"\n        self.wikipage = wikipage\n\n    def add(self, redditor):\n        \"\"\"Add an editor to this WikiPage.\n\n        :param redditor: A redditor name (e.g., ``'spez'``) or\n            :class:`~.Redditor` instance.\n\n        To add ``'spez'`` as an editor on the wikipage ``'praw_test'`` try:\n\n        .. code:: python\n\n           reddit.subreddit('test').wiki['praw_test'].mod.add('spez')\n\n        \"\"\"\n        data = {'page': self.wikipage.name, 'username': str(redditor)}\n        url = API_PATH['wiki_page_editor'].format(\n            subreddit=self.wikipage.subreddit, method='add')\n        self.wikipage._reddit.post(url, data=data)\n\n    def remove(self, redditor):\n        \"\"\"Remove an editor from this WikiPage.\n\n        :param redditor: A redditor name (e.g., ``'spez'``) or\n            :class:`~.Redditor` instance.\n\n        To remove ``'spez'`` as an editor on the wikipage ``'praw_test'`` try:\n\n        .. code:: python\n\n           reddit.subreddit('test').wiki['praw_test'].mod.remove('spez')\n\n        \"\"\"\n        data = {'page': self.wikipage.name, 'username': str(redditor)}\n        url = API_PATH['wiki_page_editor'].format(\n            subreddit=self.wikipage.subreddit, method='del')\n        self.wikipage._reddit.post(url, data=data)\n\n    def settings(self):\n        \"\"\"Return the settings for this WikiPage.\"\"\"\n        url = API_PATH['wiki_page_settings'].format(\n            subreddit=self.wikipage.subreddit, page=self.wikipage.name)\n        return self.wikipage._reddit.get(url)['data']\n\n    def update(self, listed, permlevel, **other_settings):\n        \"\"\"Update the settings for this WikiPage.\n\n        :param listed: (boolean) Show this page on page list.\n        :param permlevel: (int) Who can edit this page? (0) use subreddit wiki\n            permissions, (1) only approved wiki contributors for this page may\n            edit (see `add`), (2) only mods may edit and view\n        :param other_settings: Additional keyword arguments to pass.\n        :returns: The updated WikiPage settings.\n\n        To set the wikipage ``'praw_test'`` in ``'/r/test'`` to mod only and\n          disable it from showing in the page list, try:\n\n        .. code:: python\n\n           reddit.subreddit('test').wiki['praw_test'].mod.update(listed=False,\n                                                                 permlevel=2)\n\n        \"\"\"\n        other_settings.update({'listed': listed, 'permlevel': permlevel})\n        url = API_PATH['wiki_page_settings'].format(\n            subreddit=self.wikipage.subreddit, page=self.wikipage.name)\n        return self.wikipage._reddit.post(url, data=other_settings)['data']\n", "path": "praw/models/reddit/wikipage.py"}], "after_files": [{"content": "\"\"\"Provide the WikiPage class.\"\"\"\nfrom ...const import API_PATH\nfrom ..listing.generator import ListingGenerator\nfrom .base import RedditBase\nfrom .redditor import Redditor\n\n\nclass WikiPage(RedditBase):\n    \"\"\"An individual WikiPage object.\"\"\"\n\n    @staticmethod\n    def _revision_generator(subreddit, url, generator_kwargs):\n        for revision in ListingGenerator(subreddit._reddit, url,\n                                         **generator_kwargs):\n            if revision['author'] is not None:\n                revision['author'] = Redditor(subreddit._reddit,\n                                              _data=revision['author']['data'])\n            revision['page'] = WikiPage(subreddit._reddit, subreddit,\n                                        revision['page'], revision['id'])\n            yield revision\n\n    @property\n    def mod(self):\n        \"\"\"An instance of :class:`.WikiPageModeration`.\"\"\"\n        if self._mod is None:\n            self._mod = WikiPageModeration(self)\n        return self._mod\n\n    def __eq__(self, other):\n        \"\"\"Return whether the other instance equals the current.\"\"\"\n        return isinstance(other, self.__class__) and \\\n            str(self).lower() == str(other).lower()\n\n    def __hash__(self):\n        \"\"\"Return the hash of the current instance.\"\"\"\n        return super(WikiPage, self).__hash__()\n\n    def __init__(self, reddit, subreddit, name, revision=None, _data=None):\n        \"\"\"Construct an instance of the WikiPage object.\n\n        :param revision: A specific revision ID to fetch. By default, fetches\n            the most recent revision.\n\n        \"\"\"\n        self.name = name\n        self._revision = revision\n        self.subreddit = subreddit\n        super(WikiPage, self).__init__(reddit, _data)\n        self._mod = None\n\n    def __repr__(self):\n        \"\"\"Return an object initialization representation of the instance.\"\"\"\n        return '{}(subreddit={!r}, name={!r})'.format(\n            self.__class__.__name__, self.subreddit, self.name)\n\n    def __str__(self):\n        \"\"\"Return a string representation of the instance.\"\"\"\n        return '{}/{}'.format(self.subreddit, self.name)\n\n    def _fetch(self):\n        params = {'v': self._revision} if self._revision else None\n        data = self._reddit.get(self._info_path(), params=params)['data']\n        if data['revision_by'] is not None:\n            data['revision_by'] = Redditor(self._reddit,\n                                           _data=data['revision_by']['data'])\n        self.__dict__.update(data)\n        self._fetched = True\n\n    def _info_path(self):\n        return API_PATH['wiki_page'].format(subreddit=self.subreddit,\n                                            page=self.name)\n\n    def edit(self, content, reason=None, **other_settings):\n        \"\"\"Edit this WikiPage's contents.\n\n        :param content: The updated markdown content of the page.\n        :param reason: (Optional) The reason for the revision.\n        :param other_settings: Additional keyword arguments to pass.\n\n        \"\"\"\n        other_settings.update({'content': content, 'page': self.name,\n                               'reason': reason})\n        self._reddit.post(API_PATH['wiki_edit'].format(\n            subreddit=self.subreddit), data=other_settings)\n\n    def revisions(self, **generator_kwargs):\n        \"\"\"Return a generator for page revisions.\n\n        Additional keyword arguments are passed in the initialization of\n        :class:`.ListingGenerator`.\n\n        To view the wiki revisions for ``'praw_test'`` in ``'/r/test'`` try:\n\n        .. code:: python\n\n           for item in reddit.subreddit('test').wiki['praw_test'].revisions():\n               print(item)\n\n        \"\"\"\n        url = API_PATH['wiki_page_revisions'].format(subreddit=self.subreddit,\n                                                     page=self.name)\n        return self._revision_generator(self.subreddit, url, generator_kwargs)\n\n\nclass WikiPageModeration(object):\n    \"\"\"Provides a set of moderation functions for a WikiPage.\"\"\"\n\n    def __init__(self, wikipage):\n        \"\"\"Create a WikiPageModeration instance.\n\n        :param wikipage: The wikipage to moderate.\n\n        \"\"\"\n        self.wikipage = wikipage\n\n    def add(self, redditor):\n        \"\"\"Add an editor to this WikiPage.\n\n        :param redditor: A redditor name (e.g., ``'spez'``) or\n            :class:`~.Redditor` instance.\n\n        To add ``'spez'`` as an editor on the wikipage ``'praw_test'`` try:\n\n        .. code:: python\n\n           reddit.subreddit('test').wiki['praw_test'].mod.add('spez')\n\n        \"\"\"\n        data = {'page': self.wikipage.name, 'username': str(redditor)}\n        url = API_PATH['wiki_page_editor'].format(\n            subreddit=self.wikipage.subreddit, method='add')\n        self.wikipage._reddit.post(url, data=data)\n\n    def remove(self, redditor):\n        \"\"\"Remove an editor from this WikiPage.\n\n        :param redditor: A redditor name (e.g., ``'spez'``) or\n            :class:`~.Redditor` instance.\n\n        To remove ``'spez'`` as an editor on the wikipage ``'praw_test'`` try:\n\n        .. code:: python\n\n           reddit.subreddit('test').wiki['praw_test'].mod.remove('spez')\n\n        \"\"\"\n        data = {'page': self.wikipage.name, 'username': str(redditor)}\n        url = API_PATH['wiki_page_editor'].format(\n            subreddit=self.wikipage.subreddit, method='del')\n        self.wikipage._reddit.post(url, data=data)\n\n    def settings(self):\n        \"\"\"Return the settings for this WikiPage.\"\"\"\n        url = API_PATH['wiki_page_settings'].format(\n            subreddit=self.wikipage.subreddit, page=self.wikipage.name)\n        return self.wikipage._reddit.get(url)['data']\n\n    def update(self, listed, permlevel, **other_settings):\n        \"\"\"Update the settings for this WikiPage.\n\n        :param listed: (boolean) Show this page on page list.\n        :param permlevel: (int) Who can edit this page? (0) use subreddit wiki\n            permissions, (1) only approved wiki contributors for this page may\n            edit (see `add`), (2) only mods may edit and view\n        :param other_settings: Additional keyword arguments to pass.\n        :returns: The updated WikiPage settings.\n\n        To set the wikipage ``'praw_test'`` in ``'/r/test'`` to mod only and\n          disable it from showing in the page list, try:\n\n        .. code:: python\n\n           reddit.subreddit('test').wiki['praw_test'].mod.update(listed=False,\n                                                                 permlevel=2)\n\n        \"\"\"\n        other_settings.update({'listed': listed, 'permlevel': permlevel})\n        url = API_PATH['wiki_page_settings'].format(\n            subreddit=self.wikipage.subreddit, page=self.wikipage.name)\n        return self.wikipage._reddit.post(url, data=other_settings)['data']\n", "path": "praw/models/reddit/wikipage.py"}]}