Skip to content

Commit

Permalink
Fix descriptor name in pane
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentIsai authored Sep 29, 2023
1 parent 2f3432f commit 8fb42b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/Specials/SpecialManageWikiDefaultPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function buildMainView() {
$globalwiki = $this->config->get( 'CreateWikiGlobalWiki' );

$out = $this->getOutput();
$out->addModules( [ 'mediawiki.special.userrights' ] );

if ( $globalwiki == $this->config->get( 'DBname' ) ) {
$mwPermissions = new ManageWikiPermissions( 'default' );
Expand Down Expand Up @@ -102,7 +103,7 @@ public function buildMainView() {

$resetDescriptor = [];

$createDescriptor['info'] = [
$resetDescriptor['info'] = [
'type' => 'info',
'default' => $this->msg( 'managewiki-permissions-resetgroups-header' )->text(),
];
Expand Down

0 comments on commit 8fb42b9

Please sign in to comment.