プロジェクト

全般

プロフィール

Vote #68132

未完了

Make Wiki Redirects editable

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
-
開始日:
2010/09/15
期日:
進捗率:

0%

予定工数:
category_id:
1
version_id:
0
issue_org_id:
6401
author_id:
10140
assigned_to_id:
0
comments:
15
status_id:
1
tracker_id:
2
plus1:
13
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Wiki redirects need to be editable:

  • Unredirect a page (and change back links to that page)
  • Redirect to an existing page (e.g. for synonyms)

Currently, if there is page A and it's renamed to page B with "Redirect existing links" selected, a new page A cannot be created.

I think it would be better if redirects are defined in a page's content (similar to how it works on Wikipedia). That way many different pages can redirect to one target page, and if a redirecting page later needs to hold content, it can be easily edited.


journals

+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
FYI, a workaround without going to the database:

SCENARIO:
# Originally named page "Page A"
# Later renamed page "Page B" with the "redirects" option checked.
# Later, we want to create a separate page for "Page A"

WORKAROUND:
# Rename "Page B" to "Page A" with the "redirects" option checked.
# Rename "Page A" to "Page B" with the "redirects" option NOT checked.

--------------------------------------------------------------------------------
Joshua Masek wrote:
> FYI, a workaround without going to the database:
>
> SCENARIO:
> # Originally named page "Page A"
> # Later renamed page "Page B" with the "redirects" option checked.
> # Later, we want to create a separate page for "Page A"
>
> WORKAROUND:
> # Rename "Page B" to "Page A" with the "redirects" option checked.
> # Rename "Page A" to "Page B" with the "redirects" option NOT checked.

Great information, appreciated very much!

+1 for this feature
--------------------------------------------------------------------------------
+1!

That workaround still works on Redmine 1.4.4. Thanks!
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1

That workaround still works on Redmine 2.4.2.stable. Many Thanks!
--------------------------------------------------------------------------------
+1

For the curious with database access the example below queries and lists existing redirects:

<pre>
$ mysql -u redmine_default -p redmine_default -e "select * from wiki_redirects;"
Enter password:
+----+---------+-----------------------------------+---------------------------------------+---------------------+----------------------+
| id | wiki_id | title | redirects_to | created_on | redirects_to_wiki_id |
+----+---------+-----------------------------------+---------------------------------------+---------------------+----------------------+
| 1 | 113 | Wiki | Learning_JavaScript_MVC_and_AngularJS | 2016-06-29 01:23:40 | 113 |
...
+----+---------+-----------------------------------+---------------------------------------+---------------------+----------------------+
</pre>

Beware if changing anything that it will probably also affect the relationship between data in the tables wiki_contents, wiki_pages and wiki_redirects.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1

Joshua Masek wrote:
> FYI, a workaround without going to the database:

Thanks a lot, great help.
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリWiki_1 にセット

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

いいね!0
いいね!0