https://bugzilla.wikimedia.org/show_bug.cgi?id=47046
Web browser: ---
Bug ID: 47046
Summary: API gives spurious "unrecognized parameter" warnings
for parameters added by extensions
Product: MediaWiki
Version: 1.22-git
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Extensions are allowed to add parameters to arbitrary API modules. And they can
even avoid adding these parameters in a way that module will see them when
calling extractRequestParams(). But if the extension does this and then
accesses these parameters directly via $wgRequest (which may be required, as
the extension may not be able to get access to the ApiMain), ApiMain never
knows about it and generates an "unrecognized parameter" warning.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l