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

       Web browser: ---
             Bug #: 40869
           Summary: API has 2 methods of setting cache mode
           Product: MediaWiki
           Version: unspecified
          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]
    Classification: Unclassified
   Mobile Platform: ---


The api seem to have both:

$this->getMain()->setCacheMode( 'anon-public-user-private' );

and also

    public function getCacheMode( $params ) {
        return 'anon-public-user-private';
    }

I don't really see any need why we need both (though, if someone has a
compelling enough reason, this can be WONTFIX'd or something)

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