From: Kunal Mehta Date: Wed, 15 Aug 2018 09:28:51 +0000 (-0700) Subject: Have WANCacheReapUpdate::getEventAffectedKeys() accept LinkTarget X-Git-Tag: 1.34.0-rc.0~4419^2 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=de9d19b481670a8226ed09e08c26bc9261722537;p=lhc%2Fweb%2Fwiklou.git Have WANCacheReapUpdate::getEventAffectedKeys() accept LinkTarget Nothing specifically requires TitleValue here. Change-Id: I62ee1995c49071db2871149b941277b29836a94a --- diff --git a/includes/deferred/WANCacheReapUpdate.php b/includes/deferred/WANCacheReapUpdate.php index 5ffc938879..74da0827de 100644 --- a/includes/deferred/WANCacheReapUpdate.php +++ b/includes/deferred/WANCacheReapUpdate.php @@ -1,5 +1,6 @@ getNamespace() >= 0 ) { - $entities[] = WikiPage::factory( Title::newFromTitleValue( $t ) ); + $entities[] = WikiPage::factory( Title::newFromLinkTarget( $t ) ); } if ( $t->inNamespace( NS_FILE ) ) {