https://bugzilla.wikimedia.org/show_bug.cgi?id=38190
--- Comment #4 from Krinkle <[email protected]> 2012-07-08 22:46:17 UTC --- (In reply to comment #2) > Sounds like a good idea, but you cannot set it for all modules with a token, > because modules with "gettoken" (like block/unblock) needs a optional token > param. The modules have needsToken: return true; And ApiBase: if ( $params ) { foreach ( $params as $paramName => $paramSettings ) { if ( isset( $paramSettings[ApiBase::PARAM_REQUIRED] ) ) { $ret[] = array( 'missingparam', $paramName ); } } } /* .. */ if ( $this->needsToken() ) { $ret[] = array( 'missingparam', 'token' ); /* .. */ So it looks like this isn't working properly? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
