Last modified: 2009-12-02 00:23:41 UTC
"<?xml version=\"1.0\"?><api><error code=\"unknownerror\" info=\"Unknown error: ``missingtitles-createonly''\" /></api>" Trying to protect any page that doesn't exist gives the above error if(!$titleObj->exists() && $p[0] != 'create') $this->dieUsageMsg(array('missingtitles-createonly')); Test article was "LOLWHATTATATEST" http://www.mediawiki.org/wiki/API:Edit_-_Protect code: missingtitle-createonly info: Missing titles can only be protected with 'create' Seems just needs tying up (Will try and sort this myself
r59647