jenkins-bot has submitted this change and it was merged. Change subject: Move changeslist CSS classes from mediawiki.legacy.shared ......................................................................
Move changeslist CSS classes from mediawiki.legacy.shared Bug: T89981 Change-Id: Ifd90292fc54875403d871429ce6e5020036d4797 --- M includes/actions/HistoryAction.php M includes/specialpage/ChangesListSpecialPage.php M resources/src/mediawiki.legacy/shared.css M resources/src/mediawiki.special/mediawiki.special.changeslist.css 4 files changed, 33 insertions(+), 31 deletions(-) Approvals: Bartosz Dziewoński: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index 63fe97b..700e201 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -117,6 +117,7 @@ $out->setFeedAppendQuery( 'action=history' ); $out->addModules( 'mediawiki.action.history' ); $out->addModuleStyles( 'mediawiki.action.history.styles' ); + $out->addModuleStyles( 'mediawiki.special.changeslist' ); if ( $config->get( 'UseMediaWikiUIEverywhere' ) ) { $out = $this->getOutput(); $out->addModuleStyles( [ diff --git a/includes/specialpage/ChangesListSpecialPage.php b/includes/specialpage/ChangesListSpecialPage.php index 0966f80..0bd2932 100644 --- a/includes/specialpage/ChangesListSpecialPage.php +++ b/includes/specialpage/ChangesListSpecialPage.php @@ -477,6 +477,7 @@ // Styles and behavior for the legend box (see makeLegend()) $out->addModuleStyles( 'mediawiki.special.changeslist.legend' ); $out->addModules( 'mediawiki.special.changeslist.legend.js' ); + $out->addModuleStyles( 'mediawiki.special.changeslist' ); } protected function getGroupName() { diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index 4ff403a..73e474e 100644 --- a/resources/src/mediawiki.legacy/shared.css +++ b/resources/src/mediawiki.legacy/shared.css @@ -91,37 +91,6 @@ } } -/* Colored watchlist and recent changes numbers */ -.mw-plusminus-pos { - color: #006400; /* dark green */ -} - -.mw-plusminus-neg { - color: #8b0000; /* dark red */ -} - -.mw-plusminus-null { - color: #aaa; /* gray */ -} - -/* - * Bidi-isolate these numbers. - * See https://phabricator.wikimedia.org/T93484 - */ -.mw-plusminus-pos, -.mw-plusminus-neg, -.mw-plusminus-null { - unicode-bidi: -moz-isolate; - unicode-bidi: isolate; -} - -/* Comment portions of RC entries */ -span.comment { - font-style: italic; - unicode-bidi: -moz-isolate; - unicode-bidi: isolate; -} - /** * Add a bit of margin space between the preview and the toolbar. * This replaces the ugly <p><br /></p> we used to insert into the page source diff --git a/resources/src/mediawiki.special/mediawiki.special.changeslist.css b/resources/src/mediawiki.special/mediawiki.special.changeslist.css index bdae0dd..b27d2a5 100644 --- a/resources/src/mediawiki.special/mediawiki.special.changeslist.css +++ b/resources/src/mediawiki.special/mediawiki.special.changeslist.css @@ -15,3 +15,34 @@ .mw-changeslist .mw-title { unicode-bidi: embed; } + +/* Colored watchlist and recent changes numbers */ +.mw-plusminus-pos { + color: #006400; /* dark green */ +} + +.mw-plusminus-neg { + color: #8b0000; /* dark red */ +} + +.mw-plusminus-null { + color: #aaa; /* gray */ +} + +/* + * Bidi-isolate these numbers. + * See https://phabricator.wikimedia.org/T93484 + */ +.mw-plusminus-pos, +.mw-plusminus-neg, +.mw-plusminus-null { + unicode-bidi: -moz-isolate; + unicode-bidi: isolate; +} + +/* Comment portions of RC entries */ +span.comment { + font-style: italic; + unicode-bidi: -moz-isolate; + unicode-bidi: isolate; +} -- To view, visit https://gerrit.wikimedia.org/r/295201 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ifd90292fc54875403d871429ce6e5020036d4797 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Prtksxna <psax...@wikimedia.org> Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com> Gerrit-Reviewer: Edokter <er...@darcoury.nl> Gerrit-Reviewer: Jack Phoenix <j...@countervandalism.net> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits