r95777 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95776‎ | r95777 | r95778 >
Date:13:33, 30 August 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Followup r95774 - more bugs
Modified paths:
  • /trunk/extensions/Translate/TranslateEditAddons.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateEditAddons.php
@@ -123,7 +123,7 @@
124124 * Hook: AlternateEdit
125125 */
126126 public static function intro( $editpage ) {
127 - $object->editpage = true;
 127+ $editpage->suppressIntro = true;
128128
129129 $msg = wfMsgForContent( 'translate-edit-tag-warning' );
130130 if ( $msg !== '' && $msg !== '-' && TranslatablePage::isSourcePage( $editpage->mTitle ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95774Follow-up r95769: change more $object to $editpage.siebrand13:21, 30 August 2011

Status & tagging log