checkWikiPageTemplatePerms($name, $source); if ($info) { $source = $info['data']; } } protected function fetchTimestamp($name) { global $tikilib; $info = $tikilib->get_page_info($name); if (empty($info)) { return false; } if ( preg_match('/\{([A-z-Z0-9_]+) */', $info['data']) || preg_match('/\{\{.+\}\}/', $info['data']) ) { // there are some plugins - so it can be risky to cache the page return $tikilib->now; } return $info['lastModif']; } }