Index: trunk/phase3/includes/Article.php |
— | — | @@ -3093,13 +3093,20 @@ |
3094 | 3094 | @unlink( $cm->fileCacheName() ); |
3095 | 3095 | } |
3096 | 3096 | |
3097 | | - if( $title->getNamespace() == NS_MEDIAWIKI) { |
| 3097 | + # Messages |
| 3098 | + if( $title->getNamespace() == NS_MEDIAWIKI ) { |
3098 | 3099 | $wgMessageCache->replace( $title->getDBkey(), false ); |
3099 | 3100 | } |
| 3101 | + # Images |
3100 | 3102 | if( $title->getNamespace() == NS_IMAGE ) { |
3101 | 3103 | $update = new HTMLCacheUpdate( $title, 'imagelinks' ); |
3102 | 3104 | $update->doUpdate(); |
3103 | 3105 | } |
| 3106 | + # User talk pages |
| 3107 | + if( $title->getNamespace() == NS_USER_TALK ) { |
| 3108 | + $user = User::newFromName( $title->getText(), false ); |
| 3109 | + $user->setNewtalk( false ); |
| 3110 | + } |
3104 | 3111 | } |
3105 | 3112 | |
3106 | 3113 | /** |