プロジェクト

全般

プロフィール

Vote #65008

完了

set parent automatically for new pages

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
開始日:
2009/04/02
期日:
進捗率:

0%

予定工数:
category_id:
1
version_id:
40
issue_org_id:
3108
author_id:
3393
assigned_to_id:
1
comments:
10
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

There is a regular way to create new wiki pages is by adding a link to non-existing page and than click this link. As for now after saving new page the parent field is empty.
It will be great if parent page will be the previous one (the page that we come from) by default.


journals

Vlad Ershov wrote:
> [...] As for now after saving new page the parent field is empty.
>
> It will be great if parent page will be the previous one (the page that we come from) by default.

This seems a great option to me, though I don't think it should be the default option. I rather would like it to be implemented as another option along the "Submit" and "Preview" control-elements. Like the implementation of the "Create" and "Create and continue" controls when creating new issues...
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I agree with Mischa, making it the default option can cause a user to create a deep wiki without them knowing. For example:

<pre>
homepage
|_ Page one
|_ Page two
|_ Page three
</pre>
--------------------------------------------------------------------------------
See attached file for a proposal. But maybe it would be better to let administrators at project level decide if parent page is set automatically or not by default. Or even decide that parent page is set automatically "below X levels" in the hierarchy.. Any thought about this ?
--------------------------------------------------------------------------------
Tiny update:
* button visible only parent parameter can be set
* better place for @page modification
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Third version with some functional tests and a bug fixed (buggued preview with the previous one). Maybe I will find other bugs in the next days, let me know if you find some...
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1 for that feature
I agree with Mischa
--------------------------------------------------------------------------------
Feature added in r8255. I added a checkbox instead of a new submit button, so this can be changed later to a regular field for parent page selection (#6449).

Just check the check box when creating the page:

!parent_page.png!
--------------------------------------------------------------------------------


related_issues

relates,Closed,6449,Edit a wiki page's parent on the edit page
duplicates,Closed,6654,Make new wiki page as a child to page from whitch it was created by link

Admin Redmine さんが3年以上前に更新

  • カテゴリWiki_1 にセット
  • 対象バージョン1.4.0_40 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0