Matmarex has uploaded a new change for review.
https://gerrit.wikimedia.org/r/71705
Change subject: ChangesList mode information as CSS class on Special:Watchlist
......................................................................
ChangesList mode information as CSS class on Special:Watchlist
Depending on local modifications some parts of the form might only be
relevant for one of the ChangesList modes.
Change-Id: I24c76d04a69e889772657939a9a478eb21f864a0
---
M includes/specials/SpecialWatchlist.php
1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/05/71705/1
diff --git a/includes/specials/SpecialWatchlist.php
b/includes/specials/SpecialWatchlist.php
index d61e1ee..473944b 100644
--- a/includes/specials/SpecialWatchlist.php
+++ b/includes/specials/SpecialWatchlist.php
@@ -244,10 +244,14 @@
}
# Create output form
+ $newrc = $this->getRequest()->getBool( 'enhanced',
$user->getOption( 'usenewrc' ) );
$form = Xml::fieldset(
$this->msg( 'watchlist-options' )->text(),
false,
- array( 'id' => 'mw-watchlist-options' )
+ array(
+ 'id' => 'mw-watchlist-options',
+ 'class' => ( $newrc ?
'mw-watchlist-options-enhanced' : 'mw-watchlist-options-old' ),
+ )
);
# Show watchlist header
--
To view, visit https://gerrit.wikimedia.org/r/71705
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I24c76d04a69e889772657939a9a478eb21f864a0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Matmarex <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits