Merge "Enable users to watch category membership changes #2"
[lhc/web/wiklou.git] / includes / page / WikiPage.php
index 8acb3e3..cdaab1a 100644 (file)
@@ -2182,6 +2182,9 @@ class WikiPage implements Page, IDBAccessObject {
                        $updates = $content->getSecondaryDataUpdates(
                                $this->getTitle(), null, $recursive, $editInfo->output );
                        foreach ( $updates as $update ) {
+                               if ( $update instanceof LinksUpdate ) {
+                                       $update->setRevision( $revision );
+                               }
                                DeferredUpdates::addUpdate( $update );
                        }
                }