r95774 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95773‎ | r95774 | r95775 >
Date:13:21, 30 August 2011
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up r95769: change more $object to $editpage.
Modified paths:
  • /trunk/extensions/Translate/TranslateEditAddons.php (modified) (history)

Diff [purge]

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

Follow-up revisions

RevisionCommit summaryAuthorDate
r95777Followup r95774 - more bugsnikerabbit13:33, 30 August 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95769* Annotate hook functions...nikerabbit12:41, 30 August 2011

Status & tagging log