https://bugzilla.wikimedia.org/show_bug.cgi?id=47046
--- Comment #2 from Brad Jorsch <bjor...@wikimedia.org> --- (In reply to comment #1) > You should use the 'APIGetAllowedParams' hook to add the params, than > extractRequestParams() will extract and validate it and marked it as used, > than > you have not a problem with unrecognized parameters. I think you are not up to date on the "$flags" parameter that was recently added to APIGetAllowedParams. Also keep in mind that some very strange things should not show up in the auto-generated help, e.g. how ConfirmEdit copies "captchaid" to "wgCaptchaId". But perhaps the thing to do is to require anything using APIGetAllowedParams to include its parameters when $flags is 0, and live with modules possibly getting extra parameters returned in extractRequestParams(). I'm not sure. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l