mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-15 03:35:20 +00:00
Make results cacheable
Change-Id: Ibae883e2bf76d0dc0b6d99d3fbfa5e34050a6789
This commit is contained in:
parent
522836886f
commit
9f2accbcce
|
@ -78,6 +78,10 @@ class ApiQueryExtracts extends ApiQueryBase {
|
|||
wfProfileOut( __METHOD__ );
|
||||
}
|
||||
|
||||
public function getCacheMode( $params ) {
|
||||
return 'public';
|
||||
}
|
||||
|
||||
/**
|
||||
* OpenSearchXml hook handler
|
||||
* @param array $results
|
||||
|
|
Loading…
Reference in a new issue