r100516 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100515‎ | r100516 | r100517 >
Date:20:55, 22 October 2011
Author:hartman
Status:ok
Tags:
Comment:
Fix links on SpecialGlobalUsers, which were pointing to ListUsers instead of GlobalUsers.

Followup to r97658. Fixes bug 31638
Modified paths:
  • /trunk/extensions/CentralAuth/specials/SpecialGlobalUsers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/specials/SpecialGlobalUsers.php
@@ -9,7 +9,7 @@
1010 global $wgOut, $wgRequest, $wgContLang;
1111 $this->setHeaders();
1212
13 - $pg = new GlobalUsersPager();
 13+ $pg = new GlobalUsersPager( $this->getContext(), $par );
1414
1515 if ( $par ) {
1616 $pg->setGroup( $par );
@@ -33,8 +33,8 @@
3434 class GlobalUsersPager extends UsersPager {
3535 protected $requestedGroup = false, $requestedUser;
3636
37 - function __construct() {
38 - parent::__construct();
 37+ function __construct( IContextSource $context = null, $par = null ) {
 38+ parent::__construct( $context, $par );
3939 $this->mDb = CentralAuthUser::getCentralSlaveDB();
4040 }
4141

Follow-up revisions

RevisionCommit summaryAuthorDate
r104178REL1_18 MFT r100516, r103675, r104049, r104162reedy16:20, 24 November 2011
r107970MFT r100516, r103260, r103315, r103378, r103382, r104862reedy00:08, 4 January 2012
r108070r100516 didn't merge into 1.18wmf1 so well in r107970reedy19:14, 4 January 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97658* Made IndexPager extend ContextSource...ialex20:00, 20 September 2011

Status & tagging log