r89554 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89553‎ | r89554 | r89555 >
Date:09:43, 6 June 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix syntax errors from r89547
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/Thread.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/articlepages/MV_DataPage.php (modified) (history)
  • /trunk/extensions/MultilingualLiquidThreads/LiquidThreads/classes/Thread.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/Thread.php
@@ -112,7 +112,7 @@
113113 NewMessages::writeMessageStateForUpdatedThread( $thread, $change_type, $wgUser );
114114
115115 if ( $wgUser->getOption( 'lqt-watch-threads', false ) ) {
116 - WatchAction:doWatch( $thread->topmostThread()->root()->getTitle(), $wgUser );
 116+ WatchAction::doWatch( $thread->topmostThread()->root()->getTitle(), $wgUser );
117117 }
118118
119119 return $thread;
Index: trunk/extensions/MultilingualLiquidThreads/LiquidThreads/classes/Thread.php
@@ -113,7 +113,7 @@
114114 NewMessages::writeMessageStateForUpdatedThread( $thread, $change_type, $wgUser );
115115
116116 if ( $wgUser->getOption( 'lqt-watch-threads', false ) ) {
117 - WatchAction:doWatch( $thread->topmostThread()->root()->getTitle(), $wgUser );
 117+ WatchAction::doWatch( $thread->topmostThread()->root()->getTitle(), $wgUser );
118118 }
119119
120120 return $thread;
Index: trunk/extensions/MetavidWiki/includes/articlepages/MV_DataPage.php
@@ -63,9 +63,9 @@
6464 if ( $confirm ) {
6565 $this->doDelete( $reason );
6666 if ( $wgRequest->getCheck( 'wpWatch' ) ) {
67 - WatchAction:doWatch( $this->mTitle, $wgUser );
 67+ WatchAction::doWatch( $this->mTitle, $wgUser );
6868 } elseif ( $this->mTitle->userIsWatching() ) {
69 - WatchAction:doUnwatch( $this->mTitle, $wgUser );
 69+ WatchAction::doUnwatch( $this->mTitle, $wgUser );
7070 }
7171 return;
7272 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89547Use tokens where needed for WatchAction (as of r89545)...krinkle00:32, 6 June 2011

Status & tagging log