Lines Matching defs:rev
66 * $data[3] rev: The page revision, false for current wiki pages.
70 * @param bool|int|string $rev revision timestamp
75 function io_readWikiPage($file, $id, $rev = false)
77 if (empty($rev)) {
78 $rev = false;
80 $data = [[$file, true], getNS($id), noNS($id), $rev];
198 * $data[3] rev: The page revision, false for current wiki pages.
203 * @param int|bool|string $rev timestamp of revision
208 function io_writeWikiPage($file, $content, $id, $rev = false)
210 if (empty($rev)) {
211 $rev = false;
213 if ($rev === false) {
216 $data = [[$file, $content, false], getNS($id), noNS($id), $rev];