Index: branches/iwtransclusion/phase3/includes/Article.php |
— | — | @@ -4161,7 +4161,6 @@ |
4162 | 4162 | |
4163 | 4163 | // Invalidate caches of distant articles which transclude this page |
4164 | 4164 | $wgDeferredUpdateList[] = new HTMLCacheUpdate( $title, 'globaltemplatelinks' ); |
4165 | | - wfDoUpdates(); |
4166 | 4165 | |
4167 | 4166 | // Invalidate the caches of all pages which redirect here |
4168 | 4167 | $wgDeferredUpdateList[] = new HTMLCacheUpdate( $title, 'redirect' ); |
Index: branches/iwtransclusion/phase3/includes/BacklinkCache.php |
— | — | @@ -109,10 +109,7 @@ |
110 | 110 | |
111 | 111 | /** |
112 | 112 | * Get the distant backtemplatelinks for the table globaltemplatelinks. Cached in process memory only. |
113 | | - * @param $table String |
114 | | - * @param $startId Integer or false |
115 | | - * @param $endId Integer or false |
116 | | - * @return TitleArray |
| 113 | + * @return ResultWrapper list of distant pages that use the local title |
117 | 114 | */ |
118 | 115 | public function getDistantTemplateLinks( ) { |
119 | 116 | global $wgGlobalDatabase, $wgLocalInterwiki; |
— | — | @@ -122,8 +119,7 @@ |
123 | 120 | array( 'globaltemplatelinks' ), |
124 | 121 | array( 'gtl_from_wiki', 'gtl_from_page' ), |
125 | 122 | array( 'gtl_to_prefix' => $wgLocalInterwiki, 'gtl_to_title' => $this->title->getDBkey( ) ), |
126 | | - __METHOD__, |
127 | | - 'GROUP BY gtl_from_wiki' |
| 123 | + __METHOD__ |
128 | 124 | ); |
129 | 125 | return $res; |
130 | 126 | } |