6 * \defgroup Wiki Wiki; Functions pertaining to rooms with a wiki view
16 * \brief Convert a string to something suitable as a wiki index
18 * \param s The string to be converted.
20 void str_wiki_index(char *s)
24 if (s == NULL) return;
26 /* First remove all non-alphanumeric characters */
27 for (i=0; i<strlen(s); ++i) {
29 strcpy(&s[i], &s[i+1]);
33 /* Then make everything lower case */
34 for (i=0; i<strlen(s); ++i) {
40 * \brief Display a specific page from a wiki room
42 * \param roomname The name of the room containing the wiki
43 * \param pagename The index of the page being requested
45 void display_wiki_page(char *roomname, char *pagename)
47 output_headers(1, 1, 1, 0, 0, 0);
49 wprintf("roomname=%s<br>pagename=%s<br>\n", roomname, pagename);