https://bugzilla.wikimedia.org/show_bug.cgi?id=47046
Umherirrender <umherirrender_de...@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |umherirrender_de...@web.de --- Comment #1 from Umherirrender <umherirrender_de...@web.de> --- 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. With 'APIGetParamDescription' you can add help for the autodoc and action=paraminfo All other ways are not the common way, so you have to live with such warnings and maybe other things. Do you want a new hook, when ApiMain::getParamsUsed is called, to add your own parameters there and avoid the warning? Use the first hook, makes live easier, because the api will validate you param and die in a documented way for invalid input. -- 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