Return-Path: X-Original-To: apmail-jspwiki-dev-archive@www.apache.org Delivered-To: apmail-jspwiki-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58C9C11FAA for ; Thu, 11 Sep 2014 02:49:35 +0000 (UTC) Received: (qmail 8953 invoked by uid 500); 11 Sep 2014 02:49:35 -0000 Delivered-To: apmail-jspwiki-dev-archive@jspwiki.apache.org Received: (qmail 8892 invoked by uid 500); 11 Sep 2014 02:49:35 -0000 Mailing-List: contact dev-help@jspwiki.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jspwiki.apache.org Delivered-To: mailing list dev@jspwiki.apache.org Received: (qmail 8702 invoked by uid 99); 11 Sep 2014 02:49:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 02:49:34 +0000 Date: Thu, 11 Sep 2014 02:49:34 +0000 (UTC) From: "David Vittor (JIRA)" To: dev@jspwiki.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JSPWIKI-865) Provide the source page on the Edit.jsp link MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JSPWIKI-865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129545#comment-14129545 ] David Vittor commented on JSPWIKI-865: -------------------------------------- Hi Harry, thanks for responding. I guess maybe the URL is not the best way to pass this information. But my understanding is that every page has a "source/parent" page, and I'm trying to work out a way to capture that information. How about creating a page attribute called "source/parent", which will store the context that the page created from, within the new page. Hmm - now that I think more about this, as pages are renamed, and links are removed or moved around, maintaining this might be an issue. However intuitively I feel like every page came from another page, and so somehow that should be preserved. > Provide the source page on the Edit.jsp link > -------------------------------------------- > > Key: JSPWIKI-865 > URL: https://issues.apache.org/jira/browse/JSPWIKI-865 > Project: JSPWiki > Issue Type: Wish > Components: Core & storage > Reporter: David Vittor > > When a new page is linked to from an existing page, e.g. [NewPage] > The code creates a link like this: > * https://jspwiki-wiki.apache.org/Edit.jsp?page=NewPage > I think it might be a good idea to include the original source page, like: > * https://jspwiki-wiki.apache.org/Edit.jsp?page=NewPage&src=CurrentPage > Maybe these should be POST requests, but I think we should maybe go incrementally. > I think it would be great for creating / storing the heirarchy of pages. > Any thoughts? -- This message was sent by Atlassian JIRA (v6.3.4#6332)