Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Reorganize articles on editing topics.

Damian Parrinocaea7f167d26
diff --git a/templates/zerver/help/change-the-topic-of-a-message.md b/templates/zerver/help/change-the-topic-of-a-message.md
deleted file mode 100644
index 46ff0d96779..00000000000
--- a/templates/zerver/help/change-the-topic-of-a-message.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# Change the topic of a message
-
-By default, any user can change the topic of any message. This is useful for
-keeping messages organized even if some users are still learning how to use
-topics effectively.
-
-Organization administrators can
-[configure who can edit topics](/help/configure-who-can-edit-topics), or turn off
-message editing entirely. See the
-[guide to message and topic editing](/help/configure-message-editing-and-deletion)
-for the details on when topic editing is allowed.
-
-### Change the topic of a message
-
-{start_tabs}
-
-{!message-actions-menu.md!}
-
-1. Select the first option. It may be called **View source / Edit topic**,
- or simply **Edit**. If it's called **View source**, then you are not
- allowed to edit the topic of that message.
-
-2. Edit the topic.
-
-3. A dropdown with three options will appear to the right:
-**Change only this message topic**, **Change later messages to this topic**, and
-**Change previous and following messages to this topic**. Pick the appropriate
-option.
-
-4. Click **Save**.
-
-{end_tabs}
diff --git a/templates/zerver/help/edit-or-delete-a-message.md b/templates/zerver/help/edit-or-delete-a-message.md
index 7ee1a501e65..8dd18e86f33 100644
--- a/templates/zerver/help/edit-or-delete-a-message.md
+++ b/templates/zerver/help/edit-or-delete-a-message.md
@@ -2,7 +2,7 @@
!!! warn ""
**Note:** Editing message topic is discussed in a
- [separate guide](/help/change-the-topic-of-a-message).
+ [separate guide](/help/rename-a-topic).
By default, Zulip allows you to edit the content of your messages within 10
minutes of when you send them. Organization administrators can
@@ -34,7 +34,7 @@ If you don't see the pencil (<i class="fa fa-pencil"></i>) icon, the message con
can no longer be edited. You should see a file (<i class="fa fa-file-code-o"></i>)
icon instead. Clicking the file icon will allow you to view the
[Markdown source](/help/view-the-markdown-source-of-a-message) of the message, or
-[edit the topic](/help/change-the-topic-of-a-message).
+[edit the topic](/help/rename-a-topic).
## Delete a message
diff --git a/templates/zerver/help/include/sidebar_index.md b/templates/zerver/help/include/sidebar_index.md
index aff5cc2cec4..ebea59b0a93 100644
--- a/templates/zerver/help/include/sidebar_index.md
+++ b/templates/zerver/help/include/sidebar_index.md
@@ -69,7 +69,6 @@
* [Change the color of a stream](/help/change-the-color-of-a-stream)
* [Message a stream by email](/help/message-a-stream-by-email)
* [Start a new topic](/help/start-a-new-topic)
-* [Change the topic of a message](/help/change-the-topic-of-a-message)
* [Rename a topic](/help/rename-a-topic)
* [Resolve a topic](/help/resolve-a-topic)
* [Manage inactive streams](/help/manage-inactive-streams)
@@ -162,6 +161,7 @@
## Stream management
* [Stream permissions](/help/stream-permissions)
+* [Move content to another stream](/help/move-content-to-another-stream)
* [Delete or archive a stream](/help/archive-a-stream)
* [Delete a topic](/help/delete-a-topic)
* [Set default streams for new users](/help/set-default-streams-for-new-users)
diff --git a/templates/zerver/help/move-content-to-another-stream.md b/templates/zerver/help/move-content-to-another-stream.md
new file mode 100644
index 00000000000..a6398ed9ce1
--- /dev/null
+++ b/templates/zerver/help/move-content-to-another-stream.md
@@ -0,0 +1,80 @@
+# Move content to another stream
+
+Organization administrators can move topics from one
+stream to another, or move a subset of messages to a topic from one
+stream to another.
+
+Organization administrators can
+[configure who can edit topics](/help/configure-who-can-edit-topics), or turn off
+message editing entirely. See the
+[guide to message and topic editing](/help/configure-message-editing-and-deletion)
+for the details on when topic editing is allowed.
+
+## Move a topic to another stream
+
+Organizations can configure which roles have permission to [move
+topics between streams][move-permission-setting].
+
+To move a topic, you must have access to both the source and
+destination streams.
+
+{start_tabs}
+
+{!stream-actions.md!}
+
+1. Select **Move topic**.
+
+1. Select the destination stream for the topic from the streams dropdown list.
+
+1. (Optional) Change the topic.
+
+1. Select whether you want automated notification messages to be sent
+ to the old location for the topic, new location for the topic, or both.
+
+1. Click **Move topic**.
+
+
+!!! warn ""
+ **Note**: When a topic is moved to a private stream with protected history,
+ messages in the topic will be visible to all the subscribers.
+
+
+{end_tabs}
+
+## Move message(s) in a topic to another stream
+
+Organizations can configure which roles have permission to [move
+topics between streams][move-permission-setting].
+
+Roles that have permission can also move only a subset of messages
+from a topic to another stream.
+
+{start_tabs}
+
+{!message-actions-menu.md!}
+
+1. Select the first option. It may be called **View source / Edit topic**,
+ or simply **Edit**. If it's called **View source**, then you are not
+ allowed to edit the stream of that message.
+
+1. Select the destination stream for the message from the streams dropdown list.
+
+1. (Optional) Change the topic.
+
+1. A dropdown with three options will appear to the right:
+**Change only this message topic**, **Change later messages to this topic**, and
+**Change previous and following messages to this topic**. Pick the appropriate
+option.
+
+1. Select whether you want automated notification messages to be sent
+ to the old location for the topic, new location for the topic, or both.
+
+1. Click **Save**.
+
+
+!!! warn ""
+ **Note**: You cannot edit content of a message while changing its stream.
+
+{end_tabs}
+
+[move-permission-setting]: /help/configure-message-editing-and-deletion#configure-who-can-move-topics-between-streams
diff --git a/templates/zerver/help/rename-a-topic.md b/templates/zerver/help/rename-a-topic.md
index e6bbb30d89a..dda509954c7 100644
--- a/templates/zerver/help/rename-a-topic.md
+++ b/templates/zerver/help/rename-a-topic.md
@@ -1,13 +1,19 @@
# Rename a topic
-By default, any user can rename any topic within a stream, and
-organization administrators can additionally move topics from one
-stream to another, or move a subset of messages to a topic from one
-stream to another.
-
-Organization administrators can
-[configure who can edit topics](/help/configure-who-can-edit-topics), or turn off
-message editing entirely. See the
+By default, any user can rename any topic within a stream, and change the
+topic of any message. This is useful for keeping messages organized even
+if some users are still learning how to use topics effectively.
+
+Organization administrators can additionally
+[move topics](/help/move-content-to-another-stream#move-a-topic-to-another-stream)
+from one stream to another, or
+[move a subset of messages](/help/move-content-to-another-stream#move-messages-in-a-topic-to-another-stream)
+to a topic from one stream to another.
+
+Organization administrators can also
+[configure who can edit topics](/help/configure-who-can-edit-topics),
+[move topics](/help/configure-message-editing-and-deletion#configure-who-can-move-topics-between-streams),
+or turn off message editing entirely. See the
[guide to message and topic editing](/help/configure-message-editing-and-deletion)
for the details on when topic editing is allowed.
@@ -23,80 +29,13 @@ for the details on when topic editing is allowed.
1. Edit the topic.
-1. Pick **Change previous and following messages to this topic** from the
- dropdown to the right.
-
-1. Click **Save**.
-
-{end_tabs}
-
-<br />
-
-## Move a topic to another stream
-
-Organizations can configure which roles have permission to [move
-topics between streams][move-permission-setting].
-
-To move a topic, you must have access to both the source and
-destination streams.
-
-{start_tabs}
-
-{!stream-actions.md!}
-
-1. Select **Move topic**.
-
-1. Select the destination stream for the topic from the streams dropdown list.
-
-1. (Optional) Change the topic.
-
-1. Select whether you want automated notification messages to be sent
- to the old location for the topic, new location for the topic, or both.
-
-1. Click **Move topic**.
-
-
-!!! warn ""
- **Note**: When a topic is moved to a private stream with protected history,
- messages in the topic will be visible to all the subscribers.
-
-
-{end_tabs}
-
-## Move message(s) in a topic to another stream
-
-Organizations can configure which roles have permission to [move
-topics between streams][move-permission-setting].
-
-Roles that have permission can also move only a subset of messages
-from a topic to another stream.
-
-{start_tabs}
-
-{!message-actions-menu.md!}
-
-1. Select the first option. It may be called **View source / Edit topic**,
- or simply **Edit**. If it's called **View source**, then you are not
- allowed to edit the stream of that message.
-
-1. Select the destination stream for the message from the streams dropdown list.
-
-1. (Optional) Change the topic.
-
1. A dropdown with three options will appear to the right:
**Change only this message topic**, **Change later messages to this topic**, and
**Change previous and following messages to this topic**. Pick the appropriate
option.
-1. Select whether you want automated notification messages to be sent
- to the old location for the topic, new location for the topic, or both.
-
1. Click **Save**.
-
-!!! warn ""
- **Note**: You cannot edit content of a message while changing its stream.
-
{end_tabs}
[move-permission-setting]: /help/configure-message-editing-and-deletion#configure-who-can-move-topics-between-streams
diff --git a/templates/zerver/help/start-a-new-topic.md b/templates/zerver/help/start-a-new-topic.md
index ffe36b8636c..f6210e875b8 100644
--- a/templates/zerver/help/start-a-new-topic.md
+++ b/templates/zerver/help/start-a-new-topic.md
@@ -25,8 +25,6 @@ yourself wanting topics in a PM, we recommend
## Related articles
-* [Change the topic of a message](/help/change-the-topic-of-a-message)
-
* [Rename a topic](/help/rename-a-topic)
* [Require topics](/help/require-topics) for all stream messages
diff --git a/zerver/lib/test_helpers.py b/zerver/lib/test_helpers.py
index a8a652156eb..2bc06eff7f2 100644
--- a/zerver/lib/test_helpers.py
+++ b/zerver/lib/test_helpers.py
@@ -443,6 +443,7 @@ def write_instrumentation_reports(full_suite: bool, include_webhooks: bool) -> N
"confirmation_key/",
"node-coverage/(?P<path>.+)",
"docs/(?P<path>.+)",
+ "help/change-the-topic-of-a-message",
"help/configure-missed-message-emails",
"help/community-topic-edits",
"help/delete-a-stream",
diff --git a/zproject/urls.py b/zproject/urls.py
index 3498dc91e7c..b4553832b1d 100644
--- a/zproject/urls.py
+++ b/zproject/urls.py
@@ -754,6 +754,10 @@ urls += [
"help/delete-a-stream", RedirectView.as_view(url="/help/archive-a-stream", permanent=True)
),
path("api/delete-stream", RedirectView.as_view(url="/api/archive-stream", permanent=True)),
+ path(
+ "help/change-the-topic-of-a-message",
+ RedirectView.as_view(url="/help/rename-a-topic", permanent=True),
+ ),
path(
"help/configure-missed-message-emails",
RedirectView.as_view(url="/help/configure-message-notification-emails", permanent=True),