In testing out the new mediawiki_api on the Fedora Weekly News dev site, pasting in longer sections of mediawiki content produced the following error:
Notice: unserialize() [function unserialize]: Error at offset 0 of 449 bytes in _mediawiki_api_process() (line 105 of /home/asrob/insight.asrob.net/sites/all/modules/mediawiki_api)
Interestingly, the text is saved as a draft, and if I resave the draft, the error is not repeated.
Comments
Comment #1
asrobI'm trying to fix this.
Comment #2
im_lex commentedChange code in mediawiki_api.module in _mediawiki_api_process function to:
Comment #3
asrobFixed and commited. Thank you, im_lex!