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

--- Comment #1 from denny vrandecic <[email protected]> 2012-07-05 
11:25:19 UTC ---
Results of the review. Close this bug after completion.

General
* the parameter "usekeys" will be on by default
* a parameter "nousekeys" will be added to counter the effect of "usekeys"
* the "gettoken" parameter is moved to the "modifyitem" base class, meaning all
modifying modules will have access to it

getitems module
* no further change

getitemid module
* remove whole module (redundant, same as getitems(prop=)

setlanguageattribute module
* remove "item" parameter, default to "update"

deletelanguageattribute module
* remove module (redundant, same as setlanguageattribute(label=)

getsitelinks
* remove module (redundant, same as getitems(prop=sitelinks)

linksite
* rename to wbsetsitelink
* remove "item" parameter, default to "update", not "set" as it is now
* remove "link" parameter, default to "set", not "add" as it is now

setaliases
* remove "item" parameter, default to "update"

setitem
* remove "languages" parameter
* remove "item" parameter, default to "add" (!)
* update description that for now data can only be an empty object {}, and that
this call will create a new item and return the id. anything else is
undocumented for now.

new module: wblinktitles
* two parameters: from, 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 = createidem
** 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

Reply via email to