http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73772
Revision: 73772
Author: nikerabbit
Date: 2010-09-26 13:03:16 +0000 (Sun, 26 Sep 2010)
Log Message:
-----------
Avoid Fatal when someone tries to export AggregateMessageGroup
Modified Paths:
--------------
trunk/extensions/Translate/TranslateTasks.php
Modified: trunk/extensions/Translate/TranslateTasks.php
===================================================================
--- trunk/extensions/Translate/TranslateTasks.php 2010-09-26 13:02:40 UTC
(rev 73771)
+++ trunk/extensions/Translate/TranslateTasks.php 2010-09-26 13:03:16 UTC
(rev 73772)
@@ -346,7 +346,7 @@
protected function doPaging() {}
public function output() {
- if ( $this->group instanceof FileBasedMessageGroup ) {
+ if ( $this->group instanceof MessageGroupBase ) {
$ffs = $this->group->getFFS();
$data = $ffs->writeIntoVariable( $this->collection );
} else {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs