summaryrefslogtreecommitdiff
path: root/includes/api/ApiQueryUserContributions.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-07-28 10:05:59 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-07-28 10:05:59 +0200
commit00ab76a6b686e98a914afc1975812d2b1aaa7016 (patch)
tree0509bcf2b8a30056833a289e3717b55bdb189835 /includes/api/ApiQueryUserContributions.php
parenta5be612e4169e11b51647cbaa2abc976de00d671 (diff)
update to MediaWiki 1.15.5
Diffstat (limited to 'includes/api/ApiQueryUserContributions.php')
-rw-r--r--includes/api/ApiQueryUserContributions.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/includes/api/ApiQueryUserContributions.php b/includes/api/ApiQueryUserContributions.php
index 24c73996..1c5cffa5 100644
--- a/includes/api/ApiQueryUserContributions.php
+++ b/includes/api/ApiQueryUserContributions.php
@@ -287,6 +287,12 @@ class ApiQueryContributions extends ApiQueryBase {
wfTimestamp(TS_ISO_8601, $row->rev_timestamp);
}
+ public function getCacheMode( $params ) {
+ // This module provides access to patrol flags if
+ // the requester is logged in
+ return 'anon-public-user-private';
+ }
+
public function getAllowedParams() {
return array (
'limit' => array (
@@ -370,6 +376,6 @@ class ApiQueryContributions extends ApiQueryBase {
}
public function getVersion() {
- return __CLASS__ . ': $Id: ApiQueryUserContributions.php 47037 2009-02-09 14:07:18Z catrope $';
+ return __CLASS__ . ': $Id: ApiQueryUserContributions.php 69986 2010-07-27 03:57:39Z tstarling $';
}
-} \ No newline at end of file
+}