1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00

lint: switch links to plain URLS rather than mediawiki syntax

fdroidclient#1000
This commit is contained in:
Hans-Christoph Steiner 2017-12-04 20:33:42 +01:00
parent 8588b89eff
commit 42a9833536

View 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]")),
],
}