https://bugzilla.wikimedia.org/show_bug.cgi?id=38962
--- Comment #6 from Legoktm <[email protected]> --- (In reply to comment #5) > What happens when you try to EditEntity a redirect through the API? > * This is an interesting one :/ I almost feel like saying you cant.. Imagine > if > a bot were to get a list of items and work on them throught a day, during the > day one of the items gets redirected by another user, the bot then comes > around > to make its edit, if it had the ability to edit it may simply overwrite the > page, which may not be the right thing to do. Perhaps a parameter to not > follow > redirects, so by default they would be followed, but if you really want to > you > can still edit the entity from the api (there may be a case this is needed) In the standard API you can use the &redirects parameter (https://www.mediawiki.org/wiki/API:Query#Resolving_redirects). Something like that would work. -- 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
