#530 Structures to reference a page more than once

Wiki (114)

Currently a wiki page can only be reference once by
any/all structures. There is no reason why structures
couldnt be more flexible, allowing a page to be
referenced many times from within the same structure or
by multiple structures.

Before this is fixed however, it would be nice if Wiki
Pages were first modified to allow referencing by an ID
as apposed to their WikiName. Not sure if there is a
Bug/RFE already open for this?


  • Philippe Cloutier

    • priority: 5 --> 3
    • status: open --> open-accepted
  • Philippe Cloutier

    Logged In: YES

    I added this to WikiDev.

  • Chris Austin

    Chris Austin - 2003-10-28

    Logged In: YES

    I am working on this now.

  • Chris Austin

    Chris Austin - 2003-10-28
    • assigned_to: nobody --> caustin_ats
  • Chris Austin

    Chris Austin - 2003-11-04

    Logged In: YES

    I have commited this to CVS HEAD and will be in the next 1.8
    release candidate.

  • Chris Austin

    Chris Austin - 2003-11-04
    • status: open-accepted --> closed-accepted
  • Chris Holman

    Chris Holman - 2003-11-05

    Logged In: YES

    Had a look at your implementation, a good start, but its not
    quite what I had in mind. I would really like much stronger
    de-referencing, providing a more flexible solution.

    Firstly I would add an auto incrementing page_id to the
    tiki_pages table. Makes page renaming easier and improves
    performance of selects. Not sure how well this would work
    for upgrades i.e. would adding an auto increment field
    automatically populate itself? If not, how to fix?

    CREATE TABLE tiki_pages (
    page_id int(8) NOT NULL auto_increment,

    Secondly, I would update the tiki_structures table.

    CREATE TABLE tiki_structures (
    page_ref_id int(8) NOT NULL auto_increment,
    parent_id int(8) default NULL,
    page_id int(8) NOT NULL,
    page_alias varchar(240) NOT NULL default '',
    pos int(4) default NULL,
    PRIMARY KEY (page_ref_id)

    The page_ref_id is a unique identifier for all pages
    referenced by structures. The parent_id is a valid
    page_ref_id or NULL if it is the structures parent page.

    What do you think?


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks