Brainzest has uploaded a new change for review. https://gerrit.wikimedia.org/r/166391
Change subject: Fix for bug 57964 ...................................................................... Fix for bug 57964 Change-Id: I8ea0d941530995ce22aed8e7f2c068da0c83c691 Removed else throw exception so the function call checkError for no headers inside SpecialImportTranslations.php Change-Id: I600bacbf4c2da7bcc84543360fcf7f5977bc424d --- M ffs/GettextFFS.php 1 file changed, 1 insertion(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate refs/changes/91/166391/1 diff --git a/ffs/GettextFFS.php b/ffs/GettextFFS.php index 50c0a9a..01abcc7 100644 --- a/ffs/GettextFFS.php +++ b/ffs/GettextFFS.php @@ -107,10 +107,7 @@ if ( in_array( 'fuzzy', $flags, true ) ) { $potmode = true; } - } else { - throw new MWException( "Gettext file header was not found:\n\n$data" ); - } - + } $template = array(); $messages = array(); -- To view, visit https://gerrit.wikimedia.org/r/166391 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I600bacbf4c2da7bcc84543360fcf7f5977bc424d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Brainzest <ntekri...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits