Last modified: 2009-12-02 00:23:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23740, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21740 - Attempting to protect a page that doesn't exist (salting) returns "unknown error"
Attempting to protect a page that doesn't exist (salting) returns "unknown er...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-02 00:18 UTC by Sam Reed (reedy)
Modified: 2009-12-02 00:23 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2009-12-02 00:18:53 UTC
"<?xml version=\"1.0\"?><api><error code=\"unknownerror\" info=\"Unknown error: ``missingtitles-createonly&#039;&#039;\" /></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
Comment 1 Sam Reed (reedy) 2009-12-02 00:23:41 UTC
r59647

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links