From: Niklas Laxström Date: Wed, 22 Dec 2010 15:22:59 +0000 (+0000) Subject: Few @since annotations X-Git-Tag: 1.31.0-rc.0~33191 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=5becbb47b4fd0c72174db930fd735e5a681357ba;p=lhc%2Fweb%2Fwiklou.git Few @since annotations --- diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 6aba8845b9..f8db54c1b6 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -159,6 +159,7 @@ abstract class QueryPage extends SpecialPage { * or TS_UNIX (querycache) format, so be sure to always run them * through wfTimestamp() * @return bool + * @since 1.18 */ function usesTimestamps() { return false; @@ -190,6 +191,7 @@ abstract class QueryPage extends SpecialPage { * will be disabled in miser mode and will not have their results written * to the querycache table. * @return Boolean + * @since 1.18 */ public function isCacheable() { return true; @@ -332,6 +334,7 @@ abstract class QueryPage extends SpecialPage { * @param $limit mixed Numerical limit or false for no limit * @param $offset mixed Numerical offset or false for no offset * @return ResultWrapper + * @since 1.18 */ function reallyDoQuery( $limit, $offset = false ) { $fname = get_class( $this ) . "::reallyDoQuery"; @@ -372,6 +375,9 @@ abstract class QueryPage extends SpecialPage { return $dbr->resultObject( $res ); } + /** + * Parameters and order changed in 1.18 + */ function doQuery( $limit, $offset = false ) { if ( $this->isCached() && $this->isCacheable() ) { return $this->fetchFromCache( $limit, $offset ); @@ -385,6 +391,7 @@ abstract class QueryPage extends SpecialPage { * @param $limit mixed Numerical limit or false for no limit * @param $offset mixed Numerical offset or false for no offset * @return ResultWrapper + * @since 1.18 */ function fetchFromCache( $limit, $offset = false ) { $dbr = wfGetDB( DB_SLAVE );