Index: trunk/extensions/Interwiki/Interwiki_body.php |
— | — | @@ -167,7 +167,7 @@ |
168 | 168 | } |
169 | 169 | |
170 | 170 | function doSubmit() { |
171 | | - global $wgContLang; |
| 171 | + global $wgContLang, $wgMemc; |
172 | 172 | |
173 | 173 | $request = $this->getRequest(); |
174 | 174 | $prefix = $request->getVal( 'wpInterwikiPrefix' ); |
— | — | @@ -192,6 +192,7 @@ |
193 | 193 | $this->getOutput()->addWikiMsg( 'interwiki_deleted', $prefix ); |
194 | 194 | $log = new LogPage( 'interwiki' ); |
195 | 195 | $log->addEntry( 'iw_delete', $selfTitle, $reason, array( $prefix ) ); |
| 196 | + $wgMemc->delete( wfMemcKey( 'interwiki', $prefix ) ); |
196 | 197 | } |
197 | 198 | break; |
198 | 199 | case 'add': |
— | — | @@ -226,6 +227,7 @@ |
227 | 228 | $this->getOutput()->addWikiMsg( "interwiki_{$do}ed", $prefix ); |
228 | 229 | $log = new LogPage( 'interwiki' ); |
229 | 230 | $log->addEntry( 'iw_' . $do, $selfTitle, $reason, array( $prefix, $theurl, $trans, $local ) ); |
| 231 | + $wgMemc->delete( wfMemcKey( 'interwiki', $prefix ) ); |
230 | 232 | } |
231 | 233 | break; |
232 | 234 | } |