r49994 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49993‎ | r49994 | r49995 >
Date:04:00, 28 April 2009
Author:aaron
Status:ok
Tags:
Comment:
Minor cleanups
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -905,7 +905,6 @@
906906 $p['revertedEdits']++;
907907 FlaggedRevs::saveUserParams( $badrev->getRawUser(), $p );
908908 }
909 -
910909 }
911910 return true;
912911 }
@@ -1238,7 +1237,7 @@
12391238 * @param string $t timestamp of the log entry
12401239 * @return bool true
12411240 */
1242 - public static function reviewLogLine( $type='', $action='', $title=null, $paramArray=array(), &$c='', &$r='' ) {
 1241+ public static function reviewLogLine( $type='', $action='', $title=null, $paramArray=array(), &$c, &$r ) {
12431242 $actionsValid = array('approve','approve2','approve-a','approve2-a','unapprove','unapprove2');
12441243 # Show link to page with oldid=x
12451244 if( $type == 'review' && in_array($action,$actionsValid) && is_object($title) && isset($paramArray[0]) ) {
@@ -1576,6 +1575,7 @@
15771576 public static function onParserTestTables( &$tables ) {
15781577 $tables[] = 'flaggedpages';
15791578 $tables[] = 'flaggedrevs';
 1579+ $tables[] = 'flaggedpage_pending';
15801580 $tables[] = 'flaggedpage_config';
15811581 $tables[] = 'flaggedtemplates';
15821582 $tables[] = 'flaggedimages';

Status & tagging log