Allow wikidata IDs exceeding the size of INT32
This commit is contained in:
parent
7826b7d891
commit
bdb9bb16f5
|
@ -574,7 +574,7 @@ enum MDNodaRepository implements MDValueEnumInterface, JsonSerializable {
|
|||
throw new MDInvalidNodaLinkException("Wikidata IDs must be Q IDs - and start with that letter (provided: $id)");
|
||||
}
|
||||
|
||||
if (filter_var(substr($id, 1), FILTER_VALIDATE_INT) === false) {
|
||||
if (self::_is_numeric(substr($id, 1)) === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user