dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "FauxRequest: don’t override getValues()"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUserrights.php
diff --git
a/includes/specials/SpecialUserrights.php
b/includes/specials/SpecialUserrights.php
index
585699d
..
28626ea
100644
(file)
--- a/
includes/specials/SpecialUserrights.php
+++ b/
includes/specials/SpecialUserrights.php
@@
-177,7
+177,9
@@
class UserrightsPage extends SpecialPage {
// save settings
if ( !$fetchedStatus->isOK() ) {
// save settings
if ( !$fetchedStatus->isOK() ) {
- $this->getOutput()->addWikiTextAsInterface( $fetchedStatus->getWikiText() );
+ $this->getOutput()->addWikiTextAsInterface(
+ $fetchedStatus->getWikiText( false, false, $this->getLanguage() )
+ );
return;
}
return;
}
@@
-208,7
+210,9
@@
class UserrightsPage extends SpecialPage {
return;
} else {
// Print an error message and redisplay the form
return;
} else {
// Print an error message and redisplay the form
- $out->wrapWikiTextAsInterface( 'error', $status->getWikiText() );
+ $out->wrapWikiTextAsInterface(
+ 'error', $status->getWikiText( false, false, $this->getLanguage() )
+ );
}
}
}
}
}
}
@@
-482,7
+486,9
@@
class UserrightsPage extends SpecialPage {
function editUserGroupsForm( $username ) {
$status = $this->fetchUser( $username, true );
if ( !$status->isOK() ) {
function editUserGroupsForm( $username ) {
$status = $this->fetchUser( $username, true );
if ( !$status->isOK() ) {
- $this->getOutput()->addWikiTextAsInterface( $status->getWikiText() );
+ $this->getOutput()->addWikiTextAsInterface(
+ $status->getWikiText( false, false, $this->getLanguage() )
+ );
return;
}
return;
}