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

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|MediaWiki API's patrol      |API help docs should set
                   |module's documentation      |"token" to param-required
                   |doesn't indicate that token |for modules that use
                   |parameter is required       |"token" and have
                   |                            |needsToken(),
                   |                            |getTokenSalt() etc. set

--- Comment #1 from Krinkle <[email protected]> 2012-07-05 08:09:03 UTC ---
None of the API modules that use the built-in method for token handling are
have their "token" parameter documented as "This parameter is required".

The built-in (and recommended) method is:
- getTokenSalt(): string
- needsToken(): true

e.g. ApiBlock, ApiDelete, ApiEdit, ApiPatrol.

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