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

       Web browser: ---
             Bug #: 39136
           Summary: replace Item::addSiteLink with Item::setSiteLink
           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: ---


Item::addSiteLink is inconsistent with the way Item::setLabel and
Item::setDescription work, even though the operation is isomorphic to these.

The "updateType" parameter is really an abomination, and not really needed. The
"set" mode suffices for labels and descriptions, so why not for links?

-- 
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