https://bugzilla.wikimedia.org/show_bug.cgi?id=64496
Ricordisamoa <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Ricordisamoa <[email protected]> --- This is how the wbeditentity API works. wbsetaliases accepts a 'remove' argument that could fit your needs. https://gerrit.wikimedia.org/r/125575/ automatically fills the aliases list with empty strings to reset them: item_obj = pywikibot.ItemPage(repo, q) item_obj.get() item_obj.aliases['als'] = [] item_obj.editEntity(summary=u"remove redundant aliases") A similar technique could be implemented in editAliases(), but that would be a breaking change. Or we could provide a 'remove' argument in the function itself. -- 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
