chiark / gitweb /
lint: switch links to plain URLS rather than mediawiki syntax
authorHans-Christoph Steiner <hans@eds.org>
Mon, 4 Dec 2017 19:33:42 +0000 (20:33 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 6 Dec 2017 08:54:25 +0000 (09:54 +0100)
fdroidclient#1000

fdroidserver/lint.py

index 66b66245eb47a4fb539c9ef4fb0274e9164158e5..b53553593f3453124991e7f9a4f5132a33cdc589 100644 (file)
@@ -116,10 +116,6 @@ regex_checks = {
          _("Unnecessary leading space")),
         (re.compile(r'.*\s$'),
          _("Unnecessary trailing space")),
-        (re.compile(r'.*([^[]|^)\[[^:[\]]+( |\]|$)'),
-         _("Invalid link - use [http://foo.bar Link title] or [http://foo.bar]")),
-        (re.compile(r'(^|.* )https?://[^ ]+'),
-         _("Unlinkified link - use [http://foo.bar Link title] or [http://foo.bar]")),
     ],
 }