HomePhabricator

Adapt the extension to RESTBase's needs

Authored by mobrovac.

Description

Adapt the extension to RESTBase's needs

The extension monitors the following hooks:

  • ArticleEditUpdates
  • ArticleDeleteComplete
  • ArticleUndelete
  • ArticleRevisionVisibilitySet
  • TitleMoveComplete
  • FileUpload

For each case, a queue job is created invalidating RESTBase's version of
the page (by sending a request with the no-cache header). Additional
jobs are created for any dependent pages which transclude the edited or
deleted page.

Bug: T87520
Change-Id: I9814249f350e2278f3941d62255e4ee9bb89c4b1