For example, this query does not give any indication that "guprop" was ignored:
Version: 1.23.0
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=64570
For example, this query does not give any indication that "guprop" was ignored:
Version: 1.23.0
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=64570
Change 126990 had a related patch set uploaded by Anomie:
API: Warn when unsupported PHP array syntax is used
These URLs are produced by mw.Api when as array is passed as argument:
new mw.Api().get( { action: 'query', prop: 'globalusage', titles: 'File: Swallow flying drinking.jpg', guprop: ['url', 'namespace'], gufilterlocal: 1} );
as opposed to
new mw.Api().get( { action: 'query', prop: 'globalusage', titles: 'File: Swallow flying drinking.jpg', guprop: 'url|namespace', gufilterlocal: 1} );
Not sure if this is a bug or a feature, but it is very counterintuitive.
(In reply to Tisza Gergő from comment #2)
These URLs are produced by mw.Api when as array is passed as argument:
[...]
Not sure if this is a bug or a feature, but it is very counterintuitive.
If it's a bug, it should be filed as a separate bug against the JavaScript component. You might refer to bug 10262 when doing so.
Change 126990 merged by jenkins-bot:
API: Warn when unsupported PHP array syntax is used
Should be deployed to WMF wikis with 1.24wmf3, see https://www.mediawiki.org/wiki/MediaWiki_1.24/Roadmap for the schedule.