PHP notice in api.php
Posted: 13 Feb 2018 01:28
Hi,
I've tried to use MediaWiki API to edit pages, and this was the response I got for the edit request:
The PHP notice, of course, makes the response non-valid JSON. Can we fix the API?
I've tried to use MediaWiki API to edit pages, and this was the response I got for the edit request:
Code: Select all
{"edit":{"result":"Success","pageid":189178,"title":"User:AlexMyltsev/previews split","contentmodel":"wikitext","oldrevid":880001,"newrevid":880002,"newtimestamp":"2018-02-13T01:21:29Z"}}
Notice: Undefined offset: 2 in /home/choralwi/public_html/wiki/extensions/ChoralWiki/EditionDataGrabber.php on line 113