Bug ID: 61841
           Summary: Re-examine API module permissions (isAllowed,
                    isBlocked) checks
           Product: MediaWiki
           Version: 1.23-git
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: API
       Web browser: ---
   Mobile Platform: ---,unified
seems to have a bad code smell to me. Do we really require every API module to
define "isAllowed" and "isBlocked"? That seems like a flawed architectural
design to me, if so. When being extended, it seems to me that the base
MediaWiki API should be able to handle these checks implicitly, to avoid
situations like this.

Or, alternately, perhaps we need to fail faster when these checks are missing.

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

Reply via email to