Page MenuHomePhabricator

New API module wblinktitles
Closed, ResolvedPublic

Description

The call should have two parameters, from and to (both with site and title)
If from exists and to exists:

  • if item(from) = item(to) : do nothing else raise error

If from exists and to not exists:

  • setsitelink(from,to)

If from not exists and to exists:

  • setsitelink(to,from)

If from not exists and to not exists:

  • id = createitem
  • setsitelink(id, from)
  • setsitelink(id, to)

Version: unspecified
Severity: enhancement
Whiteboard: storypoints: 5

Details

Reference
bz39162

Related Objects

StatusSubtypeAssignedTask
DeclinedLydia_Pintscher
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:04 AM
bzimport set Reference to bz39162.
bzimport added a subscriber: Unknown Object (MLST).

Verified in Wikidata demo time for sprint 13