Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -405,14 +405,14 @@ |
406 | 406 | $group = $handle->getGroup(); |
407 | 407 | if ( $group instanceof WikiPageMessageGroup ) { |
408 | 408 | // WikiPageMessageGroup has different method |
409 | | - return; |
| 409 | + return true; |
410 | 410 | } |
411 | 411 | |
412 | 412 | $title = $handle->getTitle(); |
413 | 413 | $name = $handle->getKey() . '/' . $group->getSourceLanguage(); |
414 | 414 | $definitionTitle = Title::makeTitleSafe( $title->getNamespace(), $name ); |
415 | 415 | if ( !$definitionTitle || !$definitionTitle->exists() ) { |
416 | | - return; |
| 416 | + return true; |
417 | 417 | } |
418 | 418 | |
419 | 419 | $definitionRevision = $definitionTitle->getLatestRevID(); |
— | — | @@ -427,6 +427,7 @@ |
428 | 428 | ); |
429 | 429 | $index = array( 'rt_type', 'rt_page', 'rt_revision' ); |
430 | 430 | $dbw->replace( 'revtag', array( $index ), $conds, __METHOD__ ); |
| 431 | + return true; |
431 | 432 | } |
432 | 433 | |
433 | 434 | public static function preserveWhitespaces( $text ) { |