https://bugzilla.wikimedia.org/show_bug.cgi?id=39162
Web browser: ---
Bug #: 39162
Summary: New API module wblinktitles
Product: MediaWiki extensions
Version: unspecified
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: ---
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)
--
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