diff options
author | John Du Hart <johnduhart@users.mediawiki.org> | 2012-02-07 11:03:30 +0000 |
---|---|---|
committer | John Du Hart <johnduhart@users.mediawiki.org> | 2012-02-07 11:03:30 +0000 |
commit | 7e21d3dc8b09c0ab447750897134b96bc755fe07 (patch) | |
tree | 1ec08627bffa2c97dd1638bd8a4ae30ed6a5e6cf /includes/specials | |
parent | 1af9df02f87116d678d28b9cd474e928feebbcd3 (diff) | |
download | mediawikicore-7e21d3dc8b09c0ab447750897134b96bc755fe07.tar.gz mediawikicore-7e21d3dc8b09c0ab447750897134b96bc755fe07.zip |
Fixes Bug 34243 - [Regression] Can't navigate from Special:ListUsers/sysop to other groups
Followup r97658
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/110836
Diffstat (limited to 'includes/specials')
-rw-r--r-- | includes/specials/SpecialListusers.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/specials/SpecialListusers.php b/includes/specials/SpecialListusers.php index 1cfae55e2c4c..d743712dc99e 100644 --- a/includes/specials/SpecialListusers.php +++ b/includes/specials/SpecialListusers.php @@ -185,12 +185,13 @@ class UsersPager extends AlphabeticPager { function getPageHeader( ) { global $wgScript; - $self = $this->getTitle(); + // @todo Add a PrefixedBaseDBKey + list( $self ) = explode( '/', $this->getTitle()->getPrefixedDBkey() ); # Form tag $out = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listusers-form' ) ) . Xml::fieldset( wfMsg( 'listusers' ) ) . - Html::hidden( 'title', $self->getPrefixedDbKey() ); + Html::hidden( 'title', $self ); # Username field $out .= Xml::label( wfMsg( 'listusersfrom' ), 'offset' ) . ' ' . |