Allow Wikipedia links from the Chinese Wikipedia

This commit is contained in:
Joshua Ramon Enslin 2023-11-26 23:53:50 +01:00
parent 71d34b37ca
commit c43cc7e42a
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -615,6 +615,8 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
'https://ru.wikipedia.org/wiki/' => '',
'http://uk.wikipedia.org/wiki/' => '',
'https://uk.wikipedia.org/wiki/' => '',
'http://zh.wikipedia.org/wiki/' => '',
'https://zh.wikipedia.org/wiki/' => '',
]);
if (str_contains($validation, "/")) return false;