# Contribute

**URL:** https://meta.discourse.org/c/contribute/208.md?page=137

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 138

---

## [上传视频文件失败，原因是 JS 错误](https://meta.discourse.org/t/uploading-of-video-file-fails-due-to-js-error/322363)

<div class="topic-metadata">

**Author:** [@dubwoc](https://meta.discourse.org/u/dubwoc)\
**回覆:** 18\
**Last updated:** [2024年八月24日 22:20 UTC](https://meta.discourse.org/t/uploading-of-video-file-fails-due-to-js-error/322363 "2024-08-24T22:20:38Z")

</div>

我知道 Discourse 通常不用于上传视频，但在此情况下，我遇到一个问题，希望有人能指引我如何解决。 某些上传的视频文件会无限期地卡在“上传中 100%”。用户唯一能做的就是刷新页面或关闭帖子。无论等待多久，无论文件大小如何。 很明显，有一些代码在进行某种形式的验证或检查，导致文件卡住。我对 Ruby On Rails / Discourse 开发不太熟悉，所以还没弄清楚文件在哪个环节卡住了。不过，我已经找到了一种绕过问题并成功…

---

## [关于电子邮件令牌有效小时数的法语翻译错误](https://meta.discourse.org/t/translation-mistake-in-french-for-email-token-valid-hours/323236)

<div class="topic-metadata">

**Author:** [@patrickemin](https://meta.discourse.org/u/patrickemin)\
**回覆:** 1\
**Last updated:** [2024年八月24日 22:12 UTC](https://meta.discourse.org/t/translation-mistake-in-french-for-email-token-valid-hours/323236 "2024-08-24T22:12:00Z")

</div>

您好，法语中“email token valid hours”的描述字段翻译错误，应为“Les jetons (tokens) de mot de passe oublié/activation de compte sont valides (n) heures。”，而不是“Les jetons (tokens) de mot de passe oublié/activation de compte sont valides (n) j…

---

## [聊天室频道的慢速模式](https://meta.discourse.org/t/slow-mode-for-a-chat-channel/323133)

<div class="topic-metadata">

**Author:** [@fbpbdmin](https://meta.discourse.org/u/fbpbdmin)\
**回覆:** 3\
**Last updated:** [2024年八月24日 13:12 UTC](https://meta.discourse.org/t/slow-mode-for-a-chat-channel/323133 "2024-08-24T13:12:27Z")

</div>

可以为聊天频道设置慢速模式，那就太好了。

---

## [编辑Discourse文档需要达到什么信任等级？](https://meta.discourse.org/t/what-trust-level-is-needed-to-edit-discourse-documentation/323165)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**回覆:** 3\
**Last updated:** [2024年八月24日 04:08 UTC](https://meta.discourse.org/t/what-trust-level-is-needed-to-edit-discourse-documentation/323165 "2024-08-24T04:08:23Z")

</div>

继续讨论 使用 Discourse 侧边栏： 我想贡献一份力量，但注意到指南不再是 wiki 了。所以我想知道需要什么信任级别才能编辑文档？谢谢。

---

## [字幕变得疯狂](https://meta.discourse.org/t/captioning-goes-nuts/323079)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 5\
**Last updated:** [2024年八月23日 20:09 UTC](https://meta.discourse.org/t/captioning-goes-nuts/323079 "2024-08-23T20:09:18Z")

</div>

我正在愉快地回复一个帖子，当我插入一张图片时，它卡了很长时间，然后出现了几十个奇怪的标题。

---

## [徽章在编辑表单中失去了它们的图片，无法编辑](https://meta.discourse.org/t/badges-lost-their-images-in-edit-forms-cannot-edit-them/322680)

<div class="topic-metadata">

**Author:** [@Shauny](https://meta.discourse.org/u/Shauny)\
**回覆:** 8\
**Last updated:** [2024年八月23日 16:59 UTC](https://meta.discourse.org/t/badges-lost-their-images-in-edit-forms-cannot-edit-them/322680 "2024-08-23T16:59:17Z")

</div>

自从我更新论坛软件后，如果我尝试编辑徽章，图像就不见了。“选择图标”被选中，如果我更改为“上传图像”，则为空。 如果我想编辑徽章，它将丢失其图像，除非我重新上传。这将是一项艰巨的任务，因为我有大量的徽章。 对此有修复方法吗？

---

## [在模板快捷键中，使用 "i" 还是 "L"？](https://meta.discourse.org/t/is-i-or-l-used-for-the-template-keyboard-shortcut/322906)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 3\
**Last updated:** [2024年八月23日 15:04 UTC](https://meta.discourse.org/t/is-i-or-l-used-for-the-template-keyboard-shortcut/322906 "2024-08-23T15:04:21Z")

</div>

通常，键盘快捷方式概述会显示小写字母，即使组合键使用了 Shift（例如，Shift + u 用于将主题标记为未读）。因此，我会将插入模板的快捷方式读作小写字母“l”。虽然只要界面语言是英语，很容易看出它是用于插入的“i”，但如果不是英语，就很难注意到。

---

## [检测附件中的秘密](https://meta.discourse.org/t/detecting-secrets-in-attachments/322660)

<div class="topic-metadata">

**Author:** [@Colin\_Mueller](https://meta.discourse.org/u/Colin_Mueller)\
**回覆:** 5\
**Last updated:** [2024年八月23日 14:51 UTC](https://meta.discourse.org/t/detecting-secrets-in-attachments/322660 "2024-08-23T14:51:09Z")

</div>

您好！ 我们运营着一个支持社区，用户经常在此上传日志文件。我们鼓励尽可能公开地进行支持讨论，只有在特殊情况下（当我们认为获取未经过滤的日志非常有价值，或者遇到我们希望尽快调试的新情况时）才会通过私信收集日志。 我们遇到了一个反复出现的问题：用户在附件中无意中暴露了“敏感信息”（令牌）。 这使我们处于一个棘手的境地。我们必须告知用户令牌泄露的问题，并教育他们安全的共享实践，同时努力在公开支持和保密性之间取得平衡（不模糊我们专业保密支…

---

## [删除徽章后显示“你没有提交你的更改！你确定要离开吗？”](https://meta.discourse.org/t/you-didnt-submit-your-changes-are-you-sure-you-want-to-leave-after-deleting-the-badge/322990)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 2\
**Last updated:** [2024年八月23日 12:58 UTC](https://meta.discourse.org/t/you-didnt-submit-your-changes-are-you-sure-you-want-to-leave-after-deleting-the-badge/322990 "2024-08-23T12:58:58Z")

</div>

继续关于通过添加图像或图标而不是两者来摆脱错误消息的讨论： 我对徽章界面进行了一些实验，遇到了另一个问题：一个损坏的徽章编辑页面停留在顶部，当我导航到其他地方时，新页面出现在那个损坏的页面下方。 我不记得我最初是如何做到这一点的。无论如何，我通过以下步骤重现了它： 创建一个新徽章 选择一个状态和一个图标 提交徽章 编辑某些内容，例如状态或徽章类型 决定你已完成测试，因此点击“删除”按钮 回答“你确定要删除徽章吗？”时选择“是” 然…

---

## [愿望清单：在小组的作业列表中显示作业评论](https://meta.discourse.org/t/wishlist-show-assignment-comment-in-groups-list-of-assignments/323062)

<div class="topic-metadata">

**Author:** [@ganncamp](https://meta.discourse.org/u/ganncamp)\
**回覆:** 0\
**Last updated:** [2024年八月23日 12:10 UTC](https://meta.discourse.org/t/wishlist-show-assignment-comment-in-groups-list-of-assignments/323062 "2024-08-23T12:10:30Z")

</div>

我们已经开始广泛使用分配。 社区经理分配给组，然后组分配给子组或个人。 大约 40% 的时间，我会在我的分配中添加一条注释以提供上下文。例如： 在我看来，在组的分配列表中显示这些注释会非常棒/有用/有帮助：

---

## [在没有回复的情况下，根据类别取消列出或归档帖子](https://meta.discourse.org/t/unlist-or-archive-a-post-when-it-has-no-reply-per-category/256176)

<div class="topic-metadata">

**Author:** [@mononym](https://meta.discourse.org/u/mononym)\
**回覆:** 9\
**Last updated:** [2024年八月23日 11:41 UTC](https://meta.discourse.org/t/unlist-or-archive-a-post-when-it-has-no-reply-per-category/256176 "2024-08-23T11:41:06Z")

</div>

您好。此功能——当某个帖子在特定类别中经过一定时间后仍无回复时将其取消列表或存档——对于防止“公告”类别（单个帖子主题）填满“最新”列表将非常有帮助。

---

## [备份/导出/导入偏好设置](https://meta.discourse.org/t/backup-export-import-preferences/254597)

<div class="topic-metadata">

**Author:** [@jidanni](https://meta.discourse.org/u/jidanni)\
**回覆:** 7\
**Last updated:** [2024年八月23日 07:38 UTC](https://meta.discourse.org/t/backup-export-import-preferences/254597 "2024-08-23T07:38:40Z")

</div>

当然，管理员会一直进行备份、导出和导入设置，https://meta.discourse.org/t/export-and-import-site-settings/148184。 但普通用户呢？ 当然，我在站点 A 上使用的偏好设置，我也可能想在站点 B 甚至站点 C 上使用。 另外，如果一个站点出现问题怎么办？我肯定希望有一个我的偏好设置的备份。 而且，应该在标准应用程序中就能找到这样的功能，而不必去寻找一些第三方版本。 嗯…

---

## [点击主题标题会跳转到第一篇文章，而不是最新回复](https://meta.discourse.org/t/clicking-on-the-topic-title-goes-to-the-first-post-not-the-most-recent/322865)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**回覆:** 2\
**Last updated:** [2024年八月23日 05:22 UTC](https://meta.discourse.org/t/clicking-on-the-topic-title-goes-to-the-first-post-not-the-most-recent/322865 "2024-08-23T05:22:54Z")

</div>

如标题所述，在这里的 Meta 上，阅读完一个主题后返回主页，再次点击该主题时，它会跳转到第一篇文章，而不是最后一篇。 但问题是，在另一个论坛上并没有出现这种情况……

---

## [头部中子类别徽章颜色不一致](https://meta.discourse.org/t/inconsistency-in-badge-color-of-subcategory-in-the-header/322893)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 2\
**Last updated:** [2024年八月22日 20:15 UTC](https://meta.discourse.org/t/inconsistency-in-badge-color-of-subcategory-in-the-header/322893 "2024-08-22T20:15:22Z")

</div>

我注意到类别徽章的颜色存在一些小的不一致之处。 通常，当显示父类别和子类别时，会在每个类别旁边添加一个相应颜色的徽章： 仅显示子类别名称的情况下，徽章由两种颜色组成： 但是，当在标题中显示主题标题时，因为您已滚动，您会看到带有其徽章的父类别以及带有包含两种颜色的徽章的子类别：

---

## [Link Click Counter 未统计内部链接点击次数或匹配不一致的 slug](https://meta.discourse.org/t/link-click-counter-not-counting-clicks-for-internal-links-or-mismatched-slugs/235434)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 1\
**Last updated:** [2024年八月22日 17:01 UTC](https://meta.discourse.org/t/link-click-counter-not-counting-clicks-for-internal-links-or-mismatched-slugs/235434 "2024-08-22T17:01:17Z")

</div>

点击计数器在某些特定情况下停止计数： 当主题标题在链接被包含在回复后被更改时（即 slug 不匹配） 例如：Replace 'Master' placeholder text for 'Main' in install theme modal 当使用了内部链接（/t/SLUG/123456) 而不是完整链接时。 例如：/t/discourse-new-user-guide/96331 之前在 Click count…

---

## [Android 上下文菜单遮挡了 Composer AI 助手](https://meta.discourse.org/t/android-context-menu-covers-up-the-composer-ai-helper/321392)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 30\
**Last updated:** [2024年八月22日 15:41 UTC](https://meta.discourse.org/t/android-context-menu-covers-up-the-composer-ai-helper/321392 "2024-08-22T15:41:54Z")

</div>

部分继续此主题：AI helper has disappeared in composer 你好 :waving\_hand: 我认为这只会影响 Android，因为上下文菜单会出现在所选文本的顶部。现在 AI 助手也出现在顶部位置，这使得它大部分时间都无法使用。 在顶行它对齐得很好，但与气泡之间缺少距离。 否则它会出现在顶部位置 谢谢 :slightly\_smiling\_face:

---

## [用户注销事件未在Webhook中触发](https://meta.discourse.org/t/user-log-out-event-not-triggered-in-webhooks/249464)

<div class="topic-metadata">

**Author:** [@regmsif](https://meta.discourse.org/u/regmsif)\
**回覆:** 2\
**Last updated:** [2024年八月22日 13:50 UTC](https://meta.discourse.org/t/user-log-out-event-not-triggered-in-webhooks/249464 "2024-08-22T13:50:17Z")

</div>

我正在将 Discourse 与 SSO 提供商集成，并且我希望使用“user\_logged\_out” webhook 在用户从 Discourse 注销时让他们注销。但是，当点击下拉菜单中的“Log Out”按钮时，注销事件并未触发。登录事件和更新事件可以正常触发。

---

## [如何在非评论帖中显示主题图](https://meta.discourse.org/t/how-to-show-topic-map-on-non-commented-posts/204222)

<div class="topic-metadata">

**Author:** [@Artem\_Gordon](https://meta.discourse.org/u/Artem_Gordon)\
**回覆:** 30\
**Last updated:** [2024年八月21日 21:47 UTC](https://meta.discourse.org/t/how-to-show-topic-map-on-non-commented-posts/204222 "2024-08-21T21:47:55Z")

</div>

Hey, for metric report purposes, I’m trying to see if there’s a setting or CSS implementation to show the topic-map for all posts (even posts that don’t have comments)? Above is a screenshot of a post not showing any…

---

## [翻译缺失：en.dashboard.problem.deprecated\_linked\_in\_auth](https://meta.discourse.org/t/translation-missing-en-dashboard-problem-deprecated-linked-in-auth/317655)

<div class="topic-metadata">

**Author:** [@BryanV](https://meta.discourse.org/u/BryanV)\
**回覆:** 11\
**Last updated:** [2024年八月21日 20:49 UTC](https://meta.discourse.org/t/translation-missing-en-dashboard-problem-deprecated-linked-in-auth/317655 "2024-08-21T20:49:26Z")

</div>

在最近更新到 3.3.0.beta5-dev (a267c0727d) 后，我在管理员仪表板中收到此持续的警告/错误（刷新无济于事）： 请注意，作为更新的一部分，我已完全删除旧的 linked up 插件，现在所有内容都显示为最新： 此外，登录时链接根本没有启用： 如何才能让此错误消息消失？

---

## [通知面板显示](https://meta.discourse.org/t/notification-panel-display/322739)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**回覆:** 0\
**Last updated:** [2024年八月21日 15:36 UTC](https://meta.discourse.org/t/notification-panel-display/322739 "2024-08-21T15:36:08Z")

</div>

当我在支持类别主题中点击我的头像时，面板没有显示。只显示通知，如下所示。 这是在 Meta 上使用 Air 主题在移动 Pixel 8 上。 与预期相比 似乎有点不一致，因为它有时在其他页面上也会出现这种情况。

---

## [被豁免监控词汇的用户](https://meta.discourse.org/t/users-exempted-from-watched-words/220991)

<div class="topic-metadata">

**Author:** [@clayg](https://meta.discourse.org/u/clayg)\
**回覆:** 4\
**Last updated:** [2024年八月21日 11:13 UTC](https://meta.discourse.org/t/users-exempted-from-watched-words/220991 "2024-08-21T11:13:07Z")

</div>

我们正在使用“监视词”功能，但我们并非监视或担心脏话或其他不当言论。相反，我们需要留意“补偿”或“薪资”等词语。这得益于管理价格操纵的反垄断法。 但是，这些词语通常可以以恰当的方式使用，而我们的总裁在帖子中经常需要使用它们。我们希望有一个可以列出“豁免监视词的用户”的地方。

---

## [当用户的帖子被暂存审核时的持久通知](https://meta.discourse.org/t/persistent-notification-for-user-when-their-post-is-held-for-approval/322659)

<div class="topic-metadata">

**Author:** [@nick3](https://meta.discourse.org/u/nick3)\
**回覆:** 0\
**Last updated:** [2024年八月21日 08:44 UTC](https://meta.discourse.org/t/persistent-notification-for-user-when-their-post-is-held-for-approval/322659 "2024-08-21T08:44:39Z")

</div>

为了对抗垃圾邮件，我将“批准帖子数”设置为了 1，这要求每个新用户的第一个帖子都必须由版主批准。但是，我注意到一个反复出现的问题：许多用户没有注意到告知他们帖子正在审核中的一次性弹出通知。 因此，我观察到许多真实的新用户因为沮丧和困惑而多次重复发布相同的内容，他们不知道自己的原始帖子正在等待批准。 虽然我们可以争辩说用户应该更仔细地查看通知，但现实情况是人们经常在不完全阅读的情况下点击弹出窗口。 与其依赖一次性的可关闭通知，一个改…

---

## [搜索结果中的{search\_term\_string}是什么](https://meta.discourse.org/t/what-is-the-search-term-string-in-search-results/175908)

<div class="topic-metadata">

**Author:** [@hyd504](https://meta.discourse.org/u/hyd504)\
**回覆:** 3\
**Last updated:** [2024年八月21日 01:11 UTC](https://meta.discourse.org/t/what-is-the-search-term-string-in-search-results/175908 "2024-08-21T01:11:16Z")

</div>

Please refer to the screenshot below:

---

## [使用 Passkey 登录失败，如果使用 Nitrokey 3A Mini 进行设置](https://meta.discourse.org/t/login-with-passkey-fails-if-setup-with-nitrokey-3a-mini/322541)

<div class="topic-metadata">

**Author:** [@thess](https://meta.discourse.org/u/thess)\
**回覆:** 0\
**Last updated:** [2024年八月20日 18:37 UTC](https://meta.discourse.org/t/login-with-passkey-fails-if-setup-with-nitrokey-3a-mini/322541 "2024-08-20T18:37:48Z")

</div>

日志中的错误： NoMethodError (undefined method hash\_function' for an instance of COSE::Algorithm::EdDSA) lib/discourse\_webauthn/authentication\_service.rb:99:in authenticate\_security\_key’ COSE 算法 Pure EdDSA 没有哈希函数，因此会出现此错误。c…

---

## [缺少翻译：en.dashboard.problem.discourse\_automation](https://meta.discourse.org/t/translation-missing-en-dashboard-problem-discourse-automation/322164)

<div class="topic-metadata">

**Author:** [@techwithanirudh](https://meta.discourse.org/u/techwithanirudh)\
**回覆:** 6\
**Last updated:** [2024年八月20日 15:57 UTC](https://meta.discourse.org/t/translation-missing-en-dashboard-problem-discourse-automation/322164 "2024-08-20T15:57:11Z")

</div>

我的仪表板上出现了一个 Translation missing: en.dashboard.problem.discourse\_automation 错误。

---

## [Discourse GIF 组件中的不可翻译错误](https://meta.discourse.org/t/untranslatable-error-in-discourse-gif-component/322506)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 0\
**Last updated:** [2024年八月20日 14:47 UTC](https://meta.discourse.org/t/untranslatable-error-in-discourse-gif-component/322506 "2024-08-20T14:47:47Z")

</div>

我认为此错误消息不可翻译 https://github.com/discourse/discourse-gifs/blob/main/javascripts/discourse/components/modal/gif.js#L67-L69

---

## [我无法在主题创建器中保存主题设置](https://meta.discourse.org/t/i-cannot-save-theme-settings-in-theme-creator/313121)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 7\
**Last updated:** [2024年八月20日 08:47 UTC](https://meta.discourse.org/t/i-cannot-save-theme-settings-in-theme-creator/313121 "2024-08-20T08:47:36Z")

</div>

点击 :white\_check\_mark: 按钮时出现错误： 控制台中的错误如下。

---

## [粘贴内容出现错误的换行](https://meta.discourse.org/t/pasted-content-gains-erroneous-line-breaks/321056)

<div class="topic-metadata">

**Author:** [@roke\_julian\_lockhart](https://meta.discourse.org/u/roke_julian_lockhart)\
**回覆:** 5\
**Last updated:** [2024年八月19日 19:48 UTC](https://meta.discourse.org/t/pasted-content-gains-erroneous-line-breaks/321056 "2024-08-19T19:48:12Z")

</div>

Bug Correct As an example, outside of a pre-existing fenced code block (\<pre\>), the undermentioned: Code #### \*\*DOCUMENT\*\* \> Add File #### \*\*API CREDENTIALS\*\* 1. \> Username 1. \> Credential 1. \> Type 1. \> File …

---

## [自动管理员设置备份](https://meta.discourse.org/t/automatic-admin-settings-backups/321654)

<div class="topic-metadata">

**Author:** [@wal](https://meta.discourse.org/u/wal)\
**回覆:** 6\
**Last updated:** [2024年八月19日 13:10 UTC](https://meta.discourse.org/t/automatic-admin-settings-backups/321654 "2024-08-19T13:10:15Z")

</div>

我们有用于 Discourse 站点自动备份的方法 https://meta.discourse.org/t/configure-automatic-backups-for-discourse/14855，也有用于将管理员设置备份到 YAML 文件的方法 Administrative Bulk Operations 如果管理员面板有一个设置可以简单地自动备份管理员设置，那就太好了。特别是如果每次更改新设置时都进行自动备份。 我明白有…

---

## [消除YouTube缩略图的黑边](https://meta.discourse.org/t/eliminate-youtube-thumbnail-black-bars/319936)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**回覆:** 5\
**Last updated:** [2024年八月19日 08:33 UTC](https://meta.discourse.org/t/eliminate-youtube-thumbnail-black-bars/319936 "2024-08-19T08:33:09Z")

</div>

YouTube 嵌入在很久以前得到了改进，方法是移除可能存在的黑色条纹。 然而，这些黑色条纹仍然存在于许多视频的缩略图中。这个问题也能得到解决吗？

[上一頁](https://meta.discourse.org/c/contribute/208.md?page=136)

[下一頁](https://meta.discourse.org/c/contribute/208.md?page=138)
