Index: trunk/extensions/Translate/Groups.php |
— | — | @@ -263,8 +263,14 @@ |
264 | 264 | |
265 | 265 | protected function parseTags( $patterns ) { |
266 | 266 | $cache = new MessageGroupCache( $this->getId() ); |
267 | | - $messageKeys = $cache->getKeys(); |
268 | 267 | |
| 268 | + if ( !$cache->exists() ) { |
| 269 | + wfWarn( "By-passing message group cache" ); |
| 270 | + $messageKeys = array_keys( $this->load( 'en' ) ); |
| 271 | + } else { |
| 272 | + $messageKeys = $cache->getKeys(); |
| 273 | + } |
| 274 | + |
269 | 275 | $matches = array(); |
270 | 276 | |
271 | 277 | /** |