Lines Matching defs:result
24 $result = [
39 $result['type'] = 'preview';
41 $result['type'] = 'standard';
42 $result['pageid'] = $id;
43 $result['lang'] = $conf['lang'];
46 $result['title'] = $meta['title'];
52 $result['content_urls'] = [
64 $result['content_urls'] = [
72 $result['extract'] = $parts[2];
73 $result['extract_html'] = '<p>'.$parts[2].'</p>';
76 $result['extract'] = 'Error: page does not exist.';
77 $result['extract_html'] = '<p><strong>' . $result['extract'] . '</strong></p>';
79 // $result['conf'] = $conf; /* WARNING: this may expose your configuration to the Internet. Use only for debugging! */
80 // $result['meta'] = $meta; /* uncomment if you need additional meta information */
83 /* output the result: */
84 echo json_encode($result)