r33380 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33379‎ | r33380 | r33381 >
Date:18:08, 15 April 2008
Author:aaron
Status:old
Tags:
Comment:
Fix review links
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -2098,7 +2098,7 @@
20992099 */
21002100 public static function reviewLogLine( $type = '', $action = '', $title = null, $paramArray = array(), &$c = '', &$r = '', $t = '' ) {
21012101 # Show link to page with oldid=x
2102 - if( $type == 'review' && ($action == 'approve' || $action == 'unapprove') ) {
 2102+ if( $type == 'review' && in_array($action,array('approve','approve2','unapprove','unapprove2')) ) {
21032103 global $wgUser;
21042104 if( is_object($title) && isset($paramArray[0]) ) {
21052105 $r = '(' . $wgUser->getSkin()->makeKnownLinkObj( $title,

Status & tagging log