You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story
As someone adding a wikidata item, I don't want to be able to enter an invalid QID for a category.
Acceptance Criteria*
Confirm the validation pattern below and apply this if correct (this came from ChatGPT)
Check for a “Q” Prefix: Ensure that the input begins with an uppercase “Q”.
Only Digits After “Q”: The characters after “Q” should consist solely of digits.
Minimum Length: The shortest possible QID is “Q1”, so ensure a minimum length of 2 characters.
Reasonable Maximum Length: Wikidata’s QID numbers have not yet exceeded 8 digits (as of 2023). Setting an upper limit, such as 12 characters (1 “Q” + up to 11 digits), will allow room for growth without being excessively large.
Case Sensitivity: Ensure that the “Q” is uppercase, as lowercase “q” is invalid.
The text was updated successfully, but these errors were encountered:
User Story
As someone adding a wikidata item, I don't want to be able to enter an invalid QID for a category.
Acceptance Criteria*
The text was updated successfully, but these errors were encountered: