Index: trunk/phase3/includes/Article.php |
— | — | @@ -2985,6 +2985,15 @@ |
2986 | 2986 | static function onArticleDelete( $title ) { |
2987 | 2987 | global $wgUseFileCache, $wgMessageCache; |
2988 | 2988 | |
| 2989 | + // Update existence markers on article/talk tabs... |
| 2990 | + if( $title->isTalkPage() ) { |
| 2991 | + $other = $title->getSubjectPage(); |
| 2992 | + } else { |
| 2993 | + $other = $title->getTalkPage(); |
| 2994 | + } |
| 2995 | + $other->invalidateCache(); |
| 2996 | + $other->purgeSquid(); |
| 2997 | + |
2989 | 2998 | $title->touchLinks(); |
2990 | 2999 | $title->purgeSquid(); |
2991 | 3000 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -129,6 +129,7 @@ |
130 | 130 | * (bug 1600) Strip extra == section markup == in new-comment field |
131 | 131 | * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely |
132 | 132 | * (bug 12077) Fix HTML nesting for TOC |
| 133 | +* (bug 344) Purge cache for talk/article pages when deleting the other tab |
133 | 134 | |
134 | 135 | |
135 | 136 | === API changes in 1.13 === |