Index: trunk/phase3/includes/Article.php |
— | — | @@ -1210,22 +1210,9 @@ |
1211 | 1211 | $wgLinkCache->clear(); |
1212 | 1212 | } |
1213 | 1213 | } |
| 1214 | + |
1214 | 1215 | # Parse the text and replace links with placeholders |
1215 | | - # Do this outside the locks on the links table |
1216 | | - # The existence test queries need to be FOR UPDATE |
1217 | | - #$oldUpdate = $wgParser->forUpdate( true ); |
1218 | 1216 | $wgOut = new OutputPage(); |
1219 | | - $wgOut->addWikiTextWithTitle( $text, $this->mTitle ); |
1220 | | - |
1221 | | - # Select for update |
1222 | | - $wgLinkCache->forUpdate( true ); |
1223 | | - |
1224 | | - # Get old version of link table to allow incremental link updates |
1225 | | - $wgLinkCache->preFill( $this->mTitle ); |
1226 | | - $wgLinkCache->clear(); |
1227 | | - |
1228 | | - # Parse the text and replace links with placeholders |
1229 | | - $wgOut = new OutputPage(); |
1230 | 1217 | |
1231 | 1218 | # Pass the current title along in case we're creating a wiki page |
1232 | 1219 | # which is different than the currently displayed one (e.g. image |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -400,6 +400,7 @@ |
401 | 401 | * (bug 2560) Don't show blank width/height attributes for missing size |
402 | 402 | * Don't show bogus messages about watchlist notifications when disabled |
403 | 403 | * Don't show old debug messages in watchlist |
| 404 | +* (bug 2576) Fix recording of transclusion links |
404 | 405 | |
405 | 406 | |
406 | 407 | === Caveats === |