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 "Introduce default expiry time for special:block (bug 32178)"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialBlock.php
diff --git
a/includes/specials/SpecialBlock.php
b/includes/specials/SpecialBlock.php
index
f271929
..
b6484ce
100644
(file)
--- a/
includes/specials/SpecialBlock.php
+++ b/
includes/specials/SpecialBlock.php
@@
-301,6
+301,8
@@
class SpecialBlock extends FormSpecialPage {
* @return String
*/
protected function preText(){
+ $this->getOutput()->addModules( 'mediawiki.special.block' );
+
$text = $this->msg( 'blockiptext' )->parse();
$otherBlockMessages = array();