r108497 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108496‎ | r108497 | r108498 >
Date:07:19, 10 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/Translate/README (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/Translate/TranslateEditAddons.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/Translate/TranslateEditAddons.php
@@ -124,7 +124,11 @@
125125 * Hook: AlternateEdit
126126 */
127127 public static function intro( EditPage $editpage ) {
128 - $editpage->suppressIntro = true;
 128+ $handle = new MessageHandle( $editpage->mTitle );
 129+ if ( $handle->isValid() ) {
 130+ $editpage->suppressIntro = true;
 131+ return true;
 132+ }
129133
130134 $msg = wfMsgForContent( 'translate-edit-tag-warning' );
131135
Index: branches/wmf/1.18wmf1/extensions/Translate/README
@@ -29,6 +29,9 @@
3030 http://translatewiki.net/docs/Translate/html/
3131
3232 == Change log ==
 33+* 2012-01-10
 34+- Translate extension no longer unconditionally suppresses edit intros
 35+- Fixed compatibility issue with logs on < MW 1.18
3336 * 2012-01-06
3437 - Fixes to the sizing of the translation editor dialog
3538 * 2012-01-05

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108496* (bug 33611) Don't unconditionally suppress edit introsnikerabbit07:01, 10 January 2012

Status & tagging log