r108496 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108495‎ | r108496 | r108497 >
Date:07:01, 10 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
* (bug 33611) Don't unconditionally suppress edit intros
Modified paths:
  • /trunk/extensions/Translate/README (modified) (history)
  • /trunk/extensions/Translate/TranslateEditAddons.php (modified) (history)

Diff [purge]

Index: trunk/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: trunk/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

Follow-up revisions

RevisionCommit summaryAuthorDate
r108497MFT r108496nikerabbit07:19, 10 January 2012

Status & tagging log