https://bugzilla.wikimedia.org/show_bug.cgi?id=43734

       Web browser: ---
            Bug ID: 43734
           Summary: "soft" uniqueness checks must only be performed on
                    item creation.
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: daniel.kinz...@wikimedia.de
                CC: wikibugs-l@lists.wikimedia.org,
                    wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Soft constraints (those that allow false negatives for technical/performance
reasons) must only be applied on item creation. One example is the constraint
that an item's combination of label and description must be unique for any
given language. We check this, but can not (efficiently) do this with 100%
accuracy. 

The effect is that two items with the same label/description/language
combination may exist in the database. These conflicting items can then no
longer be modified (except by resolving the conflict), because any attempt to
save them would fail due to the uniqueness constraint (and currently without an
error message, see bug 43720). 

The main use of this constraint is to keep people from creating a data item
about some concept that already has an item. Applying the uniqueness check when
creating the item, and refusing the create the item if there already is one
with the same label/description/language, would solve that problem, but would
still allow conflicting items to be edited later. 

It however also allows conflicts to be introduced by editing existing items. A
special page for listing such conflicting items could be a solution.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to