From 505a591179d424a030ef8970f25f4fe70df6ec4a Mon Sep 17 00:00:00 2001 From: David Rosa Date: Mon, 20 Nov 2023 18:58:58 -0800 Subject: [PATCH] help: Rename view-and-browse-images.md -> view-images-and-videos.md - Updates filename and adds URL redirect. - Crosslinks related articles. --- help/allow-image-link-previews.md | 6 ++++++ help/include/sidebar_index.md | 2 +- help/manage-your-uploaded-files.md | 3 ++- help/search-for-messages.md | 2 +- help/share-and-upload-files.md | 5 +++-- ...{view-and-browse-images.md => view-images-and-videos.md} | 1 + zerver/lib/url_redirects.py | 1 + 7 files changed, 15 insertions(+), 5 deletions(-) rename help/{view-and-browse-images.md => view-images-and-videos.md} (96%) diff --git a/help/allow-image-link-previews.md b/help/allow-image-link-previews.md index 2f0ae45284..631b1dfbd1 100644 --- a/help/allow-image-link-previews.md +++ b/help/allow-image-link-previews.md @@ -22,3 +22,9 @@ prevent images from being used to track Zulip users. {!save-changes.md!} {end_tabs} + +## Related articles + +* [Manage your uploaded files](/help/manage-your-uploaded-files) +* [Share and upload files](/help/share-and-upload-files) +* [View images and videos](/help/view-images-and-videos) diff --git a/help/include/sidebar_index.md b/help/include/sidebar_index.md index 665007e55d..6067527e6d 100644 --- a/help/include/sidebar_index.md +++ b/help/include/sidebar_index.md @@ -104,7 +104,7 @@ * [Emoji reactions](/help/emoji-reactions) * [View your mentions](/help/view-your-mentions) * [Star a message](/help/star-a-message) -* [View images and videos](/help/view-and-browse-images) +* [View images and videos](/help/view-images-and-videos) * [View messages sent by a user](/help/view-messages-sent-by-a-user) * [Link to a message or conversation](/help/link-to-a-message-or-conversation) * [Searching for messages](/help/search-for-messages) diff --git a/help/manage-your-uploaded-files.md b/help/manage-your-uploaded-files.md index 25c07bf062..324a92f87d 100644 --- a/help/manage-your-uploaded-files.md +++ b/help/manage-your-uploaded-files.md @@ -63,4 +63,5 @@ You can sort your uploaded files by name, upload date, message ID, and size. ## Related articles * [Share and upload files](/help/share-and-upload-files) -* [View images and videos](/help/view-and-browse-images) +* [View images and videos](/help/view-images-and-videos) +* [Block image and link previews](/help/allow-image-link-previews) diff --git a/help/search-for-messages.md b/help/search-for-messages.md index 0ea3b52299..4cac89bfd4 100644 --- a/help/search-for-messages.md +++ b/help/search-for-messages.md @@ -82,7 +82,7 @@ Zulip offers the following filters based on the location of the message. !!! tip "" You can also [view](/help/manage-your-uploaded-files) all the files you - have uploaded or [browse](/help/view-and-browse-images) all the images and + have uploaded or [browse](/help/view-images-and-videos) all the images and videos in the current view. ### Search your important messages diff --git a/help/share-and-upload-files.md b/help/share-and-upload-files.md index 73ba177fb7..db210f99dc 100644 --- a/help/share-and-upload-files.md +++ b/help/share-and-upload-files.md @@ -6,7 +6,7 @@ after you upload them. For images and videos, a small preview will be shown directly in the message. People reading the message can click on the preview to -[view the full-size image or video](/help/view-and-browse-images). +[view the full-size image or video](/help/view-images-and-videos). ## Uploading files @@ -125,5 +125,6 @@ This limit can be changed by the server administrator. ## Related articles * [Manage your uploaded files](/help/manage-your-uploaded-files) -* [View images and videos](/help/view-and-browse-images) +* [View images and videos](/help/view-images-and-videos) +* [Block image and link previews](/help/allow-image-link-previews) * [Animated GIFs](/help/animated-gifs-from-giphy) diff --git a/help/view-and-browse-images.md b/help/view-images-and-videos.md similarity index 96% rename from help/view-and-browse-images.md rename to help/view-images-and-videos.md index f5322eabc0..9f79b226da 100644 --- a/help/view-and-browse-images.md +++ b/help/view-images-and-videos.md @@ -68,3 +68,4 @@ the image browser will show all images in messages that matched that search. * [Manage your uploaded files](/help/manage-your-uploaded-files) * [Share and upload files](/help/share-and-upload-files) +* [Block image and link previews](/help/allow-image-link-previews) diff --git a/zerver/lib/url_redirects.py b/zerver/lib/url_redirects.py index 3bf33104cd..80a97e3554 100644 --- a/zerver/lib/url_redirects.py +++ b/zerver/lib/url_redirects.py @@ -80,6 +80,7 @@ HELP_DOCUMENTATION_REDIRECTS: List[URLRedirect] = [ URLRedirect("/help/configure-default-view", "/help/configure-home-view"), URLRedirect("/help/reading-topics", "/help/reading-conversations"), URLRedirect("/help/finding-a-topic-to-read", "/help/finding-a-conversation-to-read"), + URLRedirect("/help/view-and-browse-images", "/help/view-images-and-videos"), ] LANDING_PAGE_REDIRECTS = [