/**
* Build and output the actual changes list.
*
- * @param array $rows Database rows
+ * @param ResultWrapper $rows Database rows
* @param FormOptions $opts
*/
public function outputChangesList( $rows, $opts ) {
return true;
}
- /**
- * How long to cache page when it is being included.
- *
- * @return int|bool Time in seconds, 0 to disable caching altogether
- */
- public function maxIncludeCacheTime() {
- global $wgMiserMode;
- if ( !$wgMiserMode ) {
- return 0;
- } else {
- return 60*5;
- }
+ protected function getCacheTTL() {
+ return 60 * 5;
}
}