Closed (fixed)
Project:
MediaWiki API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Dec 2011 at 20:57 UTC
Updated:
31 May 2012 at 08:30 UTC
Jump to comment: Most recent
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!