https://bugzilla.wikimedia.org/show_bug.cgi?id=21740
Summary: Attempting to protect a page that doesn't exist
(salting) returns "unknown error"
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
"<?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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l