Page MenuHomePhabricator

Null Edit doesn't seem to trigger CdnCacheUpdate::purge for 1.37.2
Open, Needs TriagePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  1. Enabled debug log for [squid] at least
  2. Open any page to edit ?action=edit
  3. Save without changing any content (or add any newline at the end, as long as the edit is considered null edit)

What happens?:

  1. Observed that CdnCacheUpdate::purge is not called

What should have happened instead?:
There should be CdnCacheUpdate::purge calls, like a regular edits

[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
[squid] CdnCacheUpdate::purge: xxxxx

For reference:

  1. the purge call can be observed when using MediaWiki 1.33.3
  2. calling action=purge on the page separately correctly triggers CDN purge

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
MediaWiki 1.37.2

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper added a subscriber: aaron.

@aaron: Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on October 11th.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!