diff --git a/NEWS b/NEWS
index 500ec0c..d9c29f2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,39 @@
+Version 5.0.1 (2017-09-03)
+------------------------------------------------------------------------
+
+- Fix: Detection of existing links had a bug.
+- Fix: Do not crash when testing redirect target on empty page.
+- Improved: Special Page can now be translated using messages.
+- Improved: The comment that is added when pages are edited by the maintenance script can now be translated using a message.
+
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+
+
Version 5.0.0 (2017-09-01)
------------------------------------------------------------------------
+Version 5 is a major rewrite of the LinKTitles extension. The code is
+now much better organized, and it included automatic (unit) testing,
+which will greatly facilitate future maintenance and development.
+
+Namespace support was overhauled, and a couple of **breaking changes**
+were introduced in this version. Most notably, the
+`$wgLinkTitlesNamespaces` configuration variable was removed and
+replaced with `$wgLinKTitlesSourceNamespaces`,
+`$wgLinkTitlesTargetNamespaces`, and `$wgLinkTitlesSameNamespace`.
+`$wgLinKTitlesTimeLimit` was renamed to
+`$wgLinkTitlesSpecialPageReloadAfter`.
+
+Version 5 offers more fine-grained control over where to link and what
+to link. In addition to the `__NOAUTOLINKS__` and
+`__NOAUTOLINKSTARGET__` magic words, you can have
+`..` and `..` tags in your
+page source to explicitly include or exclude sections from linking.
+
+Several long-standing bugs were fixed.
+
+Please see the detailed documentation in the README.md file, and the
+NEWS file.
- Change: The $wgLinkTitlesBatchTimeLimit configuration variable was renamed to $wgLinkTitlesSpecialPageReloadAfter.
- Fix: Blacklist did not always work properly
- Fix: Contents of tags are now properly parsed as Wiki text.
diff --git a/extension.json b/extension.json
index 45470f8..7503d0b 100644
--- a/extension.json
+++ b/extension.json
@@ -9,7 +9,7 @@
],
"type": "parserhook",
"url": "https://www.mediawiki.org/wiki/Extension:LinkTitles",
- "version": "5.0.0",
+ "version": "5.0.1",
"license-name": "GPL-2.0+",
"descriptionmsg": "linktitles-desc",
"requires": {
diff --git a/gh-pages b/gh-pages
index b89d3cf..55f2ec1 160000
--- a/gh-pages
+++ b/gh-pages
@@ -1 +1 @@
-Subproject commit b89d3cf098636f3ecb2e5bc57441cd23203bdd54
+Subproject commit 55f2ec1fc1381085299106a1126cc19d0c3cab9f