https://bugzilla.wikimedia.org/show_bug.cgi?id=34356

       Web browser: ---
             Bug #: 34356
           Summary: list=watchlistraw does not set the result under
                    "query"
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


list=watchlistraw adds its result to the api tag and not to query tag like all
other query modules (in core). It is possible to change this? That makes a easy
design on client site a harder (Each action module adds its result under its
module name). Thanks.

Using list=watchlistraw gives 

<?xml version="1.0"?>
<api>
  <watchlistraw>
    <wr ns="?" title="?" />
  </watchlistraw>
  <query-continue>
    <watchlistraw wrcontinue="?|?" />
  </query-continue>
</api>

but using (for example) list=watchlist gives

<?xml version="1.0"?>
<api>
  <query>
    <watchlist>
      <item pageid="?" revid="?" old_revid="?" ns="?" title="?" />
    </watchlist>
  </query>
  <query-continue>
    <watchlist wlstart="?" />
  </query-continue>
</api>

-- 
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

Reply via email to