Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -44,11 +44,13 @@ |
45 | 45 | * @return ChangesList derivative |
46 | 46 | */ |
47 | 47 | public static function newFromUser( &$user ) { |
| 48 | + global $wgRequest; |
| 49 | + |
48 | 50 | $sk = $user->getSkin(); |
49 | 51 | $list = null; |
50 | 52 | if( wfRunHooks( 'FetchChangesList', array( &$user, &$sk, &$list ) ) ) { |
51 | | - return $user->getOption( 'usenewrc' ) ? |
52 | | - new EnhancedChangesList( $sk ) : new OldChangesList( $sk ); |
| 53 | + $new = $wgRequest->getBool( 'enhanced', $user->getOption( 'usenewrc' ) ); |
| 54 | + return $new ? new EnhancedChangesList( $sk ) : new OldChangesList( $sk ); |
53 | 55 | } else { |
54 | 56 | return $list; |
55 | 57 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -37,6 +37,8 @@ |
38 | 38 | * Support git:// and mms:// protocols by default for external links |
39 | 39 | * (bug 15810) Blocked admins can no longer unblock themselves without the |
40 | 40 | 'unblockself' permission (which they have by default) |
| 41 | +* (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced |
| 42 | + changes list |
41 | 43 | |
42 | 44 | === Bug fixes in 1.17 === |
43 | 45 | * (bug 17560) Half-broken deletion moved image files to deletion archive without |