Also allow Ukrainian Wikipedia

This commit is contained in:
Joshua Ramon Enslin 2023-11-14 04:28:20 +01:00
parent 8e0be0f80c
commit 71d34b37ca
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -102,7 +102,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
'Wikidata' => self::wikidata, 'Wikidata' => self::wikidata,
'www.wikidata.org' => self::wikidata, 'www.wikidata.org' => self::wikidata,
'WIKIDATA' => self::wikidata, 'WIKIDATA' => self::wikidata,
'WIKIPEDIA' => self::wikidata, 'WIKIPEDIA' => self::wikipedia,
'wikipedia' => self::wikipedia, 'wikipedia' => self::wikipedia,
'Wikipedia' => self::wikipedia, 'Wikipedia' => self::wikipedia,
'de.wikipedia.org' => self::wikipedia, 'de.wikipedia.org' => self::wikipedia,
@ -613,6 +613,8 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
'https://sv.wikipedia.org/wiki/' => '', 'https://sv.wikipedia.org/wiki/' => '',
'http://ru.wikipedia.org/wiki/' => '', 'http://ru.wikipedia.org/wiki/' => '',
'https://ru.wikipedia.org/wiki/' => '', 'https://ru.wikipedia.org/wiki/' => '',
'http://uk.wikipedia.org/wiki/' => '',
'https://uk.wikipedia.org/wiki/' => '',
]); ]);
if (str_contains($validation, "/")) return false; if (str_contains($validation, "/")) return false;