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

       Web browser: ---
             Bug #: 39428
           Summary: undo/restore may fail due to sitelink conflicts
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


If item A once linked to dewiki:Foo but now links to dewiki:Bar, and item B now
links to dewiki:Foo, item A can not be restored to the old revision that points
to dewiki:Foo.

This type of global-consistency conflict should be checked when preparing the
undo/restore operation, just like "local" conflicts that arise from later edits
of the item. The respective change to the sitelinks should be omitted, and this
should be reported to the user.

Implementation note: care should be taken that this works on the restore as
well as the undo codepath - the restore codepath so far bypasses checks for
conflicting edits.

Reminder: fix broken error message that is shown when a sitelink conflict
causes save to fail.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to