Remove link filtering for mediawiki, it's too strict and not every site uses the /wiki/-pattern.
This commit is contained in:
parent
eda615de0f
commit
24dce8c03b
@ -22,9 +22,6 @@ public class LinkFilterSelector {
|
||||
if (isLemmy(head)) {
|
||||
return url -> url.path.startsWith("/post/") || url.path.startsWith("/c/");
|
||||
}
|
||||
if (isMediawiki(head)) {
|
||||
return url -> url.path.startsWith("/wiki/") && !url.path.contains(":");
|
||||
}
|
||||
if (isDiscourse(head)) {
|
||||
return url -> url.path.startsWith("/t/") || url.path.contains("/latest");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user