r108792 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108791‎ | r108792 | r108793 >
Date:08:35, 13 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Don't try to show diff of definition if translation doesn't exist. This together with bogus entries in revtag table showd bogus definition diff texts.
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -864,7 +864,7 @@
865865 $title = $this->handle->getTitle();
866866 $key = $this->handle->getKey();
867867
868 - if ( $group instanceof WikiPageMessageGroup ) {
 868+ if ( $group instanceof WikiPageMessageGroup || !$title->exists() ) {
869869 return null;
870870 }
871871

Follow-up revisions

RevisionCommit summaryAuthorDate
r109052MFT r108608 r108660 r108792 r108815 r108816nikerabbit18:40, 16 January 2012

Status & tagging log