Index: trunk/phase3/includes/specials/SpecialMovepage.php |
— | — | @@ -544,6 +544,13 @@ |
545 | 545 | $wgUser->removeWatch( $ot ); |
546 | 546 | $wgUser->removeWatch( $nt ); |
547 | 547 | } |
| 548 | + |
| 549 | + # Re-clear the file redirect cache, which may have been polluted by |
| 550 | + # parsing in messages above. See CR r56745. |
| 551 | + # FIXME: needs a more robust solution inside FileRepo. |
| 552 | + if( $ot->getNamespace() == NS_FILE ) { |
| 553 | + RepoGroup::singleton()->getLocalRepo()->invalidateImageRedirect( $ot ); |
| 554 | + } |
548 | 555 | } |
549 | 556 | |
550 | 557 | function showLogFragment( $title, &$out ) { |