https://bugzilla.wikimedia.org/show_bug.cgi?id=67577
Bug ID: 67577
Summary: ApiSandbox throws JavaScript exception when trying to
execute action=query with no query modules
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Keywords: javascript
Severity: normal
Priority: Unprioritized
Component: ApiSandbox
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
The API query "action=query&titles=Baklava" is perfectly valid.
However, when trying to execute this query using ApiSandbox, we get "TypeError:
obj is null" in the browser JS console.
Caused by line 357 of resources/main.js:
if ( action === 'query' ) {
var lists = [], metas = [], props = [];
>> $.each( $query.val(), function ( index, queryParam ) {
$query.val() is null when no query types are selected.
--
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