# النقر على سجل التعديلات يعيد رسالة 'لم يتم العثور على عنوان URL أو المورد المطلوب'.

**URL:** https://meta.discourse.org/t/clicking-on-the-edit-history-returns-the-requested-url-or-resource-could-not-be-found/341999
**Category:** Support
**Created:** [12 ديسمبر 2024، 3:31ص UTC](https://meta.discourse.org/t/clicking-on-the-edit-history-returns-the-requested-url-or-resource-could-not-be-found/341999 "2024-12-12T03:31:58Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [26 ديسمبر 2025، 8:59ص UTC](https://meta.discourse.org/t/clicking-on-the-edit-history-returns-the-requested-url-or-resource-could-not-be-found/341999/8 "2025-12-26T08:59:07Z")

</div>

كانت هذه لفتة لطيفة

> <https://github.com/discourse/discourse/pull/36870>
>
> When staff adds a hidden tag to a post, a revision is created with \`hidden: true…\`. However, \`public\_version\` was being incremented regardless, causing the edit pencil icon to appear for regular users.
> 
> When users clicked the pencil, they'd get a "resource not found" error since they can't access hidden revisions. The issue would self-correct after ~12 hours when the scheduled \`ensure\_consistency!\` job ran.
> 
> This fix computes whether only hidden tags changed \*before\* incrementing \`public\_version\`, so regular users never see the misleading pencil icon in the first place. Staff still see it since they use \`version\` (not \`public\_version\`) which includes all revisions.
> 
> Ref - https://meta.discourse.org/t/341999

كانت المشكلة أننا كنا نزيد تلقائيًا `public_version` للمنشور، حتى عندما كنا سنخفي المراجعة لاحقًا في العملية لأن أحد أعضاء الفريق أضاف علامة مخفية.

ما جعل تتبعها أصعب بعض الشيء هو أننا كنا سنقوم بتصحيح `public_version` لاحقًا عندما يتم تشغيل `PostRevision.ensure_consistency!` (من المقرر تشغيله كل 12 ساعة).

---

_[View the full topic](https://meta.discourse.org/t/clicking-on-the-edit-history-returns-the-requested-url-or-resource-could-not-be-found/341999)._
