Page MenuHomePhabricator

API purge does not work any more
Closed, ResolvedPublic

Description

Hello. It's a couple of weeks that the API purge does not work. The scripts w:ru:User:IKhitron/purge.js and Участник:Facenapalm/purge.js do nothing. The page was purged using

new mw.Api().post({ action: 'purge', format: 'json', forcelinkupdate: 1, titles: 'משתמש:IKhitron/טיוטה' });

both the dates were updated, but the category still didn't get the page, as expected.
Thank you.

Event Timeline

Which category where? 1) a clear list of steps to reproduce, 2) actual outcome, and 3) expected outcome would be welcome.

The category Category:{{#time:H:i:s}}.

  1. Create new page (X) with a code
{{#time:H:i:s}}[[Category:{{#time:H:i:s}}]]
  1. Wait as couple of minutes.
  2. Open the console.
  3. Run
new mw.Api().post({ action: 'purge', format: 'json', forcelinkupdate: 1, titles: '<The created page name X>' });
  1. Expected and got: The page text will be updated to the API call time.
  2. Expected and got: The page category at the bottom will be updated to the API call time.
  3. Expected: the relevent category from the the previous paragraph will have the created page name X in it.
  4. Got: it is empty.

Summary: the API call does not update categories any more.

Umherirrender subscribed.

Would assume this cannot happen any longer since 62c1bd5abc0cb228c562d079aa4ec9e38208ef0e

It is also possible that the category page itself is cached and needs a purge, this is more likly when the page was empty and non-exists, because it emits 404.