Bug ID: 62927
           Summary: Perform input validation based on ChangeOp
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
       Web browser: ---
   Mobile Platform: ---

Input validation should be performed by (or based on) ChangeOp objects. This
way, soft constraints can be enforced when part of a change, while ignoring
them when unrelated aspects of an entity are changed.

Also, by binding the validation to the ChangeOp, there is a central place to
specify what kind of change should apply what kind of validation.

This means that the validation of labels and descriptions should be done in the
relevant ChangeOp (see bug 49583). Similarly, snak validation should be moved
to the respective ChangeOp.

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to