WikibaseIntegrator icon indicating copy to clipboard operation
WikibaseIntegrator copied to clipboard

Feature request: Add a limit to the write function to honor the max request size imposed on the Wikibase server

Open dpriskorn opened this issue 2 years ago • 2 comments

See https://github.com/LeMyst/WikibaseIntegrator/discussions/462 for user story and background

dpriskorn avatar Dec 02 '22 17:12 dpriskorn

Maybe add a parameter to the write() method to filter the statements you want to update. Like, you have a huge object, but you only want to update one statement in it, at the moment, WBI don't (and can't) track which statement you update (or not), but when you write you can pass to only send these statement(s) and ignore everything else ?

LeMyst avatar Dec 07 '22 16:12 LeMyst

That is not a solution in my case. I'm compiling the whole item and creating it in one go currently. I found a workaround: compile up to 500 statements and upload. Then append the rest using wbcreateclaim via wbi helper.

dpriskorn avatar Dec 07 '22 21:12 dpriskorn