Page MenuHomePhabricator

Invalidate stories cache on story deletion
Closed, ResolvedPublic

Description

When a story is deleted, its related article stories cache needs to be invalidated to prevent showing deleted stories on the article.

Event Timeline

SBisson triaged this task as Medium priority.Sep 16 2022, 5:04 PM

Change 832692 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/Wikistories@master] Invalidate cache on story deletion

https://gerrit.wikimedia.org/r/832692

Change 832692 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] Invalidate cache on story deletion

https://gerrit.wikimedia.org/r/832692

@SBisson I moved this story from Rapa Nui National Park to Batman. However, I can still see the story show up under What Links Here for Rapa Nui. The story should also be unlinked from this section, yes?

Deleting a story immediately removes it from the Wiki page.

Tested and passed.