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

Gurch <matthew.brit...@btinternet.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|API: paraminfo error with   |API: paraminfo errors
                   |userrights module           |
           Severity|minor                       |normal

--- Comment #1 from Gurch <matthew.brit...@btinternet.com> 2010-09-22 16:03:43 
UTC ---
Actually, turns out it's a bit more broken.

In trunk, the equivalent for rollback also gives the error "The title parameter
must be set". On WMF sites it works:

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

This may be related to the recent changes to "required" parameter validation in
the API.

Also in trunk, *all* querymodules (e.g. action=paraminfo&querymodules=allpages)
cause paraminfo to fail, with an error like this one:

Catchable fatal error: Argument 1 passed to ApiQueryBase::__construct() must be
an instance of ApiQuery, instance of ApiParamInfo given, called in
...\includes\api\ApiQueryBase.php on line 467 and defined in
...\includes\api\ApiQueryBase.php on line 43

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