diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-07-28 10:05:59 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-07-28 10:05:59 +0200 |
commit | 00ab76a6b686e98a914afc1975812d2b1aaa7016 (patch) | |
tree | 0509bcf2b8a30056833a289e3717b55bdb189835 /includes/api/ApiOpenSearch.php | |
parent | a5be612e4169e11b51647cbaa2abc976de00d671 (diff) |
update to MediaWiki 1.15.5
Diffstat (limited to 'includes/api/ApiOpenSearch.php')
-rw-r--r-- | includes/api/ApiOpenSearch.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index 8fc1f32b..d2e6ea21 100644 --- a/includes/api/ApiOpenSearch.php +++ b/includes/api/ApiOpenSearch.php @@ -53,6 +53,7 @@ class ApiOpenSearch extends ApiBase { // Open search results may be stored for a very long time $this->getMain()->setCacheMaxAge(1200); + $this->getMain()->setCacheMode( 'public' ); $srchres = PrefixSearch::titleSearch( $search, $limit, $namespaces ); @@ -101,6 +102,6 @@ class ApiOpenSearch extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiOpenSearch.php 47188 2009-02-12 17:27:05Z catrope $'; + return __CLASS__ . ': $Id: ApiOpenSearch.php 69986 2010-07-27 03:57:39Z tstarling $'; } } |