https://bugzilla.wikimedia.org/show_bug.cgi?id=42343
Web browser: ---
Bug #: 42343
Summary: warning about uselang parameter should be more correct
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: easy
Severity: normal
Priority: Unprioritized
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
If you feed the API the uselang parameter (for a module other than watch or
parse), the API reports invalid parameter. However, MW (before the API comes to
play) uses that to set global state of $wgLang (or the fake global state of all
those Context variables).
The warning should be less "Unrecognized parameter: 'uselang'" and more like
"uselang parameter not explicitly allowed for this module, but may nonetheless
have side effects. It is recommended one does not use that parameter".
I still feel we should have some sort of warning, because users should not be
using it unless its specifically listed as allowed.
See also gerrit change 34595 for some discussion
--
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