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
Use OutputPage::wrapWikiTextAsInterface() to add safe <div> wrappers
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUserrights.php
diff --git
a/includes/specials/SpecialUserrights.php
b/includes/specials/SpecialUserrights.php
index
60f98f1
..
f63c884
100644
(file)
--- a/
includes/specials/SpecialUserrights.php
+++ b/
includes/specials/SpecialUserrights.php
@@
-189,7
+189,7
@@
class UserrightsPage extends SpecialPage {
return;
} else {
// Print an error message and redisplay the form
- $out->
addWikiTextAsInterface( '<div class="error">' . $status->getWikiText() . '</div>'
);
+ $out->
wrapWikiTextAsInterface( 'error', $status->getWikiText()
);
}
}
}