User "Catrope" posted a comment on MediaWiki.r78824.

Full URL: 
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/78824#c19968
Commit summary:

(bug 14869) Add API module for accessing QueryPage-based special pages. Took 
2.5 years and a flight to England to get this done, but there you go :)

Comment:

<pre>
        function doQuery( $offset = false, $limit = false ) {
                if ( $this->isCached() && $this->isCacheable() ) {
                        return $this->fetchFromCache( $limit, $offset );
                } else {
                        return $this->reallyDoQuery( $limit, $offset );
                }
        }
</pre>
So it does hit the cache properly.

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to