3 orders pages by count of links they have
6 echo ewiki_make_title($id, $id, 2);
10 $result = ewiki_db::GETALL(array("refs"));
11 while ($r = $result->get(0, 0x0137, EWIKI_DB_F_TEXT)) {
12 $list[$r["id"]] = count(explode("\n", trim($r["refs"])));
16 if (isset($_REQUEST["desc"])) {
23 foreach ($list as $id=>$num) {
24 $r[] = array($id, "", "", "($num)");
29 echo ewiki_list_pages($r, 0);