Menu

Heavily modifying phpwiki

Anonymous
2003-01-11
2012-10-11
  • Anonymous

    Anonymous - 2003-01-11

    I am interested in making some quite big modifications to phpwiki to suite my Star Trek needs. From the beginning I tried isolating and extracting the functions to convert markup to html, but found that it wasn't a simple question of a convert-function. I've also had a whack at customizing WikkiTikkiTavi but found that it wasn't as mature as phpwiki.

    What I want to do:
    *Remove the interwiki functionality.
    *Allow only free form links (i.e WikiLink is not a link, but [WikiLink] is
    *Have _predefined_ categories into which each page can fit, and one generic one. The possibility to move generic pages into a specified category if I need.
    *For each category have certain properties, which are set separate from the wiki-text. (stuff like first_name, last_name, race, stardate etc etc etc)
    *Be able to have the same label/name for several wiki-pages, as long as they are not in the same category (no, I don't want several wiki's linked together, I want one).
    *Be able to comment on pages, and have a gerneral discussion (the discussion I could of course just write myself, as it has nothing to do with the wiki).

    Has anyone tried making any of these changes? Are they at all possible (yes, but how possible)? Will it take less time to write everything from the ground up than re-write phpwiki?

    Any insights are helpful. And yes, the result will certainly be available as free software under the GNU GPL.

     
    • Gold

      Gold - 2003-04-03

      I've been hunting through the code for a similar sort of thing as you have described (sans categories) and you're right, there doesn't seem to be a simple "convertThis()" function.

      If I figure it out though I'll let you know...

       
    • Anonymous

      Anonymous - 2003-05-08

      Sounds like you need a Plugin. =)

      And your other Question:
      navi% grep -r "function Transform" *
      BlockParser.php:function TransformText ($text, $markup = 2.0, $basepage=false)

      Check out lib/BlockParser.php if you would like to to give wiki markup and get html.

       

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.