abian added a comment.

  A specific data/property type for regular expressions or patterns would:
  
  - ensure that the stored regular expressions or patterns are syntactically 
correct, in a similar way that quantity-type properties ensure that their 
statements are not paragraphs, something from which all implementations, tools 
and reusers would benefit;
  - introduce a specific input (interface) control in Wikibase (not 
WikibaseQualityConstraints) that could make pattern editing more friendly: 
monospaced text, warnings, colored brackets, and all the amazing features that 
the developers want to implement. :-)
  
  This does not solve the low-level security issues of each implementation 
(e.g., avoid running the regular expression "'; DROP TABLE important_things;").

TASK DETAIL
  https://phabricator.wikimedia.org/T244046

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: abian
Cc: Lucas_Werkmeister_WMDE, Aklapper, abian, darthmon_wmde, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Agabi10, 
Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to