aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2023-01-12 00:25:01 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2023-01-12 00:25:01 +0000
commitcdde2e67789b42e01d4fc1506e0b0ed17c6ed160 (patch)
treeecd86ab34af17539e40513a3062439eeef3b9173
parent56fc5300f8d24edf3d9e4935a970d2c601c208d6 (diff)
parentecdf79703369c8b40928a1d57df81df204c76b3b (diff)
downloadmediawikicore-cdde2e67789b42e01d4fc1506e0b0ed17c6ed160.tar.gz
mediawikicore-cdde2e67789b42e01d4fc1506e0b0ed17c6ed160.zip
Merge "Special:Undelete needs to load module mediawiki.interface.helpers.styles"
-rw-r--r--includes/specials/SpecialUndelete.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php
index ae0b5f07b079..a0f31c4e2d84 100644
--- a/includes/specials/SpecialUndelete.php
+++ b/includes/specials/SpecialUndelete.php
@@ -523,6 +523,7 @@ class SpecialUndelete extends SpecialPage {
return;
}
$out = $this->getOutput();
+ $out->addModuleStyles( 'mediawiki.interface.helpers.styles' );
// When viewing a specific revision, add a subtitle link back to the overall
// history, see T284114
@@ -902,6 +903,7 @@ class SpecialUndelete extends SpecialPage {
if ( $this->mAllowed ) {
$out->addModules( 'mediawiki.misc-authed-ooui' );
}
+ $out->addModuleStyles( 'mediawiki.interface.helpers.styles' );
$out->wrapWikiMsg(
"<div class='mw-undelete-pagetitle'>\n$1\n</div>\n",
[ 'undeletepagetitle', wfEscapeWikiText( $this->mTargetObj->getPrefixedText() ) ]