Menu

Directories, Section Links, Users as Admins?

Help
2005-12-06
2012-10-11
  • Keith R. Bennett

    All -

    I just started using PHPWiki, and am fairly new to wikis in general. I
    have some questions:

    1) Must all Wiki pages be stored in a single directory? Or is there a
    way to specify subdirectories for some pages so the size of the main
    directory doesn't get out of hand?

    2) Is it possible to create a link in a page to another section in that
    same page? If so, how? (For example, "To see how X is done, see
    [blah | link_to_another_section_in_the_same_page]."

    3) How can I make myself (my wikiname user) an administrator? Or is there
    only one adminstrator, the one whose id is specified in the config.ini
    file? I can't seem to log in to perform admin functions as my wikiname.

    Thanks for any help.

    • Keith Bennett
     
    • Joel Uckelman

      Joel Uckelman - 2005-12-07
      1. Do you mean in a single directory URL-wise, or storage-wise? The pages are stored as individual files only if you use the flatfile db backend. Usually you're better off using either the dba or one of the SQL backends.

      2. Yes. Look under the References heading on the TextFormattingRules page in your wiki.

      3. The admin is the one specified in the config.

       
      • Keith R. Bennett

        Joel -

        Thanks for responding.

        I set it up my wiki to use flat files so I could learn how the files are named, organized, and formatted, and to more easily effect backups. However, my backup assumption may be incorrect; is the backup zip file format identical, regardless of the data base on the back end? If so, then I'd feel better about using a data base I'm not so familiar with.

        By the way, am I correct in my observation that the zip file created by PhpWikiAdministration only contains the data/page_data directory?

        Thanks,
        Keith

         
    • Joel Uckelman

      Joel Uckelman - 2005-12-08

      What you get in a backup zip or a wiki dump does not depend on the backend you use. (That makes a wiki dump followed by a reload an easy way to switch backends, BTW.)

      I'm not sure about your second question; I haven't looked at the flatfile backend in a long time. What else is there in your data dir?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.