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

           Summary: API: paraminfo error with userrights module
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
               URL: http://en.wikipedia.org/w/api.php?action=paraminfo&mod
                    ules=userrights
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: matthew.brit...@btinternet.com
                CC: bryan.tongm...@gmail.com, s...@reedyboy.net,
                    vasi...@gmail.com, soxre...@gmail.com


Using action=paraminfo on the userrights module:

http://en.wikipedia.org/w/api.php?action=paraminfo&modules=userrights

gives the error "The user parameter must be set", as though action=userrights
had been called directly. The query works if a 'user' parameter is given -- any
user, so long as they exist:

http://en.wikipedia.org/w/api.php?action=paraminfo&modules=userrights&user=User

However, the output of paraminfo is not dependent on this parameter, so it
should not be a requirement. No other modules seem to exhibit this behavior;
for example

http://en.wikipedia.org/w/api.php?action=paraminfo&modules=edit

works correctly, even though the edit module has required parameters.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to