Only show notoken as possible API error once
commit4650adb9b27b9149301a0df49931a67c27186bde
authorMarius Hoch <hoo@online.de>
Sun, 9 Jun 2013 01:14:15 +0000 (9 03:14 +0200)
committerHoo man <hoo@online.de>
Tue, 11 Jun 2013 00:03:46 +0000 (11 00:03 +0000)
tree4d4410a2b6e4eff844d66f388a5c7bc1c78c3e0e
parenta4ce59a4a0923c32f9fd2724ec40d186fc474f80
Only show notoken as possible API error once

Currently notoken is being listed as possible
API error twice if it's explicitly set as
required parameter and needsToken() returns
true.

See:
https://www.wikidata.org/w/api.php?action=paraminfo&modules=edit

Change-Id: Ia17c5cfa634919b43affa146df0d1dc0ff06b758
includes/api/ApiBase.php